Re: errors under g++ 3.2.2

2003-06-29 Thread Allan Bowhill
> I do a lot of C++ development on -current, and I have been seeing these > exact warnings. The problem is in the fstream header, however, so there > is nothing you can do to your code to prevent the warnings. You could > modify /usr/include/g++/fstream to silence the warnings, but it would

Re: errors under g++ 3.2.2

2003-06-29 Thread Allan Bowhill
> When you upgraded to -current, did you read /usr/src/UPDATING? > You might find the following entry interesting: > > 20020831: > gcc has been upgraded to 3.2. It is not all binary compatible > with earlier versions of gcc for c++ programs. All c++ > programs and librari

errors under g++ 3.2.2

2003-06-29 Thread Allan Bowhill
I recently updated one of my machines to -current to adapt some code to build under the new version of gcc (3.2.2). However, file IO using gives error messages about implicit typenames being deprecated, and I can't for the life of me figure out what to do my code to make the compiler happy. Has an