stdcxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amit Jindal <jin...@roguewave.com>
Subject RE: Errors compiling examples - Sun studio 11
Date Tue, 14 Feb 2006 16:27:53 GMT
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<int, int,
>>__rw::__ident<int, int>, std::less<int>,
>>std::allocator<int>>::_C_make_iter(__rw::__rw_rb_tree_node<std::allocator<
>>int>, int, int, __rw::__ident<int, int>>*)" and "__rw::__rb_tree<int,
int,
>>__rw::__ident<int, int>, std::less<int>,
>>std::allocator<int>>::_C_make_iter(__rw::__rw_rb_tree_node<std::allocator<
>>int>, int, int, __rw::__ident<int, int>>*const) const".
>>"/opt/idev3/dbapatla/stdcxx-4.1.3/include/set", line 156:     Where: While
>>instantiating "__rw::__rb_tree<int, int, __rw::__ident<int, int>,
>>std::less<int>, std::allocator<int>>::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
View raw message