ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compilation of ddd failed


From: Andreas Zeller
Subject: Re: compilation of ddd failed
Date: 28 Nov 2000 08:27:40 +0100
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)

Hi!

Bernhard Mogens Ege <address@hidden> writes:

> compilation of ddd failed with this message:
> 
> c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem /usr/X11R6/include    
> -DNDEBUG -O2 -g -W -Wall -trigraphs  -c PannedGE.C
> PannedGE.C: In function `void __static_initialization_and_destruction_0 
> (int, int)':
> PannedGE.C:88: non-lvalue in unary `&'
> make[1]: *** [PannedGE.o] Error 1
> make[1]: Leaving directory `/pack-linux86/ddd-3.2.91/src/ddd-3.2.91/ddd'
> make: *** [all-recursive] Error 1
> 
> I have tried changing _GraphEditClassRec to _PannedGraphEditClassRec
> in ddd/PannedGEP.h as suggested by Andreas
> (address@hidden) but that did not have any effect on
> the error. I am using gcc v2.96 (as supplied with RedHat 7.0).

This is due to a bug in GCC.  (It isn't in GCC 2.95.2 or earlier, nor
in the current GCC snapshot.)  If someone knows a way to work around
this (other than the one suggested above), I'll be happy to include it
into DDD.

Greetings,

Andreas

-- 
Andreas Zeller     Universitaet Passau
                   http://www.fmi.uni-passau.de/st/staff/zeller/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]