-
-
Notifications
You must be signed in to change notification settings - Fork 173
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
fix -wold-style-cast
#74
Conversation
fixes #48 |
enum.h
Outdated
# endif | ||
#endif | ||
// msvc does not recognize `_Pragma` | ||
#ifdef _MSC_VER |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should be #else
, since we need the macros defined (expanding to nothing, as below) for all other compilers, not just MSVC.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just updated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe you updated the wrong #ifdef
, one of the ones below here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
woops, it should be fixed now
enum.h
Outdated
@@ -37,7 +61,7 @@ | |||
# endif | |||
#endif | |||
|
|||
#ifdef _MSC_VER | |||
#ifdef _MSVC_VER |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be _MSC_VER
, not _MSVC_VER
, i.e. there should be no diff on this line.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
crap!
just fixed
Thanks! |
continuation of #71