Parsekit没有干净利落地编译

时间:2012-08-31 06:08:28

标签: parsekit

我从谷歌代码下载了最新版本,使用xcode 4.4(使用命令行工具),10.7.4,我收到以下错误。有什么想法吗?

In file included from /Users/otusweb/SkyDrive/Projects/parsekit/test/PKTokenNode.m:16:
/Users/otusweb/SkyDrive/Projects/parsekit/include/ParseKit/PKToken.h:42:13: 
error: token is not a valid binary operator in a preprocessor subexpression
#if PLATFORM(TWITTER_STATE)
    ~~~~~~~~^
/Users/otusweb/SkyDrive/Projects/parsekit/include/ParseKit/PKToken.h:67:13: error: 
token is not a valid binary operator in a preprocessor subexpression
#if PLATFORM(TWITTER_STATE)
    ~~~~~~~~^
/Users/otusweb/SkyDrive/Projects/parsekit/include/ParseKit/PKToken.h:168:13: error: 
token is not a valid binary operator in a preprocessor subexpression
#if PLATFORM(TWITTER_STATE)
    ~~~~~~~~^
3 errors generated.

1 个答案:

答案 0 :(得分:1)

刚下载了谷歌代码上的更新,删除了平台预处理器命令,现在可以正常运行...

奥利弗