|
From: Dale H. <da...@us...> - 2002-06-13 23:42:13
|
Update of /cvsroot/corelinux/corelinux/src/testdrivers/ex8 In directory usw-pr-cvs1:/tmp/cvs-serv21984/src/testdrivers/ex8 Modified Files: ObjectFactory.cpp examp8.cpp Log Message: Has added in: #ifdef REQUIRE_STD_NAMESPACE using namespace std; #endif to allow for compilation under compilers that require a namespace declaration. Index: ObjectFactory.cpp =================================================================== RCS file: /cvsroot/corelinux/corelinux/src/testdrivers/ex8/ObjectFactory.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** ObjectFactory.cpp 31 Aug 2000 22:47:57 -0000 1.3 --- ObjectFactory.cpp 13 Jun 2002 23:42:09 -0000 1.4 *************** *** 31,34 **** --- 31,38 ---- #endif + #ifdef REQUIRE_STD_NAMESPACE + using namespace std; + #endif + using namespace corelinux; Index: examp8.cpp =================================================================== RCS file: /cvsroot/corelinux/corelinux/src/testdrivers/ex8/examp8.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** examp8.cpp 31 Aug 2000 22:47:57 -0000 1.2 --- examp8.cpp 13 Jun 2002 23:42:09 -0000 1.3 *************** *** 82,85 **** --- 82,89 ---- #include <exception> + #ifdef REQUIRE_STD_NAMESPACE + using namespace std; + #endif + // // In module function prototypes |