1
0
mirror of https://github.com/Relintai/sdl2_frt.git synced 2024-12-25 09:17:12 +01:00
sdl2_frt/Xcode-iOS
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
..
Demos Fixed bug 3517 - Compiler warnings with gcc -Wstrict-prototypes 2016-12-26 02:12:21 -08:00
SDL/SDL.xcodeproj xcode: Make sure SDL_dataqueue sources are included in all targets. 2016-12-06 13:33:02 -05:00
SDLtest/SDL2test.xcodeproj Initial Apple TV / tvOS support. 2016-09-13 22:18:06 -03:00
Template/SDL iOS Application Added initial support for MFi game controllers on iOS. 2015-09-20 23:08:36 -03:00
Test CoreAudio iOS/tvOS: Use AVFoundation instead of AudioSession. Fixes audio on tvOS. 2016-09-15 19:59:57 -03:00