This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: ada/6159: __builtin_va_list definition not generated in output of cpp
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 3 Apr 2002 20:16:03 -0000
- Subject: Re: ada/6159: __builtin_va_list definition not generated in output of cpp
- Reply-to: Daniel Jacobowitz <drow at mvista dot com>
The following reply was made to PR ada/6159; it has been noted by GNATS.
From: Daniel Jacobowitz <drow@mvista.com>
To: pingchew99@yahoo.com
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: ada/6159: __builtin_va_list definition not generated in output of cpp
Date: Wed, 3 Apr 2002 15:09:16 -0500
On Wed, Apr 03, 2002 at 07:57:58PM -0000, pingchew99@yahoo.com wrote:
>
> >Number: 6159
> >Category: ada
> >Synopsis: __builtin_va_list definition not generated in output of cpp
> >Confidential: no
> >Severity: serious
> >Priority: medium
> >Responsible: unassigned
> >State: open
> >Class: support
> >Submitter-Id: net
> >Arrival-Date: Wed Apr 03 12:06:00 PST 2002
> >Closed-Date:
> >Last-Modified:
> >Originator: Ping Chew
> >Release: gcc 2.96
> >Organization:
> >Environment:
> Mandrake Linux
> >Description:
> The test file test.c has one line:
> #include <stdio.h>.
> When the above file is pre-processed to produce testout using the command:
> cc -E test.c>testout.
> The testout contains the following statement:
> typedef __builtin_va_list __gnuc_va_list
> without any definition of __builtin_va_list. It appears that __builtin_va_list is generated by gcc but is not written to testout. This creates a problem for pre-processor that analyses the output file. Is there an option like -dM that will output all macros?
__builtin_va_list is a builtin type, not a macro. Much like how "int" is
not a macro... GCC will provide it.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer