"Matthew C. Tedder" <[EMAIL PROTECTED]> writes:

> Why does g++ tell me that the <iostream.h> header has been depricated?
> 
> You've got to be joking, if this is true..  Is this a bug?  If the only header 
> I include is <iostream.h>, I get this warning message:
> 
> /usr/include/c++/3.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.

Well it's pretty clear, it tells you to substitute <iostream.h>
with <iostream> -- have you tried that?


-- 
Guillaume Cottenceau - http://people.mandrakesoft.com/~gc/

Reply via email to