This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/44837] [4.5 regression?] strange #define behavior
- From: "redi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Jul 2010 12:58:52 -0000
- Subject: [Bug preprocessor/44837] [4.5 regression?] strange #define behavior
- References: <bug-44837-16054@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from redi at gcc dot gnu dot org 2010-07-06 12:58 -------
You're not supposed to define __USE_GNU yourself, see <features.h>
The macro you should define is _GNU_SOURCE, which causes glibc to define
__USE_GNU
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44837