[an error occurred while processing this directive]
Q: How do I tell gcc my .cc file is to be compiled as Objective-C
Q: I compile an Objective-C program, but get unresolved symbols.
Q: I can't compile the Objective-C test program which came with DJGPP.
A: Give your sources the
.m extension, or use
-x objective-c switch to GCC, so it will know you mean
to compile with Objective C.