Cocos2dx-Lua 3.10 Luabing问题求助

环境已严格按 tools\tolua 下的 README.mdown 要求严格配置环境(版本均保持一致,NDK版本为android-ndk-r10c)。导出时提示错误如下:

====
Errors in parsing headers:
1. <severity = Warning,
    location = <SourceLocation file None, line 180, column 9>,
    details = "'__WCHAR_MAX__' macro redefined">
2. <severity = Warning,
    location = <SourceLocation file 'D:\\Android\\android-ndk-r10c\\toolchains\\llvm-3.4\\prebuilt\\windows-x86_64/lib/clang/3.4/include\\float.h', line 86, column 9>,
    details = "'FLT_DIG' macro redefined">
3. <severity = Warning,
    location = <SourceLocation file 'D:\\Android\\android-ndk-r10c\\toolchains\\llvm-3.4\\prebuilt\\windows-x86_64/lib/clang/3.4/include\\float.h', line 87, column 9>,
    details = "'DBL_DIG' macro redefined">
4. <severity = Warning,
    location = <SourceLocation file 'D:\\Android\\android-ndk-r10c\\toolchains\\llvm-3.4\\prebuilt\\windows-x86_64/lib/clang/3.4/include\\float.h', line 106, column 9>,
    details = "'FLT_MAX' macro redefined">
5. <severity = Warning,
    location = <SourceLocation file 'D:\\Android\\android-ndk-r10c\\toolchains\\llvm-3.4\\prebuilt\\windows-x86_64/lib/clang/3.4/include\\float.h', line 107, column 9>,
    details = "'DBL_MAX' macro redefined">
6. <severity = Warning,
    location = <SourceLocation file 'D:\\Android\\android-ndk-r10c\\toolchains\\llvm-3.4\\prebuilt\\windows-x86_64/lib/clang/3.4/include\\float.h', line 114, column 9>,
    details = "'FLT_MIN' macro redefined">
7. <severity = Warning,
    location = <SourceLocation file 'D:\\Android\\android-ndk-r10c\\toolchains\\llvm-3.4\\prebuilt\\windows-x86_64/lib/clang/3.4/include\\float.h', line 115, column 9>,
    details = "'DBL_MIN' macro redefined">
====

请问我应该如何解决这个问题

ndk版本用r9c还是r9d,具体忘记了。

都是警告而已,可以正常使用

ndk建议用ndkr9b吧,我用的这个版本,windows和mac上luabinding都成功了。

1赞