This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ada/6159: __builtin_va_list definition not generated in output of cpp


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]