Hi,
SDL_stdinc.h contains comments with // - could you please convert this
to /* comment */ ? otherwise we can’t compile in ansi mode.
Greetings
Martin–
Martin Gerhardy <@Martin_Gerhardy>
-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20080704/a0a079d7/attachment.pgp
SDL_stdinc.h contains comments with // - could you please convert this
to /* comment */ ? otherwise we can’t compile in ansi mode.
Just by curiosity, what compiler/platform are you having this problem
on? Do you have a C++ available to you?
Thank you!On Fri, Jul 4, 2008 at 9:01 AM, Martin Gerhardy <martin.gerhardy at gmail.com> wrote:
–
http://pphaneuf.livejournal.com/
$ gcc --version
gcc (GCC) 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
Copyright © 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
I’m compiling with gcc -ansi
MartinAm Freitag, den 04.07.2008, 09:53 -0400 schrieb Pierre Phaneuf:
Just by curiosity, what compiler/platform are you having this problem
on? Do you have a C++ available to you?
–
http://ufoai.sf.net
-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20080704/1219259c/attachment.pgp
$ gcc --version
gcc (GCC) 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
I’m compiling with gcc -ansi
Oh, I thought you were actually developing on some odd platform. Why
are you using this flag exactly? You could also give -std=c99 a try
instead.On Fri, Jul 4, 2008 at 10:37 AM, Martin Gerhardy <martin.gerhardy at gmail.com> wrote:
–
http://pphaneuf.livejournal.com/
I see no reason why SDL should require C99. If this header file is the
exception to the rule, it should be changed, IMO.On Fri, Jul 4, 2008 at 3:58 PM, Pierre Phaneuf wrote:
Oh, I thought you were actually developing on some odd platform. Why
are you using this flag exactly? You could also give -std=c99 a try
instead.
I see no reason why SDL should require C99. If this header file is the
exception to the rule, it should be changed, IMO.
From looking at the SDL source code, I’d say that it would be more
accurate to say that SDL expects either GCC or Visual Studio with a
"typical" set of flags (in their default “extended” mode). I, for one,
wouldn’t want to try SDL out with xlc or something, but then, I’d
rather not do anything with xlc.On Fri, Jul 4, 2008 at 11:06 AM, Brian <brian.ripoff at gmail.com> wrote:
–
http://pphaneuf.livejournal.com/
sdl is and should be simple enough that it works with -std=ansi or
-std=c99.
mattOn Fri, 4 Jul 2008, Brian wrote:
I see no reason why SDL should require C99. If this header file is the
exception to the rule, it should be changed, IMO.
On Fri, Jul 4, 2008 at 3:58 PM, Pierre Phaneuf wrote:
Oh, I thought you were actually developing on some odd platform. Why
are you using this flag exactly? You could also give -std=c99 a try
instead.
Hi,
SDL_stdinc.h contains comments with // - could you please convert this
to /* comment */ ? otherwise we can’t compile in ansi mode.
This is fixed in subversion, thanks!
-Sam Lantinga, Lead Software Engineer, Blizzard Entertainment