-
Notifications
You must be signed in to change notification settings - Fork 27
Does not seem to compile in VS2019 #31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Sorry the response has been a long time coming; I had a kid and bought a house so the last 3 months were hectic. The windows situation for wise enum has always had issues, windows pre-processor and compiler are the least compliant (IME) and I can't really easily debug it myself. If you are interested in working together a bit on the windows issues, I'll be able to be more responsive and we can work through figuring out what's causing the issues. |
This is fixed in merge request #45 |
I'm going to close this for now since it seems to now compile according to the CI (thanks to @samangh 's amazing work). However, I would encourage @martinfinke or anyone else to reopen this issue if it still does not work. |
I can't get wise_enum to work in Visual Studio 2019 16.1.4..I'm using version 3.0.0.
My code:
WISE_ENUM(MyEnum, MyEnumCaseOne, MyEnumCaseTwo)
Error output:
I've tried adding the
/permissive-
compiler flag, but I still get the same errors. I've also tried runningcreate_generated.py
to generate just 125 cases, but still get the same error.Thank you again for the great work, and any help would be appreciated 😊
The text was updated successfully, but these errors were encountered: