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

Build with Visual Studio 14 2015: symbol name conflict #156

Closed
pauloscustodio opened this issue Nov 2, 2016 · 1 comment

Comments

@pauloscustodio
Copy link
Contributor

commented Nov 2, 2016

Constant INFINITY defined in fillpoints.cc conflicts with macro defined in math.h in Visual C++ and build fails.

pauloscustodio added a commit to pauloscustodio/re2c that referenced this issue Nov 2, 2016

Fix skvadrik#156
Rename INFINITY to INFINITE so that it does not clash with infinity from
the MS C++ library.

@skvadrik skvadrik closed this in c428429 Nov 3, 2016

@skvadrik

This comment has been minimized.

Copy link
Owner

commented Nov 3, 2016

Fixed in #157, thanks @pauloscustodio !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.