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 915

Summary: Please avoid to use -D_GNU_SOURCE=1 in SDL cflags
Product: SDL Reporter: stefasab
Component: buildAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: vr5
Version: HG 2.0   
Hardware: All   
OS: Linux   

Description stefasab 2009-12-24 03:18:51 UTC
sdl-config --cflags
-I/home/USER/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT

GNU-isms should be avoided wherever possible for portability, please avoid the use of GNU-isms in your code, this may be problematic when using this library in projects which use non-GNU-compliant compilers.
Comment 1 Sam Lantinga 2009-12-30 11:42:05 UTC
This is fixed in revision 5440, thanks!
Comment 2 stefasab 2009-12-30 15:11:20 UTC
Thanks!