This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/6814: Error in include file file_basic.h when expanding template
- From: ger <ger at musicduplication dot nl>
- To: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 29 May 2002 10:36:04 -0000
- Subject: Re: c++/6814: Error in include file file_basic.h when expanding template
- Reply-to: ger <ger at musicduplication dot nl>
The following reply was made to PR c++/6814; it has been noted by GNATS.
From: ger <ger@musicduplication.nl>
To: paolo@gcc.gnu.org,
gcc-bugs@gcc.gnu.org,
gcc-prs@gcc.gnu.org,
ger@musicduplication.nl,
nobody@gcc.gnu.org,
gcc-gnats@gcc.gnu.org
Cc:
Subject: Re: c++/6814: Error in include file file_basic.h when expanding template
Date: Wed, 29 May 2002 12:24:44 +0200
Yes it was the old installation of 3.0.4. A small program gave the same=20
problem. Remarks:=20
1.Couldn't clean the previous distribution with a 'make clean', gave erro=
rs.=20
Removed 'by hand'=20
2. Re-configure didn't work, downloaded from CVS again
3. Storing the objects and bins in an alternative directory will not work=
=2E gcc=20
wants it libraries as files in /usr/local/
aRts will compile now (as does the small program), busy building rest of=20
KDE..,=20
Thanks for help.
Ger
On Sunday 26 May 2002 10:50, you wrote:
> 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=3Dview%20audit-trail&databas=
e=3Dgcc&
>pr=3D6814