System:Solaris 11
I have existing old c++ code that is built without stlport4, using 
-library=no%rwtools7,no%rwtools7_std,iostream. Would like to use protobuf 
code but attempt to compile with old code fails because of use of 
std::swap<...> in repeated_field.h. 
Cannot compile old code using -library=stlport4. The initial protobuf code 
extracted from tar file has numerous calls to std::???<...> methods as if 
the std c lib is required.

Thanks in advanced for any help you can provide.
Harold Clack

>make
Compiling /export/home/ccsops/proxy/ana/src/JSocketMgr.cc ...
rm -f /export/home/ccsops/proxy/ana/obj/sun_sparc_5-11/Wave/JSocketMgr.o
CC -c +d 
-library=no%rwtools7,no%rwtools7_std,no%rwtools7_std_dbg,no%rwtools7_dbg,iostream
  
-g      -DUNIX_OS -DSUN -DSPARC -DSUN_SPARC_5X -DSUN_SPARC_511       
-xcode=pic32 -Bdynamic  -DCCSDEBUG -I/export/home/ccsops/proxy/ana/include 
-I/export/home/ccsops/common/FOF/include 
-I/export/home/ccsops/common/gdf/include 
-I/export/home/ccsops/proxy/evtgen/include 
-I/export/home/ccsops/proxy/DWProxy/include 
-I/export/home/ccsops/dmt/dmtlib/include 
-I/export/home/ccsops/proxy/prd/include 
-I/export/home/ccsops/common/ccs/include 
-I/export/home/ccsops/common/ocidb/include 
-I/export/home/odb/product/11.2.0/db_1/rdbms/public 
-I/export/home/ccsops/fos/common/ecs/include 
-I/export/home/ccsops/fos/common/EcRw/include 
-I/export/home/ccsops/fos/common/FoIp/include 
-I/export/home/ccsops/fos/common/FoCl/include 
-I/export/home/ccsops/fos/common/FoNs/include 
-I/export/home/ccsops/fos/common/FoUt/include 
-I/export/home/ccsops/fos/common/FoDBg/include 
-I/export/home/ccsops/mdw/ccsmdw/include 
-I/export/home/ccsops/mdw/ccsappl/include 
-I/export/home/ccsops/mdw/ccsccm/include -I/export/home/ccsops/rogue/sun/0d 
-I/usr/include -I/export/home/ccsops/gui/dist/protobuf-2.4.1/src  
/export/home/ccsops/proxy/ana/src/JSocketMgr.cc -o 
/export/home/ccsops/proxy/ana/obj/sun_sparc_5-11/Wave/JSocketMgr.o

"/export/home/ccsops/gui/dist/protobuf-2.4.1/src/google/protobuf/repeated_field.h",
 
line 738: Error: Could not find a match for std::swap<std::_charT, 
std::_Traits, std::_Allocator>(void*, void*) needed in 
google::protobuf::internal::RepeatedPtrFieldBase::SwapElements(int, int).

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to