This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Gcc compile iostream.h


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]