C++ Class Deprecation -- MAY HAVE FUTURE IMPACT ON XALAN-C

GNU g++ in 4.4 and 4.4.5 have deprecated the strstream classes.
They are still available for backward compatibility.

<strstream> is deprecated in G++ but is still supported by all the
C++ compilers at this time.

Deprecated Classes in <strstream>

  strstream
  istrstream
  ostrstream
  strstreambuf

Suggested Replacements in <sstream>

  basic_stringstream
  basic_istringstream
  basic_ostringstream
  basic_stringbuf

The <istream> and <ostream> and <iostream> are based on the
newer <sstream> classes.

The biggest impact on Xalan-C is the use of the str() method to
extract character array content.  The newer stream classes use
get() and put() to reference character array content.

Initial evaluation of Xalan-C source code indicates that the
following source files may be affected once deprecation support
no longer exists.

Harness/XalanFileUtility.cpp
Harness/XalanFileUtility.hpp
XalanTransformer/XalanCAPI.cpp


Sincerely,
Steven J. Hathaway



---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscr...@xml.apache.org
For additional commands, e-mail: xalan-dev-h...@xml.apache.org

Reply via email to