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 > * Ambigous logical operators > * Headers in libstdc++ cleanup, requireing more includes > * Lookup changes, resulting in the need of more "using std::XX" > * Initialization out of order > > I also couldn't help myself on moving a static func into anon > namespace, changing some params to be const ref, a very few ws > changes. Where easy I will commit thos unrelated changes as separate > commits.
I think there's no problem with commiting those oin one go. Andre' PS: > - bool const empty() const > + bool empty() const > { > return data_.empty(); > } So gcc starts complaining about the first 'const'? Nice.