Any idea what this is about - and how to fix it? Should I use GNU C instead?
I am trying to build STAF on HP-UX 11.31, using the native compiler (aCC), but it fails with the following (a bit long, sorry): aCC -AA -c -o /repo/staf/obj/hpux/staf/retail/stafif/STAFCommandParser.o -DSTAF_OS_NAME_HPUX -D_REENTRANT -DSTAF_NO_GETHOSTBYNAME_R -DSTAF_NO_GETHOSTBYADDR_R -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE +O1 +DD64 -mt +z -DSTAF_SHARED_LIB_PREFIX=lib -DSTAF_SHARED_LIB_SUFFIX=.so -DSTAF_NATIVE_COMPILER +W829,4285 -DSTAF_USE_SSL -I/usr/local/ssl/include -I/repo/staf/src/staf/stafif -I/repo/staf/src/staf/stafif/unix -I/repo/staf/src/staf/stafif/unix -I/repo/staf/src/staf/stafif /repo/staf/src/staf/stafif/STAFCommandParser.cpp "/opt/aCC/include_std/utility", line 100: error #2070: incomplete type is not allowed second_type second; ^ detected during: instantiation of class "std::pair<_TypeT, _TypeU> [with _TypeT=const int, _TypeU=twig]" at line 97 of "/opt/aCC/include_std/rw/tree" instantiation of class "__rw::__rw_rb_tree_node<_Alloc, _Val, _Key, _KeyOf> [with _Alloc=std::allocator<std::pair<const int, twig>>, _Val=std::pair<const int, twig>, _Key=int, _KeyOf=__rw::__select1st<std::pair<const int, twig>, int>]" at line 282 of "/opt/aCC/include_std/rw/tree" instantiation of class "__rw::__rb_tree<_Key, _Val, _KeyOf, _Comp, _Alloc> [with _Key=int, _Val=std::pair<const int, twig>, _KeyOf=__rw::__select1st<std::pair<const int, twig>, int>, _Comp=std::less<int>, _Alloc=std::allocator<std::pair<const int, twig>>]" at line 102 of "/opt/aCC/include_std/map" instantiation of class "std::map<_Key, _TypeT, _Compare, _Allocator> [with _Key=int, _TypeT=twig, _Compare=std::less<int>, _Allocator=std::allocator<std::pair<const int, twig>>]" at line 438 of "/repo/staf/src/staf/stafif/STAFCommandParser.h" 1 error detected in the compilation of "/repo/staf/src/staf/stafif/STAFCommandParser.cpp". gmake: *** [/repo/staf/obj/hpux/staf/retail/stafif/STAFCommandParser.o] Error 2 ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users