This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/2082
- To: nobody at gcc dot gnu dot org
- Subject: Re: c++/2082
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Date: 24 Feb 2001 16:06:01 -0000
- Cc: gcc-prs at gcc dot gnu dot org,
- Reply-To: Neil Booth <neil at daikokuya dot demon dot co dot uk>
The following reply was made to PR c++/2082; it has been noted by GNATS.
From: Neil Booth <neil@daikokuya.demon.co.uk>
To: "L. David Baron" <dbaron@fas.harvard.edu>
Cc: gcc-gnats@gcc.gnu.org, neil@gcc.gnu.org, nobody@gcc.gnu.org
Subject: Re: c++/2082
Date: Sat, 24 Feb 2001 15:58:02 +0000
Hi David,
My apologies, you are right. I'll reopen the report.
Neil.
L. David Baron wrote:-
> 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