Microsoft Visual C++ 6.0 is unhappy: Compiling... thread1.cpp H:\commoncpp2\tests\thread1.cpp(5) : error C2871: 'std' : does not exist or is not a namespace Error executing cl.exe.
Removing line 5 fixes the problem and g++ on Linux doesn't care. Index: ChangeLog =================================================================== RCS file: /cvsroot/gnutelephony/testing/commoncpp2/ChangeLog,v retrieving revision 1.17 diff -u -p -r1.17 ChangeLog --- ChangeLog 31 Aug 2005 23:55:45 -0000 1.17 +++ ChangeLog 1 Sep 2005 05:50:12 -0000 @@ -1,4 +1,5 @@ From Common C++ 1.3.18 to 1.3.19 +- fix tests/thread1.cpp to compile with Microsoft Visual C++ 6.0 - fix Microsoft build file line end convention from -kb to -ko - fix for w32 TCPSession connect issue Index: tests/thread1.cpp =================================================================== RCS file: /cvsroot/gnutelephony/testing/commoncpp2/tests/thread1.cpp,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 thread1.cpp --- tests/thread1.cpp 23 Apr 2005 22:08:32 -0000 1.1.1.1 +++ tests/thread1.cpp 1 Sep 2005 05:50:12 -0000 @@ -2,7 +2,6 @@ #include <cstdio> #ifdef CCXX_NAMESPACES -using namespace std; using namespace ost; #endif _______________________________________________ Bug-commoncpp mailing list Bug-commoncpp@gnu.org http://lists.gnu.org/mailman/listinfo/bug-commoncpp