Fix for PR objc/49287

Mike Stump mikestump@comcast.net
Sun Jun 5 17:26:00 GMT 2011


On Jun 5, 2011, at 6:07 AM, Nicola Pero <nicola.pero@meta-innovation.com> wrote:
> This patch fixes PR objc/49287.  The problem is that enabling the compiler checks
> for missing @interfaces triggered a couple of warnings of missing @interfaces in some
> testcases (this only showed up with the NeXT runtime because objc_getClass() is treated
> specially only with the NeXT runtime; we haven't changed the GNU ABI yet).
> 
> The patch adds a cast to the testcases to remove the warnings and fix the apparent regression.
> 
> OK to commit ?

Ok.



More information about the Gcc-patches mailing list