Frank Heckenbach wrote:
Thorsten Glaser wrote:
Peter N Lewis dixit:
gp works fine with including objective C files via:
{$L file.m}
but does not include the language extension for .m.
Isn't .mm Objective-C++ and should be added too?
Maybe I'm naive, but if anyone could explain to me how the letters "mm" stand for "Objective-C++", this might really be an enlightenment. Perhaps I should just add any 1/2 letter combination as some kind of C variant. ;-)
Seriously, if there are really the "official" file name suffixes (I don't know Objective-C[++] myself, so I have no idea), I'll add them.
Objective-C++ is in the process of being merged into gcc, although currently it is still a development branch for fsf-gcc (see http://gcc.gnu.org/cvs.html#devbranches, objc-improvements-branch). For the suffixes involved, see <http://developer.apple.com/documentation/DeveloperTools/gcc-4.0.0/gcc/ Overall-Options.html>.
Objective-C has been available in fsf-gcc for some time now, see e.g. http://gcc.gnu.org/onlinedocs/gcc-4.0.1/gcc/Objective_002dC.html and http://www.gnustep.org/developers/documentation.html#objc.
Regards,
Adriaan van Os