Hello,
I couldn't compile ddd v3.3.8 on my
SunOS 5.9 Generic_112233-07 sun4u sparc SUNW,Ultra-5_10 Solaris
using sunfreeware GNU packages and gcc 3.4.0, it complained as follows
------------8<---------
make
(...)
g++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem /usr/openwin/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)
(...)
------------8<---------
I fixed it by changing l. 56 of ddd/ValArray.h
value(_size) = v;
with
this->value(_size) = v;
Then it compiles correctly.
Hope this helps.
Regards,