S
skumar
I am a newbie with C++ and unable to understand this warning/error
message :
localhost > g++ -Wall j++.cpp
In file included from /usr/include/c++/3.2.2/backward/iostream.h:31,
from j++.cpp:2:
/usr/include/c++/3.2.2/backward/backward_warning.h:32:2: warning:
#warning This file includes at least one deprecated or antiquated
header. Please consider using one of the 32 headers found in section
17.4.1.2 of the C++ standard. Examples include substituting the <X>
header for the <X.h> header for C++ includes, or <sstream> instead of
the deprecated header <strstream.h>. To disable this warning use
-Wno-deprecated.
The offending line is :
#include <iostream.h>
The compiler is GNU C/C++ version : 3.2.2.3
Host OS is : Mandrake Linux 9.1
All help welcome....
message :
localhost > g++ -Wall j++.cpp
In file included from /usr/include/c++/3.2.2/backward/iostream.h:31,
from j++.cpp:2:
/usr/include/c++/3.2.2/backward/backward_warning.h:32:2: warning:
#warning This file includes at least one deprecated or antiquated
header. Please consider using one of the 32 headers found in section
17.4.1.2 of the C++ standard. Examples include substituting the <X>
header for the <X.h> header for C++ includes, or <sstream> instead of
the deprecated header <strstream.h>. To disable this warning use
-Wno-deprecated.
The offending line is :
#include <iostream.h>
The compiler is GNU C/C++ version : 3.2.2.3
Host OS is : Mandrake Linux 9.1
All help welcome....