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
So, I have recently run into a very interesting situation when trying to compile robin-map on windows with MSVC.
If I try to compile robin-map by itself I can compile successfully, but if I include robin-map via cmake FETCH on my current project I get over 140 errors that is directly tied to my project including Windows.h and I believe it might be related to the use of min and max in the library.
Hello,
So, I have recently run into a very interesting situation when trying to compile robin-map on windows with MSVC.
If I try to compile robin-map by itself I can compile successfully, but if I include robin-map via cmake FETCH on my current project I get over 140 errors that is directly tied to my project including Windows.h and I believe it might be related to the use of min and max in the library.
Here is a related link that might present a better picture of what I believe the issue is: https://belaycpp.com/2021/05/11/windows-h-breaks-the-stl-and-my-will-to-live/
The text was updated successfully, but these errors were encountered: