Latest C++11 features with Android NDK

前端 未结 6 545
慢半拍i
慢半拍i 2020-12-08 08:31

I am trying to use C++11 threading facilities with Android NDK, but not sure how to make it use the latest compilers.

I have Clang 3.2 and can build iOS apps. I wond

6条回答
  •  爱一瞬间的悲伤
    2020-12-08 08:51

    NDK revision 10 has the Clang 3.6 toolchain. Use it:

    NDK_TOOLCHAIN_VERSION := clang3.6
    

    or use the latest available Clang toolchain

    NDK_TOOLCHAIN_VERSION := clang
    

提交回复
热议问题