public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* libstdc++/6837: #include <fstream> fails
@ 2002-05-27 12:10 jspeter-g
  0 siblings, 0 replies; 2+ messages in thread
From: jspeter-g @ 2002-05-27 12:10 UTC (permalink / raw)
  To: gcc-gnats


>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:


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: libstdc++/6837: #include <fstream> fails
@ 2002-05-27 12:16 paolo
  0 siblings, 0 replies; 2+ messages in thread
From: paolo @ 2002-05-27 12:16 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, jspeter-g, nobody

Synopsis: #include <fstream> fails

State-Changed-From-To: open->closed
State-Changed-By: paolo
State-Changed-When: Mon May 27 12:10:54 2002
State-Changed-Why:
    Duplicate of libstdc++/6672. You must remove the existing /usr/include/g++-v3/ directory before invoking make install.
    Thanks for your report, Paolo.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6837


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-05-27 19:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-27 12:10 libstdc++/6837: #include <fstream> fails jspeter-g
2002-05-27 12:16 paolo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).