This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: expect won't build with Tru64 cc
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: Alexandre Oliva <aoliva at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com, Don Libes <libes at nist dot gov>
- Date: Wed, 06 Mar 2002 20:40:45 -0500
- Subject: Re: expect won't build with Tru64 cc
- References: <oru1rtqmb8.fsf@free.redhat.lsd.ic.unicamp.br>
> Using the following C compiler on alphaev6-dec-osf4.0f
>
> % cc -V | head -1
> DEC C V5.9-010 on Digital UNIX V4.0 (Rev. 1229)
>
> GDB won't build (both CVS and mainline). One of the reasons is that
> expect contains an ill-formed C construct that the DEC C compiler
> rejects (actually, it warns about it, but the #define fails to take
> effect). This patch fixes the problem. I don't know whether this is
> already fixed in expect upstream, so I'm Cc:ing Don Libes.
>
> GDB/expect maintainers, ok to install in mainline and 5.2 branch?
Just so I'm sure I'm not seeing anything, the problem is that the ``#''
isn't at the start of the line?
If that is the case then yes, fine. If it really is the case then I
think I'm going to have to add this to the coding standard/ARI for GDB,
it is just too wierd. (I've a fuzzy memory of seeing this before).
Andrew