Severity Code Description Project File Line Suppression State
Error C2589 '(': illegal token on right side of '::' ocean_optics C:\Users\Public\HgRepos\telestar_plus_integration\yaml_dependencies\include\ryml.hpp 10658
This is probably because the windows SDK defines min to be:
#define min ((a > b) ? b : a))
This preprocessor definition clobbers min regardless of namespacing.
I've already tried defining NOMINMAX in the build properties, which is supposed to fix this issue. It doesn't seem to have an effect.
Using single header configuration, Visual Studio 2019.
On line
10658
of ryml.hpp:This generates the error:
This is probably because the windows SDK defines
min
to be:This preprocessor definition clobbers
min
regardless of namespacing.I've already tried defining
NOMINMAX
in the build properties, which is supposed to fix this issue. It doesn't seem to have an effect.