This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
libstdc++/8469: Obsolete iostream.h and fstream.h?
- From: rdnjr at houston dot rr dot com
- To: gcc-gnats at gcc dot gnu dot org
- Date: 5 Nov 2002 21:36:06 -0000
- Subject: libstdc++/8469: Obsolete iostream.h and fstream.h?
- Reply-to: rdnjr at houston dot rr dot com
>Number: 8469
>Category: libstdc++
>Synopsis: Obsolete iostream.h and fstream.h?
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: support
>Submitter-Id: net
>Arrival-Date: Tue Nov 05 13:46:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: rdnjr
>Release: gcc 3.2-7
>Organization:
>Environment:
RedHat 8.0
>Description:
Compiling any program that includes iostream.h, or fstream.h yields an 'Obsolete header file' warning, but will NOT compile the program. If I take those includes out and replace cout's with printf's, so on and so forth, everything works. Did something happen to fstream.h that I am not aware of?
>How-To-Repeat:
compile any program with '#include <iostream.h>', and include a 'cout <<' statement in it.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: