[Cppunit-cvs] cppunit2/include/cpput config.h,1.10,1.11
Brought to you by:
blep
From: Baptiste L. <bl...@us...> - 2005-03-05 12:29:48
|
Update of /cvsroot/cppunit/cppunit2/include/cpput In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6276/include/cpput Modified Files: config.h Log Message: * added config macro CPPTL_NO_SSTREAM and CPPTL_NO_STL_SEQUENCE_AT for gcc 2.95 * added portability macro CPPTL_AT to access sequence container portably Index: config.h =================================================================== RCS file: /cvsroot/cppunit/cppunit2/include/cpput/config.h,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** config.h 3 Mar 2005 20:57:14 -0000 1.10 --- config.h 5 Mar 2005 12:29:38 -0000 1.11 *************** *** 72,87 **** - // Indicates if the stl provides std::vector::at() - # define CPPUT_HAS_VECTOR_AT 1 - - // GCC 2.95 STL don't provides std::vector::at(). Don't know how to detect that - // version of STL, so we detect gcc version. - // Though, it would be better to detect the stl vendor & version (stlport could be used for instance) - # if defined __GNUC__ && __GNUC__ < 3 - # undef CPPUT_HAS_VECTOR_AT - # define CPPUT_HAS_VECTOR_AT 0 - # endif - - // define CPPUT_DLL_BUILD when building CppUnit dll. # ifdef CPPUT_DLL_BUILD --- 72,75 ---- |