This is the mail archive of the libstdc++@sources.redhat.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: where is iostream.h, fstream.h, ...


On 10 Jul 2000 at 22:47 (-0400), brent verner wrote:
| 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.

suffering from newbieitis, I overlooked an inconspicuously named
directory, 'backward', which looks like a much better wheel than
the one I've been rolling on :)  

Can anyone comment on the state of the 'backward' headers? The 
couple I tried seemed to work as expected...

Thanks.
  Brent

-- 
Damon Brent Verner                        o      _     _         _
Cracker Jack? Surprise Certified  _o     /\_   _ \\o  (_)\__/o  (_)
brent@rcfile.org                _< \_   _>(_) (_)/<_    \_| \   _|/' \/
brent@linux1.org               (_)>(_) (_)        (_)   (_)    (_)'  _\o_

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]