This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
Re: where is iostream.h, fstream.h, ...
On 07 Jul 2000 at 01:36 (-0600), llewelly@dbritsch.dsl.xmission.com wrote:
|
| Old style header names like iostream.h, fstream.h are not part of the
| ISO C++ standard. The standard names have no .h . (e.g. iostream, map
| list, etc)
On a similar note:
Would it be sane to shipmake available a set of 'compatibility'
headers similar to the following?
brent@sleepy$ cat ./iostream.h
#warning <iostream.h> is not a standard c++ header
#warning update this code to use <iostream>
#ifndef __NONSTD_HACK__
#define __NONSTD_HACK__
#include <iostream>
using namespace std;
#endif
I ask because I've had to do just this to get some old (rather,
noncompliant) code to compile with a libstdc++-v3 gcc. If there
is any interest, let me know and I'll start on this when I get
a spare moment.
Brent
--
Damon Brent Verner o _ _ _
Cracker Jack? Surprise Certified _o /\_ _ \\o (_)\__/o (_)
brent@rcfile.org _< \_ _>(_) (_)/<_ \_| \ _|/' \/
brent@linux1.org (_)>(_) (_) (_) (_) (_)' _\o_