Re: errors under g++ 3.2.2

2003-07-01 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Jeffrey Hsu <[EMAIL PROTECTED]> writes: : > 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 : : Change your /usr/include/

Re: errors under g++ 3.2.2

2003-06-30 Thread Thomas T. Veldhouse
From: "Allan Bowhill" <[EMAIL PROTECTED]> > > 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 f

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

Re: errors under g++ 3.2.2

2003-06-29 Thread David Leimbach
On Sunday, June 29, 2003, at 1:44PM, Jeffrey Hsu wrote: 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 Change your /usr/include/g++/fstream as follows: Can someone commit this ch

Re: errors under g++ 3.2.2

2003-06-29 Thread David Leimbach
On Sunday, June 29, 2003, at 1:19PM, Allan Bowhill wrote: 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 fig

Re: errors under g++ 3.2.2

2003-06-29 Thread Markus Niemistö
On Sun, 29 Jun 2003 11:19:02 -0700 "Allan Bowhill" <[EMAIL PROTECTED]> wrote: > 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 ca

errors under g++ 3.2.2

2003-06-29 Thread Jeffrey Hsu
> 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 Change your /usr/include/g++/fstream as follows: --- /usr/include/g++/fstreamSun Jun 29 09:17:46 2003 +++ fstream

Re: errors under g++ 3.2.2

2003-06-29 Thread Patrick Hartling
Allan Bowhill wrote: 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 c

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