This is the mail archive of the gcc@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: va_start still...


On Sat, Aug 24, 2002 at 12:36:24AM -0400, pbleyer wrote:
> On Friday 23 August 2002 23:45, you wrote:
> > On Fri, Aug 23, 2002 at 11:43:05PM -0400, Pablo Bleyer Kocik wrote:
> > >  Hello.
> > >
> > >  I thought this was being fixed in 3.2, but I am still getting
> > > "'va_start' used in function with fixed args" under gcc 3.2 with
> > > optimization levels above 2 when compiling functions with ellipses. Is
> > > this right?
> >
> > Post a test case, please.
> >
> > zw
> 
>  Hello. Thanks for replying.
> 
>  I can't replicate the problem with small examples, but the error happens to 
> me compiling apps like ethereal-0.9.5 (eg packet-esis.c file) and xemacs.
>
> Example:
> 
> make[2]: Entering directory `/dta/build/ethereal-0.9.5'
> gcc -DHAVE_CONFIG_H -I. -I. -I.   -I. -I./wiretap -I/usr/local/include 
> -I/usr/include/pcap -I/usr/local/include/pcap  -DINET6 
> -D_U_="__attribute__((unused))" -Wall -W -O9 -march=pentium3 
> -fomit-frame-pointer -I/usr/include/net -I. -I./wiretap -I/usr/local/include 
> -I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2 
> -I/usr/local/lib/glib/include -I/usr/X11R6/include -I/usr/include/pcap 
> -I/usr/local/include/pcap -c packet-esis.c

Repeat this exact command with -v -save-temps added to the command
line.  Send us the complete output, and the file packet-esis.i which
will be created.

zw


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