xcode“编译源为”覆盖特定文件 [英] xcode "compile source as" override for specific file

查看:238
本文介绍了xcode“编译源为”覆盖特定文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个项目必须设置为Objective-C ++为编译源为值(否,根据文件类型将不会在我的主项目中工作)。我有一个文件从一个框架(特别是OpenFeint),当编译为Objective-C ++编译错误时有一个问题。

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

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

在根据文件类型设置为编译源为值的测试项目中编译。所以我想知道如何设置一个特定的文件来编译为Objective-C?如果我可以得到这个文件编译为Objective-C在我真正的项目,一切都应该完美和谐地工作。

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

任何帮助是赞赏。

谢谢!

推荐答案

OpenFeint的开发者回到了我, - 释放他们的下一个版本。它修复了这个问题。

The developer of OpenFeint got back to me and got me a pre-release of their next release. it fixes this problem.

我可能补充说他们在那里非常敏感。

I might add that they where very responsive.

这篇关于xcode“编译源为”覆盖特定文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆