Re: [patch] Remove warnings/errors with gcc 4.2 and 4.3

2007-09-16 Thread Andre Poenitz
On Sun, Sep 16, 2007 at 08:57:32PM +0200, Abdelrazak Younes wrote: > Andre Poenitz wrote: > >On Sun, Sep 16, 2007 at 12:18:56PM +0200, Lars Gullik Bjønnes wrote: > >>I just did a some test compilations with gcc 4.2 and gcc 4.3 (from gcc > >>trunk), and got both some new warnings and a few errors. T

Re: [patch] Remove warnings/errors with gcc 4.2 and 4.3

2007-09-16 Thread Abdelrazak Younes
Andre Poenitz wrote: On Sun, Sep 16, 2007 at 12:18:56PM +0200, Lars Gullik Bjønnes wrote: I just did a some test compilations with gcc 4.2 and gcc 4.3 (from gcc trunk), and got both some new warnings and a few errors. This patch fixes those. The main variants of warnings/errors: * Ambig

Re: [patch] Remove warnings/errors with gcc 4.2 and 4.3

2007-09-16 Thread Andre Poenitz
On Sun, Sep 16, 2007 at 02:11:44PM +0200, Lars Gullik Bjønnes wrote: > Andre Poenitz <[EMAIL PROTECTED]> writes: > > | PS: > | > | > - bool const empty() const > | > + bool empty() const > | > { > | > return data_.empty(); > | > } > | > | So gcc starts complaining about the first

Re: [patch] Remove warnings/errors with gcc 4.2 and 4.3

2007-09-16 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | PS: | | > - bool const empty() const | > + bool empty() const | > { | > return data_.empty(); | > } | | So gcc starts complaining about the first 'const'? Nice. Not all "first 'const'" though. Only for basic types it seems.

Re: [patch] Remove warnings/errors with gcc 4.2 and 4.3

2007-09-16 Thread Andre Poenitz
On Sun, Sep 16, 2007 at 12:18:56PM +0200, Lars Gullik Bjønnes wrote: > > I just did a some test compilations with gcc 4.2 and gcc 4.3 (from gcc > trunk), and got both some new warnings and a few errors. This patch > fixes those. > > The main variants of warnings/errors: > * Ambigous else

Re: [patch] Remove warnings/errors with gcc 4.2 and 4.3

2007-09-16 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: | I just did a some test compilations with gcc 4.2 and gcc 4.3 (from gcc | trunk), and got both some new warnings and a few errors. This patch | fixes those. | | The main variants of warnings/errors: | * Ambigous else | * Ambigous lo

[patch] Remove warnings/errors with gcc 4.2 and 4.3

2007-09-16 Thread Lars Gullik Bjønnes
I just did a some test compilations with gcc 4.2 and gcc 4.3 (from gcc trunk), and got both some new warnings and a few errors. This patch fixes those. The main variants of warnings/errors: * Ambigous else * Ambigous logical operators * Headers in libstdc++ cleanup, requir