bug-ddd
[Top][All Lists]
Advanced

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

[ ddd-Patches-895199 ] g++3.3 fails to compile ddd-3.3.8 in PannedGE.C


From: SourceForge.net
Subject: [ ddd-Patches-895199 ] g++3.3 fails to compile ddd-3.3.8 in PannedGE.C
Date: Wed, 11 Feb 2004 14:01:45 -0800

Patches item #895199, was opened at 2004-02-11 23:01
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=307500&aid=895199&group_id=7500

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: alexmalk (alexmalk)
Assigned to: Nobody/Anonymous (nobody)
Summary: g++3.3 fails to compile ddd-3.3.8 in PannedGE.C

Initial Comment:
My gcc spec is
line:/tmp/soft/ddd-3.3.8> gcc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/3.3/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang
--prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.3
--enable-shared --with-system-zlib --enable-nls
--without-included-gettext --enable-__cxa_atexit
--enable-clocale=gnu --enable-debug
--enable-java-gc=boehm --enable-java-awt=xlib
--enable-objc-gc
i386-linux
Thread model: posix
gcc version 3.3 (Debian)


Problem: after
./configure --prefix=$HOME/usr/local
and the subsequent
make
he told after some work
...
g++-3.3 -DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem
/home/alexmalk/usr/local/include -isystem
/usr/X11R6/include    -DNDEBUG -O2 -g -Wall -W
-trigraphs  -c -o HintGraphN.o `test -f 'HintGraphN.C'
|| echo './'`HintGraphN.C
source='LineGraphE.C' object='LineGraphE.o' libtool=no 
depfile='.deps/LineGraphE.Po'
tmpdepfile='.deps/LineGraphE.TPo' depmode=gcc3 /bin/sh ../depcomp g++-3.3 
-DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem
/home/alexmalk/usr/local/include -isystem
/usr/X11R6/include    -DNDEBUG -O2 -g -Wall -W
-trigraphs  -c -o LineGraphE.o `test -f 'LineGraphE.C'
|| echo './'`LineGraphE.C
source='LineGESI.C' object='LineGESI.o' libtool=no depfile='.deps/LineGESI.Po'
tmpdepfile='.deps/LineGESI.TPo' depmode=gcc3 /bin/sh ../depcomp g++-3.3 
-DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem
/home/alexmalk/usr/local/include -isystem
/usr/X11R6/include    -DNDEBUG -O2 -g -Wall -W
-trigraphs  -c -o LineGESI.o `test -f 'LineGESI.C' ||
echo './'`LineGESI.C
source='PannedGE.C' object='PannedGE.o' libtool=no depfile='.deps/PannedGE.Po'
tmpdepfile='.deps/PannedGE.TPo' depmode=gcc3 /bin/sh ../depcomp g++-3.3 
-DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem
/home/alexmalk/usr/local/include -isystem
/usr/X11R6/include    -DNDEBUG -O2 -g -Wall -W
-trigraphs  -c -o PannedGE.o `test -f 'PannedGE.C' ||
echo './'`PannedGE.C
PannedGE.C: In function `_WidgetRec*
createPannedGraphEdit(_WidgetRec*, const
   char*, Arg*, unsigned int)':
PannedGE.C:398: error: `cerr' undeclared (first use
this function)
PannedGE.C:398: error: (Each undeclared identifier is
reported only once for
   each function it appears in.)
make[2]: *** [PannedGE.o] Error 1
make[2]: Leaving directory `/tmp/soft/ddd-3.3.8/ddd'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/soft/ddd-3.3.8/ddd'
make: *** [all-recursive] Error 1


Temporary solution:
Locate in PannedGE.C the lines:
cerr<<...
And add "std::" before them:
std::cerr<<...
And run make again.

Regards,
Alex.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=307500&aid=895199&group_id=7500




reply via email to

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