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.
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to