You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by sh...@e-z.net on 2012/03/17 17:56:26 UTC
G++ deprecation of classes
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-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org