ddd
[Top][All Lists]
Advanced

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

Re: DDD on solaris 2.9 fix


From: Andrew Gaylard
Subject: Re: DDD on solaris 2.9 fix
Date: Wed, 23 Jun 2004 20:03:35 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031030

Frédéric SCHOENAHL wrote:
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,

Hi Frédéric,

Thanks so much for your patch.  It is great to have people
helping to improve DDD.

"Unfortunately", this bug had already been fixed; the fix is
in version 3.3.9, which was released last night.  I recommend
3.3.9 over 3.3.8 because there are many other fixes in it too.

Regards,
Andrew.





reply via email to

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