You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
min macro is inside minwindef.h
minwindef.h is located at C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared
#ifndef min
#define min(a,b) (((a) < (b)) ? (a) : (b))
#endif
and it's conflicting with the
glm::min function
What do you suggest how should I deal with it ?
The text was updated successfully, but these errors were encountered:
Infinitusvoid
changed the title
There is an annoying macro min macro
There is an annoying min macro inside minwinddef.h that's conflicting with glm::min function
May 22, 2023
Infinitusvoid
changed the title
There is an annoying min macro inside minwinddef.h that's conflicting with glm::min function
There is an annoying min macro inside minwindef.h that's conflicting with glm::min function
May 22, 2023
Yea, soloud should not include windows.h in any public header.
as a workaround you can define NOMINMAX for the project
or just before all includes of soloud
Yea, soloud should not include windows.h in any public header. as a workaround you can define NOMINMAX for the project or just before all includes of soloud
#define NOMINMAX
Thanks this helped with #define NOMINMAX everyhing is ok thanks
When I import
if I don't import works
min macro is inside minwindef.h
minwindef.h is located at C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared
What do you suggest how should I deal with it ?
The text was updated successfully, but these errors were encountered: