You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This bug report was migrated from our old Bugzilla tracker.
Reported in version: 2.0.0 Reported for operating system, platform: Linux, x86_64
Comments on the original bug report:
On 2013-09-29 20:08:46 +0000, Jānis Rūcis wrote:
As per summary, the SDL_FORCE_INLINE macro definition causes a hard error when compiling against the ANSI C standard (GCC -ansi flag).
Here's my test case:
#include <SDL.h>
int main(int argc, char *argv[])
{
return 0;
}
gcc -ansi sdl2-test.c $(sdl2-config --cflags --libs)
In file included from /usr/include/SDL2/SDL_main.h:25:0,
from /usr/include/SDL2/SDL.h:65,
from sdl2-test.c:1:
/usr/include/SDL2/SDL_stdinc.h:258:18: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘void’
SDL_FORCE_INLINE void SDL_memset4(void *dst, int val, size_t dwords)
^
This bug report was migrated from our old Bugzilla tracker.
Reported in version: 2.0.0
Reported for operating system, platform: Linux, x86_64
Comments on the original bug report:
On 2013-09-29 20:08:46 +0000, Jānis Rūcis wrote:
On 2013-10-01 05:36:03 +0000, Sam Lantinga wrote:
The text was updated successfully, but these errors were encountered: