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
I have a large project and wanted to use glm for our project. However, glm.hpp includes header file: #include "detail/_fixes.hpp" which undefs min and max macro. If my project using glm is included, then other projects that use the macro that comes with the windows SDK is broken. For now, i tried commenting out including _fixes.hpp and renamed the min function usage inside of glm. And everything seems to compile fine. Could you suggest if theres something that can be done on your side, or anything that can be done on my side so that i dont need to edit glm headers?
Thank you,
Sid
The text was updated successfully, but these errors were encountered:
Hi,
I use windows 7 x64, visual studio 2012.
I have a large project and wanted to use glm for our project. However, glm.hpp includes header file: #include "detail/_fixes.hpp" which undefs min and max macro. If my project using glm is included, then other projects that use the macro that comes with the windows SDK is broken. For now, i tried commenting out including _fixes.hpp and renamed the min function usage inside of glm. And everything seems to compile fine. Could you suggest if theres something that can be done on your side, or anything that can be done on my side so that i dont need to edit glm headers?
Thank you,
Sid
The text was updated successfully, but these errors were encountered: