ddd
[Top][All Lists]
Advanced

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

Re: DDD-3.3.9-test1 is released


From: Tim Mooney
Subject: Re: DDD-3.3.9-test1 is released
Date: Fri, 30 Apr 2004 11:20:23 -0500 (CDT)

In regard to: Re: DDD-3.3.9-test1 is released, Arnaud Desitter said (at...:

>> >> To get it to configure on IRIX (6.5.22m) with the IRIX C and C++
>compilers
>> >> (7.3.1.3m), I needed to have
>> >>
>> >> -LANG:std
>> >>
>
>> The compile proceeded for a while farther, but failed at:
>>
>CC -DHAVE_CONFIG_H -I. -I. -I.  -I./..  -I/local/gnu/include  -DNDEBUG -O2 -
>LANG:std -n32 -OPT:Olimit=3000    -c -o strclass.o strclass.C
>> cc-1020 CC: ERROR File = strclass.C, Line = 1543
>>   The identifier "ws" is undefined.
>>
>>         ws(s);
>>         ^
>Try to change it to std::ws. Could you try again ?
>Patch attached.

That fixed it.  I was able to fix one subsequent error (the const problem
for STATIC_CAST in MakeMenu.C) using information you already provided for
HP-UX, and I've now run up against the same problem that I originally
reported on Solaris, namely:

CC -DHAVE_CONFIG_H -I. -I. -I.  -I./..  -I/local/gnu/include  -DNDEBUG
-O2 -LANG:std -n32 -OPT:Olimit=3000    -c -o LineGESI.o LineGESI.C
cc-1282 CC: ERROR File = LineGESI.C, Line = 176
  More than one instance of overloaded function "sqrt" matches the
argument list.

            Function symbol function "sqrt(double)" is ambiguous by
                      inheritance.
            Function symbol function "sqrt(float)" is ambiguous by
inheritance.
            Function symbol function "sqrt(long double)" is ambiguous by
                      inheritance.
            The argument types are:  (int).
      int offset = int(sqrt((radius * radius) / 2));
                       ^

I know you've fixed this in CVS, but I'm not sure what fix you made, so
I elected to cast to float:

        int offset = int(sqrt((float)((radius * radius) / 2)));


Once past this, everything else compiles and links.  I don't have time to
do a lot of testing right now, but it starts and appears to run well.
I did notice that the mouse pointer becomes red and switches pointing
direction when I'm clicking on a menu, but that's about all the time I
had.  :-)

The build on Solaris 8 with Sun Forte 6u2 also proceeded and linked, and
minimal execution shows that it seems to work.  It doesn't display the
oddity with the mouse pointer that the IRIX build did.

Tim
-- 
Tim Mooney                              address@hidden
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J6, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164




reply via email to

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