<URL: http://bugs.freeciv.org/Ticket/Display.html?id=29557 >
> [dmarks - Sa 23. Dez 2006, 04:45:07]: > > On 12/22/06, Christian Prochaska <[EMAIL PROTECTED]> wrote: > > > > <URL: http://bugs.freeciv.org/Ticket/Display.html?id=29557 > > > > > > [cproc - Fr 22. Dez 2006, 04:32:52]: > > > > > > You can compile it with > > > "gcc `pkg-config --cflags sdl` `pkg-config --libs sdl` > > > -o sdl-crashtest sdl-crashtest.c" > > > > > > > Or better use sdl-config instead of pkg-config: > > > > "gcc `sdl-config --cflags` `sdl-config --libs` -o sdl-crashtest > > sdl-crashtest.c" > > > > It fails with: > > sdl-crashtest.c: In function `SDL_main': > sdl-crashtest.c:4: error: number of arguments doesn't match prototype > /usr/local/include/SDL/SDL_main.h:53: error: prototype declaration > > --Daniel > Ok, this one should compile.
sdl-crashtest.c
Description: Binary data
_______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev