Greetings,
I’m getting the following errors when I build an ASS project that had worked earlier without the errors. The errors appeared only after I upgraded from Panther to Tiger and from Xcode 1.5 to Xcode 2.4.1.
They are:
main.m:9: warning: initialization from incompatible pointer type
main.m:12: warning: passing argument 1 of ‘NSAddressOfSymbol’ from incompatible pointer type
lines 9 & 12 of main.m are respectively:
[i]NSSymbol *symbol = NSLookupAndBindSymbol(“_ASKInitialize”);
void (*initializeASKFunc)(void) = NSAddressOfSymbol(symbol);
[/i]
I haven’t been able to isolate any code that may be causing this.
Also, I haven’t edited the main.m file myself so I’m at a loss as to how to fix this.
I have a decent amount of experience with Applescript Studio but none with Cocoa or other languages. If anyone can offer help it would be greatly appreciated.
Acciuga