We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 524 - SDL headers contain c++ style comments causing problems compiling with -ansi
Summary: SDL headers contain c++ style comments causing problems compiling with -ansi
Status: RESOLVED DUPLICATE of bug 474
Alias: None
Product: SDL
Classification: Unclassified
Component: main (show other bugs)
Version: 1.2.9
Hardware: x86 Linux
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-21 03:59 UTC by Hans de Goede
Modified: 2007-12-28 00:32 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans de Goede 2007-12-21 03:59:55 UTC
While building a package for Fedora today I got lots and lots of these warnings during the build:
/usr/include/SDL/begin_code.h:94:8: warning: extra tokens at end of #endif directive

This is caused by this line:
#endif //__SYMBIAN32__

Notice the c++ style comment, please change this (and the one the line above) to normal C comments.
Comment 1 Sam Lantinga 2007-12-27 23:50:27 UTC
This has been fixed in SDL 1.2 for a long time. :)
Comment 2 Hans de Goede 2007-12-28 00:32:37 UTC
Well depends on what you call a long time, I've verified its indeed fixed in svn, but there hasn't been an actual release fixing this.

And checking svn, I see that this actually is a dup of bug 474, reopening to close as such.
Comment 3 Hans de Goede 2007-12-28 00:32:50 UTC

*** This bug has been marked as a duplicate of bug 474 ***