<fstream> problem?
Joe Buck
Joe.Buck@synopsys.com
Wed Jun 5 14:54:00 GMT 2002
> I just tried to compile a program which uses <fstream>:
> #include <fstream>
>
> using namespace std;
>
> int main( void )
> {
> return 0;
> }
>
> And get the following compile errors:
This appears to be a symptom suggesting that you installed gcc-3.1 on
top of an old gcc installation. The obsolete file is causing conflicts.
> Any ideas?
Zap the headers and re-install.
Perhaps "make install" should generate an error if it sees obsolete
headers that are going to cause this problem?
More information about the Libstdc++
mailing list