Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 51597

Summary: ddd 3.3.8 compile failure gcc 3.4
Product: Gentoo Linux Reporter: Ed Catmur <ed>
Component: Current packagesAssignee: Please assign to toolchain <gcc-porting>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
URL: http://mail.gnu.org/archive/html/bug-ddd/2004-04/msg00170.html
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 48528    
Attachments: 3.3.8-gcc3.4.patch

Description Ed Catmur 2004-05-20 16:20:26 UTC
g++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem /usr/X11R6/include    -DNDEBUG -O3  -Wall -W -pipe -march=athlon-xp -mmmx -msse -m3dnow -mfpmath=387 -momit-leaf-frame-pointer -ftracer -fweb -fomit-frame-pointer -ffast-math -falign-functions=64 -falign-loops=4 -falign-jumps=4 -funroll-loops -fprefetch-loop-arrays  -trigraphs  -c -o ddd.o `test -f 'ddd.C' || echo './'`ddd.C
In file included from StringA.h:37,
                 from GDBAgent.h:53,
                 from Command.h:37,
                 from DataDisp.h:58,
                 from ddd.C:190:
VarArray.h: In member function `virtual void VarArray<T>::add(const T&)':
VarArray.h:56: error: there are no arguments to `value' that depend on a template parameter, so a declaration of `value' must be available
VarArray.h:56: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
make[2]: *** [ddd.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/ddd-3.3.8/work/ddd-3.3.8/ddd'

In DDD CVS; will attach patch.
Comment 1 Ed Catmur 2004-05-20 16:22:20 UTC
Created attachment 31782 [details, diff]
3.3.8-gcc3.4.patch
Comment 2 Travis Tilley (RETIRED) gentoo-dev 2004-05-29 19:41:58 UTC
heh. already fixed in cvs before i even noticed a bug was open. *shakes head*