[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: iostream.h vs. iostream
From: Michael Ritzert <kde () ritzert ! de>
Date: 2001-12-24 9:25:09
[Download RAW message or body]
Hi all,
here is what my gcc's say:
ritzert@darkstar:~/tmp > cat h.cpp
#include <iostream.h>
ritzert@darkstar:~/tmp > cat noh.cpp
#include <iostream>
ritzert@darkstar:~/tmp > c++ -v
Reading specs from /usr/lib/gcc-lib/i486-suse-linux/2.95.3/specs
gcc version 2.95.3 20010315 (SuSE)
ritzert@darkstar:~/tmp > c++ -c -Wall h.cpp
ritzert@darkstar:~/tmp > c++ -c -Wall noh.cpp
ritzert@darkstar:~/tmp > . ~/.initgcchead
Reading specs from /3/gcc/HEAD/install/lib/gcc-lib/i686-pc-linux-gnu/3.1/specs
Configured with: /3/gcc/HEAD/gcc/configure --enable-threads=posix --prefix=/3/gcc/HEAD/install
Thread model: posix
gcc version 3.1 20011222 (experimental)
ritzert@darkstar:~/tmp > c++ -c -Wall h.cpp
In file included from /3/gcc/HEAD/install/include/g++-v3/backward/iostream.h:31, \
from h.cpp:1: /3/gcc/HEAD/install/include/g++-v3/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. \
ritzert@darkstar:~/tmp > c++ -c -Wall noh.cpp ritzert@darkstar:~/tmp >
gcc 2.95.3 doesn't care (as does gcc 3.0.3), while gcc 3.1 will issue a
warning.
Michael
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic