Re: Failed to compile SDL2 with GCC 5.3.0/6.2.0 (SDL_bool prob)

"NetCraft" <[email protected]>
Newsgroups gmane.comp.lib.sdl
Message-ID <[email protected]>
Oh sorry. That was NOT gcc. I compile SDL with the params:


Code:
$ g++ -std=c++11 -g -Wall SDL.c



But when I get a version of that G++ I get following:

Code:
$ g++ -v
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/c++/4.2.1
Apple LLVM version 8.0.0 (clang-800.0.42.1)
Target: x86_64-apple-darwin16.1.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin


I think it's Apple's LLVM pretending to be a GCC. Crazy system... but that's what I have.

Any ideas?

_______________________________________________
SDL mailing list
[email protected]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.