Hi,

when trying to compile an older application that compiled for around g++ 2.8,
I see several errors:

`cerr' undeclared (formerly from <iostream.h> I think)

`endl' undeclared (ditto)

`ends' undeclared (ditto)

My 'min' and 'max' macros break some standard include files using
`std__min()', etc.

`ostrstream' undeclared (formerly in <strstream.h> I think)

`struct std::basic_ostringstream<...>' has no member `c_str'

`--len' does no longer work for  `std:streampos len' (no match for operator--,
ambiguous overload for operator==)

`fstream' undeclared (also <iostream.h> once I think)

`ifstream' undeclared

`std::basic_string' cannot be converted to `const char *' when used as actual
parameter for a function call

The macro definition
#define foo(n) set_##n##(const char *s)
does no longer work. The error is ` pasting "set_SAMPLE" and "(" does not give
a valid preprocessor token


Is there some "porting guide" for those who did not actively follow recent C++
development?

Regards,
Ulrich

_______________________________________________
Help-gplusplus mailing list
Help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to