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.
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.