Xcode "compile source as" override for specific file

I have a project that should be set to "Objective-C ++" for the value "compile source as" (no, "according to file type" will not work in my main project). I had a problem with a file that I got from a framework (in particular, OpenFeint) that compiles errors when compiling as "Objective-C ++".

error: pointer of type 'void *' used in arithmetic

I can get the file to compile in a test project that is set to "according to file type" for the value "compile source as". So I'm wondering how to install a specific file to compile as Objective-C? If I can get this file to compile as Objective-C in my real project, everything should work in perfect harmony.

Any help is appreciated.

Thank!

+3
source share
2 answers

The OpenFeint developer returned to me and received a preview release of their next release. he fixes this problem.

I could add that they are very responsive.

-1
source

Xcode .

. , , sourcecode.c.objc.

+10

Source: https://habr.com/ru/post/1730014/


All Articles