bug-ddd
[Top][All Lists]
Advanced

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

Trouble compiling with GCC 3.4.0


From: fago
Subject: Trouble compiling with GCC 3.4.0
Date: Tue, 22 Jun 2004 08:18:36 -0700 (PDT)

I'm trying to compile DDD 3.3.8 on x86 running RedHat Enterprise
Workstation 3.0, upgraded to GCC 3.4.0.


Everything configures fine, but I get the following error:

###
g++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem /usr/X11R6/include   
-DNDEBUG -O2 -g -Wall -W -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
####


Adding -fpermissive to CXXFLAGS allows me to compile (and run).

 Thanks
 - Matt








reply via email to

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