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 - Please avoid to use -D_GNU_SOURCE=1 in SDL cflags
Summary: Please avoid to use -D_GNU_SOURCE=1 in SDL cflags
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: build (show other bugs)
Version: HG 2.0
Hardware: All Linux
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-24 03:18 UTC by stefasab
Modified: 2009-12-30 15:11 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!