public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/2082
@ 2001-04-01  0:00 L. David Baron
  0 siblings, 0 replies; 2+ messages in thread
From: L. David Baron @ 2001-04-01  0:00 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/2082; it has been noted by GNATS.

From: "L. David Baron" <dbaron@fas.harvard.edu>
To: dbaron@fas.harvard.edu, gcc-gnats@gcc.gnu.org, neil@gcc.gnu.org,
        nobody@gcc.gnu.org
Cc:  
Subject: Re: c++/2082
Date: Sat, 24 Feb 2001 10:46:53 -0500 (EST)

 g++ -E -dD test.cpp shows output beginning with:
 
 
 # 1 "test.cpp"
 #define __VERSION__ "3.0 20010222 (prerelease)"
 # 1 "test.cpp"
 #define __USER_LABEL_PREFIX__
 # 1 "test.cpp"
 #define __REGISTER_PREFIX__
 # 1 "test.cpp"
 #define __HAVE_BUILTIN_SETJMP__ 1
 # 1 "test.cpp"
 #define __SIZE_TYPE__ unsigned int
 # 1 "test.cpp"
 #define __PTRDIFF_TYPE__ int
 # 1 "test.cpp"
 #define __WCHAR_TYPE__ long int
 # 1 "test.cpp"
 #define __WINT_TYPE__ unsigned int
 # 1 "test.cpp"
 #define __cplusplus 1
 # 1 "test.cpp"
 #define _GNU_SOURCE 1
 # 1 "test.cpp"
 #define __GNUG__ 3
 # 1 "test.cpp"
 #define __EXCEPTIONS 1
 # 1 "test.cpp"
 #define __GXX_ABI_VERSION 100
 # 1 "test.cpp"
 #define __GNUC__ 3
 # 1 "test.cpp"
 #define __GNUC_MINOR__ 0
 # 1 "test.cpp"
 #define __GNUC_PATCHLEVEL__ 0
 # 1 "test.cpp"
 #define __ELF__ 1
 # 1 "test.cpp"
 #define unix 1
 # 1 "test.cpp"
 #define linux 1
 # 1 "test.cpp"
 #define __ELF__ 1
 # 1 "test.cpp"
 #define __unix__ 1
 # 1 "test.cpp"
 #define __linux__ 1
 # 1 "test.cpp"
 #define __unix 1
 # 1 "test.cpp"
 #define __linux 1
 # 1 "test.cpp"
 #define __STDC_HOSTED__ 1
 # 1 "test.cpp"
 #define i386 1
 # 1 "test.cpp"
 #define __i386 1
 # 1 "test.cpp"
 #define __i386__ 1
 # 1 "test.cpp"
 #define __tune_i686__ 1
 # 1 "test.cpp"
 #define __tune_pentiumpro__ 1
 # 1 "/usr/include/stdio.h" 1 3
 ...
 
 
 That makes it seem like _GNU_SOURCE is *not* coming from a header file.
 So where is it coming from?
 
 -David


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: c++/2082
@ 2001-04-27  8:06 nathan
  0 siblings, 0 replies; 2+ messages in thread
From: nathan @ 2001-04-27  8:06 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/2082; it has been noted by GNATS.

From: nathan@gcc.gnu.org
To: dbaron@fas.harvard.edu, gcc-gnats@gcc.gnu.org, nobody@gcc.gnu.org
Cc:  
Subject: Re: c++/2082
Date: 27 Apr 2001 14:58:10 -0000

 Synopsis: g++ defines _GNU_SOURCE by default
 
 State-Changed-From-To: open->closed
 State-Changed-By: nathan
 State-Changed-When: Fri Apr 27 10:58:10 2001
 State-Changed-Why:
     there are good reasons. basically the standard template
     library requires featyures.h to have been processed with
     the correct switches. We hae no control as to when that
     file is read in (user include order).
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=2082&database=gcc


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-04-27  8:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-01  0:00 c++/2082 L. David Baron
2001-04-27  8:06 c++/2082 nathan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).