sdl2_frt/src/core/linux
Sam Lantinga b4e069e7f8 Fixed bug 3517 - Compiler warnings with gcc -Wstrict-prototypes
felix

Compiling even a simple SDL2 'hello world' program with gcc -Wstrict-prototypes (GCC 6.2.1) results in warnings like:

/usr/include/SDL2/SDL_gamecontroller.h:143:1: attention : function declaration isn't a prototype [-Wstrict-prototypes]
 extern DECLSPEC int SDLCALL SDL_GameControllerNumMappings();
 ^~~~~~

It seems there is a missing 'void' between the parentheses.
2016-12-26 02:12:21 -08:00
..
SDL_dbus.c Avoid conflicts with multiple versions of udev by first trying the library that is linked with the executable, if any, and then picking the one that is in the build environment. 2016-11-29 05:34:20 -08:00
SDL_dbus.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_evdev.c Fixed bug 3473 - can't build on linux with an old kernel 2016-11-01 10:33:44 -07:00
SDL_evdev.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_fcitx.c Fixed bug 3517 - Compiler warnings with gcc -Wstrict-prototypes 2016-12-26 02:12:21 -08:00
SDL_fcitx.h Fixed bug 3517 - Compiler warnings with gcc -Wstrict-prototypes 2016-12-26 02:12:21 -08:00
SDL_ibus.c Avoid conflicts with multiple versions of udev by first trying the library that is linked with the executable, if any, and then picking the one that is in the build environment. 2016-11-29 05:34:20 -08:00
SDL_ibus.h Fixed bug 3517 - Compiler warnings with gcc -Wstrict-prototypes 2016-12-26 02:12:21 -08:00
SDL_ime.c Avoid conflicts with multiple versions of udev by first trying the library that is linked with the executable, if any, and then picking the one that is in the build environment. 2016-11-29 05:34:20 -08:00
SDL_ime.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_udev.c Avoid conflicts with multiple versions of udev by first trying the library that is linked with the executable, if any, and then picking the one that is in the build environment. 2016-11-29 05:34:20 -08:00
SDL_udev.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00