msgpack-c
msgpack-c copied to clipboard
MSVC versioning issues
Hello. There's some macro definition issues with MSVC, because __cplusplus returns 199711L even for CPP17. _MSVC_LANG should be used for CPP14+.
I checked C++ standard and MSVC reports incorrect value:
But... it's known bug, that you have to "fix" with /Zc:__cplusplus
flag: https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/ - this is fucking ridiculous.