![]() |
Failed to compile SDL2 with GCC 5.3.0/6.2.0 (SDL_bool prob) | ![]() |
![]() |
![]() |
NetCraft
![]() |
![]() |
Oh sorry. That was NOT gcc. I compile SDL with the params:
But when I get a version of that G++ I get following:
I think it's Apple's LLVM pretending to be a GCC. Crazy system... but that's what I have. Any ideas? |
||||||||||||||
|
![]() |
![]() |
NetCraft
![]() |
![]() |
In other words I have a problem with these two functions in SDL.c:
|
||||||||||||
|
![]() |
![]() |
NetCraft
![]() |
![]() |
Well. I've written some little patch :)
|
||||||||||||
|
![]() |
Failed to compile SDL2 with GCC 5.3.0/6.2.0 (SDL_bool prob) | ![]() |
Ryan C. Gordon
Guest
![]() |
![]() |
Just a guess here, but maybe compile with "-std=c99" ? --ryan. _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
||||||||||||
|
![]() |
Failed to compile SDL2 with GCC 5.3.0/6.2.0 (SDL_bool prob) | ![]() |
Ryan C. Gordon
Guest
![]() |
![]() |
Just a guess here, but maybe compile with "-std=c99" ? --ryan. _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
||||||||||||
|
![]() |
Failed to compile SDL2 with GCC 5.3.0/6.2.0 (SDL_bool prob) | ![]() |
Ryan C. Gordon
Guest
![]() |
![]() |
It does that, but it's the "-std=c++11" that's causing you problems; you're compiling C code as C++. You probably shouldn't do that even if it mostly seems to work. --ryan. _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
||||||||||||
|