[cfe-commits] r76637 - in /cfe/trunk/test/CodeGenObjC: property-agrr-getter.m protocols-lazy.m

Mike Stump mrs at apple.com
Tue Jul 21 14:43:17 PDT 2009


On Jul 21, 2009, at 2:16 PM, Fariborz Jahanian wrote:
> Warning on by default will break (our) user code. Try this most  
> trivial test case with gcc.
>
> @interface I @end
> @implementation I
> - Meth {}
> @end

Warnings don't break code.  -Werror breaks code.  -Werror is used by  
people that want to break their code.  Maybe a fixit to add void as  
the return type, for those things that don't return a value would help  
people fix their code.  :-)

Isn't excessively sloppy code from the 1980 done with?  Anyway, we can  
fine tune the default status of the new warning later... if it turns  
out to be heart ache.



More information about the cfe-commits mailing list