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

ISO C++ forbids comparison between pointer and integer [-fpermissive] #5

Open
sauntheninja2 opened this issue Sep 24, 2020 · 1 comment

Comments

@sauntheninja2
Copy link

sauntheninja2 commented Sep 24, 2020

No description provided.

@mightymos
Copy link

mightymos commented Sep 26, 2020

One needs to add something like this to BoilerPlate.cmake in order to allow compilation to continue:
set(CMAKE_CXX_FLAGS "-fpermissive")

Did it this way near Line 66 in order to attempt building on Windows 7 using MSYS2:
elseif(WIN32)
set(PLATFORM_PREFIX "win32")
set(CMAKE_CXX_FLAGS "-fpermissive")

And make sure to comment out the MESSAGE(FATAL_ERROR...) line too.

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

No branches or pull requests

2 participants