bug-ddd
[Top][All Lists]
Advanced

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

Building DDD-3.2.1 and 3.2.91


From: Keith Curtis
Subject: Building DDD-3.2.1 and 3.2.91
Date: Tue, 14 Nov 2000 10:29:32 -0800

Greetings,

        Just wanted to let you know that ddd/PannedGE.C will not build under
g++ 2.96 
(default for c++ under RH 7, lesstif -0.91.21), the error message is

c++  -DHAVE_CONFIG_H -DNDEBUG -O2 -g -W -Wall -trigraphs  -c -I. -I. -I./..
-isystem
 /usr/local/lesstif/include -isystem /usr/X11R6/include -o PannedGE.o
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 `/usr/local/src/ddd-3.2.1/ddd'
make: *** [all] Error 1

I was able to determine that for some reason, g++ didn't like
portholeWidgetClass being statically initialized for
PannedGraphEditClassRec's data member core_class.superclass (which is of
type WidgetClass, the exact same
as portholeWidgetClass).


(For DDD-3.2.1) However it will build that file under egcs 2.91.66.  I tried
putting egcs in the configure script, but that failed as
it supposedly would not pass the test to build a simple program.  But by
using egcs to build that one file, and using
g++ everywhere else, seemed to work as it will now link & run.

Sincerely,
        Keith Curtis




reply via email to

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