16 Sep 2007 21:24
Re: Warnings patch for gcc 4.2.x
On Sep 15, 2007, at 3:34 PM, Justin Handville wrote: > This patch fixes all of the warnings currently generated in trunk with > -Wall -Werror. > > Mostly, this stubs out missing enums in switch statements. Also, note > the fix for InvalidDecl below. Applied, thanks! > --- AST/Decl.cpp (revision 41989) > +++ AST/Decl.cpp (working copy) > <at> <at> -105,6 +105,21 <at> <at> > case ObjcInterface: > nInterfaceDecls++; > break; > + case ObjcClass: > + //FIXME add functionality here. > + break; For chunks like this, please change these to assert on the unimplemented case so we can find them easily if executed. Thanks Justin, -Chris
RSS Feed