Re: Failed to compile SDL2 with GCC 5.3.0/6.2.0 (SDL_bool prob)
"Ryan C. Gordon" <[email protected]>
| Newsgroups | gmane.comp.lib.sdl |
|---|---|
| Organization | icculus.org |
| Message-ID | <[email protected]> |
> Code: > src/SDL.c:84:12: error: cannot initialize return object of type > 'SDL_bool' with an rvalue of type 'bool' > return (SDL_SubsystemRefCount[subsystem_index] == 0); Just a guess here, but maybe compile with "-std=c99" ? --ryan.