Well, short of making backend.cmod an mmod file, I don't see a better option. Doing that, though, would break things for the 90% of people who aren't impacted by these header files.
This situation only occurs on systems that have CoreFoundation, which without an exception I'm aware of, are systems that are using gcc that have objective-c mode (ie, Darwin.)
Bill
On Wed, 21 Dec 2011, Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum wrote:
And if you really do need to include headers with contain obj-c, then you should use a compiler which understands obj-c, which is not necessarily the case with $CC.