A
Alf P. Steinbach
* Chris Croughton:
Nope.
<iostream.h> from pre-standard days was not standardized
(it could contain anything), and did not provide the modern iostreams.
I stand corrected.
g++ 3.4.3 (and 3.4.2) is, in other words, incorrect in this regard.
Oh well...
iostream.h was the old (pre-standard) name for it.
Nope.
<iostream.h> from pre-standard days was not standardized
(it could contain anything), and did not provide the modern iostreams.
_No_ compiler will tell you that.
You are provably wrong:
$ c++ -c /tmp/1.cc
In file included from /usr/local/gcc/lib/.../iostream.h:31,
from /tmp/1.cc:1:
/usr/local/gcc/lib/gcc/.../include/c++/3.4.3/backward/backward_warning.h:32:2:
[snip]
or <iostream> instead of the deprecated header <iostream.h>.
I stand corrected.
g++ 3.4.3 (and 3.4.2) is, in other words, incorrect in this regard.
Oh well...