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
The default defines for C/C++ compilers on Windows defines "Windows" and "WIN32".
The definition of "Windows" clashes with the shldisp.h header file from the Win32 API (which is included if you try to use any shell32.dll functions) -- which results in a lot of error messages.
I know this can be resolved by overriding the default defines, but it might be worth taking into account in the future, including if, by default, defining something not in all uppercase is a good idea.
The text was updated successfully, but these errors were encountered:
@Maldivia Version 3.2.0 of the NAR plugin is imminent. Feel free to contribute a pull request if you want to see this issue fixed in that release. Thank you for your contribution!
Since noone else have commented on it previously, it doesn't seem that pressing an issue; and I don't know if people are actually using that define, and if changing that will break stuff for them.
I'll make a pull request later, then you can evaluate if it's something you think is worth changing, or if it's just something that people should keep in mind when compiling against Win32.
The default defines for C/C++ compilers on Windows defines "Windows" and "WIN32".
The definition of "Windows" clashes with the shldisp.h header file from the Win32 API (which is included if you try to use any shell32.dll functions) -- which results in a lot of error messages.
I know this can be resolved by overriding the default defines, but it might be worth taking into account in the future, including if, by default, defining something not in all uppercase is a good idea.
The text was updated successfully, but these errors were encountered: