Closed easymoney322 closed 3 weeks ago
This line https://github.com/troldal/OpenXLSX/blob/d1896fb9ef707e390873c38d015246e8af80d088/OpenXLSX/headers/XLSharedStrings.hpp#L64 causes the error Error C2589: '(' : illegal token on right side of '::' if the Windows.h is included.
Error C2589: '(' : illegal token on right side of '::'
It's a known problem. I suggest wrapping it arround with parentheses, which resolves the problem. The other option is using #undef.
#undef
Oh wow - that's a bad messup on windows side. I wouldn't have guessed this. Thank you very much - I'll fix it ASAP. Next answer in your pull request.
This line https://github.com/troldal/OpenXLSX/blob/d1896fb9ef707e390873c38d015246e8af80d088/OpenXLSX/headers/XLSharedStrings.hpp#L64 causes the error
Error C2589: '(' : illegal token on right side of '::'
if the Windows.h is included.It's a known problem. I suggest wrapping it arround with parentheses, which resolves the problem. The other option is using
#undef
.