Haven't found anything like that in the gcc docs, but I might be mistaken.
You can however port from Classic to Standard C++, using the following two guidelines (from the HP documentation):
(1.) IOstream Headers:
<iostream.h>
maps to <iostream>
<fstream.h>
maps to <fstream>
and optionally <iostream>
<strstream.h>
maps to <strstream>
<iomanip.h>
maps to <iomanip>
Note the new header file <iosfwd>
can be used if just the declaration of ostream and istream are needed and not the specific insertion and extraction operators. This would replace the cases where the following are used:
class ostream; // replace by #include <iosfwd>
ostream& operator<<(ostream&, foo); // change based on (2) below
(2.) Source mapping:
Do one (or more) of the following. These changes apply to both the IOstream headers and the container headers.
Add the following using directive. This will work for -AA or -AP.
namespace std {} using namespace std;
cout << "hi guy" << endl;
Add specific using declarations. This only works for -AA.
using std::cout;
using std::endl;
cout << "hi guy" << endl;
Add std:: before each symbol. This only works for -AA.
std::cout << "hi guy" << std::endl;