Re: compile error in fstream

2005-03-07 Thread Hans Horn
Well, after poking around, I found that explicitly #including fixed the problem. No idea why it worked without that #include under -mno-cygwin or why it worked with older gcc! Anycase - problem solved. Hans Horn wrote: > Group, > > I'm trying to compile a source tree under cygwin gcc 3.4.1. > T

Re: compile error in fstream

2005-03-07 Thread Hans Horn
I should have mentioned that the code compiles using if I add the -mno-cygwin flag to the compile options. H. Hans Horn wrote: > Group, > > I'm trying to compile a source tree under cygwin gcc 3.4.1. > This is where gcc barfs: > > In file included from > /usr/lib/gcc/i686-pc-cygwin/3.4.1/../../.

Re: compile error in fstream

2005-03-07 Thread Mikael
"Hans Horn" wrote: > Group, > > I'm trying to compile a source tree under cygwin gcc 3.4.1. > This is where gcc barfs: > [Error messages snipped] You should make sure you are using g++ to compile c++ code and if you are using g++ to compile you should post the smallest possible program that ex

compile error in fstream

2005-03-07 Thread Hans Horn
Group, I'm trying to compile a source tree under cygwin gcc 3.4.1. This is where gcc barfs: In file included from /usr/lib/gcc/i686-pc-cygwin/3.4.1/../../../../include/c++/3.4.1/fstream:857, from ... /usr/lib/gcc/i686-pc-cygwin/3.4.1/../../../../include/c++/3.4.1/bits/fstream.tc