GDB CVS won't build on OSF4.0's cc
Andrew Cagney
ac131313@cygnus.com
Wed Mar 6 17:58:00 GMT 2002
[added insight]
> On May 29, 2001, Alexandre Oliva <aoliva@redhat.com> wrote:
>
>
>> Another problem showed up while building gdbtk. gdb/defs.h #includes
>> <stdarg.h>, but tcl/generic/tclInt.h #includes <varargs.h>, because
>> HAS_STDARG is not defined.
>
>
>> It turns out that the va_start macro defined in varargs.h ends up
>> overriding that of stdarg.h, so we call va_start with the wrong number
>> of arguments.
>
>
>> Since GDB assumes the existence of stdarg.h, I suppose this patch
>> would be acceptable. Ok to install?
>
>
> This one seems to have never been acknowledged. Ok for 5.2 and
> mainline?
I don't know that this belongs in defs.h (definitly not without a big
comment explaining the history :-). As you note, gdb doesn't include
tclInt.h, only GDBTK. I suspect gdbtk/generic/gdbtk.h or autoconf is
better?
Andrew
-------------- next part --------------
An embedded message was scrubbed...
From: Alexandre Oliva <aoliva@redhat.com>
Subject: Re: GDB CVS won't build on OSF4.0's cc
Date: 06 Mar 2002 21:12:47 -0300
Size: 4215
URL: <http://sourceware.org/pipermail/insight/attachments/20020306/1a0e6a57/attachment.eml>
More information about the Insight
mailing list