This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
libstdc++/6837: #include <fstream> fails
- From: jspeter-g at jimsara dot org
- To: gcc-gnats at gcc dot gnu dot org
- Date: 27 May 2002 18:48:04 -0000
- Subject: libstdc++/6837: #include <fstream> fails
- Reply-to: jspeter-g at jimsara dot org
>Number: 6837
>Category: libstdc++
>Synopsis: #include <fstream> fails
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: rejects-legal
>Submitter-Id: net
>Arrival-Date: Mon May 27 11:56:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Jim
>Release: gcc-3.1
>Organization:
>Environment:
i686-pc-linux-gnu
>Description:
The following program:
//////////////////
#include <fstream>
//////////////////
fails on my system, with a few pages of error messages that
begin:
In file included from /usr/include/g++-v3/fstream:48,
from bug.cc:1:
/usr/include/g++-v3/bits/basic_file.h:52: parse error before `{' token
It is complaining about the line:
template<typename _CharT>
struct __basic_file_base: public __c_file_type
because of a lack of definition for __c_file_type
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: