DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13436>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13436

Deprecated standard C++ headers in StdOutFormatTarget.cpp

           Summary: Deprecated standard C++ headers in
                    StdOutFormatTarget.cpp
           Product: Xerces-C++
           Version: 2.1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Miscellaneous
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


diff -Naur xerces-c-src2_1_0/src/xercesc/framework/StdOutFormatTarget.cpp 
xerces_c/src/xercesc/framework/StdOutFormatTarget.cpp
--- xerces-c-src2_1_0/src/xercesc/framework/StdOutFormatTarget.cpp  Tue Aug 27 
00:24:30 2002
+++ xerces_c/src/xercesc/framework/StdOutFormatTarget.cpp   Tue Oct  8 19:57:48 
2002
@@ -63,7 +63,7 @@
  */

 #include <xercesc/framework/StdOutFormatTarget.hpp>
-#include <iostream.h>
+#include <iostream>

 StdOutFormatTarget::StdOutFormatTarget()
 {}
@@ -80,7 +80,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);

 }

Windows .NET and g++ complain about the old-style header.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to