stdcxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dipak Bapatla <deepak_bo...@sbcglobal.net>
Subject RE: Errors compiling examples - Sun studio 11
Date Tue, 14 Feb 2006 16:37:40 GMT
 
  /opt/idev3/dbapatla/stdcxx-4.1.3/ is the directory where I extracted the source
  and  /opt/idev3/dbapatla/stdcxx is the variable BUILDDIR.

Amit Jindal <jindal@roguewave.com> wrote:
  Just to be sure, do you have two stdcxx paths by any chance?

-I/opt/idev3/dbapatla/stdcxx/include
-I/opt/idev3/dbapatla/stdcxx-4.1.3/include


-- Amit

>>-----Original Message-----
>>From: Dipak Bapatla [mailto:deepak_boost@sbcglobal.net]
>>Sent: Tuesday, February 14, 2006 9:24 AM
>>To: Apache C++
>>Subject: Errors compiling examples - Sun studio 11
>>
>>Hi,
>>
>> The same error shows up with around three or four examples.
>>
>> thanks,
>> Dipak
>> CC -c -D_RWSTDDEBUG -mt -D_RWSTD_USE_CONFIG -
>>I/opt/idev3/dbapatla/stdcxx/include -I/opt/idev3/dbapatla/stdcxx-
>>4.1.3/include -I/opt/idev3/dbapatla/stdcxx-4.1.3/examples/include -
>>library=%none -g +w /opt/idev3/dbapatla/stdcxx-
>>4.1.3/examples/tutorial/alg4.cpp
>>"/opt/idev3/dbapatla/stdcxx-4.1.3/include/rw/_tree.h", line 551: Error:
>>Overloading ambiguity between "__rw::__rb_tree>>__rw::__ident, std::less,
>>std::allocator>::_C_make_iter(__rw::__rw_rb_tree_node>>int>, int, int,
__rw::__ident>*)" and "__rw::__rb_tree>>__rw::__ident, std::less,
>>std::allocator>::_C_make_iter(__rw::__rw_rb_tree_node>>int>, int, int,
__rw::__ident>*const) const".
>>"/opt/idev3/dbapatla/stdcxx-4.1.3/include/set", line 156: Where: While
>>instantiating "__rw::__rb_tree,
>>std::less, std::allocator>::end()".
>>"/opt/idev3/dbapatla/stdcxx-4.1.3/include/set", line 156: Where:
>>Instantiated from non-template code.
>>1 Error(s) detected.
>>gmake[2]: *** [alg4.o] Error 1
>>gmake[2]: Leaving directory `/opt/idev3/dbapatla/stdcxx/examples'

  


Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message