Skip to content
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

Merged
merged 9 commits into from
Jun 19, 2019
Merged

fix -wold-style-cast #74

merged 9 commits into from
Jun 19, 2019

Conversation

FelipeLema
Copy link
Contributor

continuation of #71

@FelipeLema FelipeLema marked this pull request as ready for review May 9, 2019 14:50
@FelipeLema FelipeLema changed the title Fix dynamic cast fix -wno-old-cast May 10, 2019
@FelipeLema FelipeLema changed the title fix -wno-old-cast fix #48 May 10, 2019
@FelipeLema FelipeLema changed the title fix #48 fix -wold-style-cast May 10, 2019
@FelipeLema
Copy link
Contributor Author

fixes #48

enum.h Outdated
# endif
#endif
// msvc does not recognize `_Pragma`
#ifdef _MSC_VER
Copy link
Owner

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just updated

Copy link
Owner

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.

Copy link
Contributor Author

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
Copy link
Owner

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

crap!

just fixed

@aantron aantron merged commit 8a0d376 into aantron:master Jun 19, 2019
@aantron
Copy link
Owner

aantron commented Jun 19, 2019

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants