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

Summary: SDL headers contain c++ style comments causing problems compiling with -ansi
Product: SDL Reporter: Hans de Goede <jwrdegoede>
Component: mainAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED DUPLICATE QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 1.2.9   
Hardware: x86   
OS: Linux   

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 ***