Re: Fix for PR objc/48539 ("Missing warning when messaging a forward-declared class")

2011-06-02 Thread Mike Stump
On Jun 2, 2011, at 11:29 AM, Nicola Pero wrote: > This patch fixes PR objc/48539 ("Missing warning when messaging a > forward-declared class"). > Ok to commit to trunk ? Ok.

Fix for PR objc/48539 ("Missing warning when messaging a forward-declared class")

2011-06-02 Thread Nicola Pero
This patch fixes PR objc/48539 ("Missing warning when messaging a forward-declared class"). The problem occurs when using @class, and then messaging class or instance objects of the class. It can happen both with class and instance methods. -- An example with class methods is @class MyClass;