Gcc compile iostream.h

Zippo zippo752001@attbi.com
Thu Jun 5 11:52:00 GMT 2003


I am trying to compile a few things at terminial using gcc-3.3 and glibc-2.3.2, i am trying to use #include <iostream.h> but is acting weird. The testing program is simply

//test.C
#include <iostream.h>

int main()
{
	int number;
	cin >> number;
	cout << "this is the number you entered " << number;

return 0;
}

the command i use to compile is:
$ g++ -Wno-deprecated test.C -o test
this works, but without the -Wno-deprecated it errors like made saying:
/usr/include/c++/3.3/backward/backward_warning.h:32:2 warning: #warning this file includes at least one deprecated or antiquated header.

is this ok or is there a something i can do to make it go away. thanks for any help zippo



More information about the Gcc-help mailing list