gareth 2002/11/21 07:45:34 Modified: c/src/xercesc/framework StdOutFormatTarget.cpp Log: gcc 3.2 now issues a warning for use of iostream.h. Removed the .h and prefixed cout with std::. Revision Changes Path 1.3 +6 -3 xml-xerces/c/src/xercesc/framework/StdOutFormatTarget.cpp Index: StdOutFormatTarget.cpp =================================================================== RCS file: /home/cvs/xml-xerces/c/src/xercesc/framework/StdOutFormatTarget.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- StdOutFormatTarget.cpp 4 Nov 2002 15:00:21 -0000 1.2 +++ StdOutFormatTarget.cpp 21 Nov 2002 15:45:34 -0000 1.3 @@ -57,6 +57,9 @@ /* * $Id$ * $Log$ + * Revision 1.3 2002/11/21 15:45:34 gareth + * gcc 3.2 now issues a warning for use of iostream.h. Removed the .h and prefixed cout with std::. + * * Revision 1.2 2002/11/04 15:00:21 tng * C++ Namespace Support. * @@ -66,7 +69,7 @@ */ #include <xercesc/framework/StdOutFormatTarget.hpp> -#include <iostream.h> +#include <iostream> XERCES_CPP_NAMESPACE_BEGIN @@ -85,7 +88,7 @@ // Without the cast, it was printing the pointer value in hex. // Quite annoying, considering every other platform printed // the string with the explicit cast to char* below. - cout.write((char *) toWrite, (int) count); + std::cout.write((char *) toWrite, (int) count); }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]