This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/6814: Error in include file file_basic.h when expanding template
- From: paolo at gcc dot gnu dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, ger at musicduplication dot nl, nobody at gcc dot gnu dot org
- Date: 26 May 2002 08:50:18 -0000
- Subject: Re: c++/6814: Error in include file file_basic.h when expanding template
- Reply-to: paolo at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, ger at musicduplication dot nl, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: Error in include file file_basic.h when expanding template
State-Changed-From-To: open->feedback
State-Changed-By: paolo
State-Changed-When: Sun May 26 01:50:18 2002
State-Changed-Why:
Hi.
Perhaps even compiling a short snippet like:
//------------------------
#include <fstream>
int main(void)
{
std::fstream file ("fstreamtest.txt", std::ios::out);
file << "Test";
}
//----------------
Gives you the same error? In that case, I strongly suspect
that you installed your new gcc-3.1 over a previous
installation of gcc and the problem will be solved by
simply removing completely the old one before make install.
(see libstdc++/6672 for further details)
Thanks, Paolo.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6814