stdcxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dipak Bapatla <deepak_bo...@sbcglobal.net>
Subject Errors compiling examples - Sun studio 11
Date Tue, 14 Feb 2006 16:23:58 GMT
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
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message