This fixes a very large number of the erroneous errors in my ObjC
code. By far the largest category of remaining errors is that field
names are not known in instance method implementations:
CookieJar:~/Desktop keith$ cat > test.m
@interface Foo
{
int i;
}
- (void)foo;
@end
@implementation Foo
- (void)foo
{
i = 3;
}
@end
CookieJar:~/Desktop keith$ gcc -Wall -W -fsyntax-only test.m
CookieJar:~/Desktop keith$ clang -fsyntax-only test.m
test.m:10:5: error: use of undeclared identifier 'i'
i = 3;
^
1 diagnostic generated.
I assume this is known
-Keith