How to Compile C++14 code for Android? -


is possible compile c++14 source code android ndk10d? i've tried both g++ , clang compilers seems -std=c++14 -std=c++1y flags not work.

if use c++_static app_stl, following error:

user/someone/software/android/android-ndk-r10d/platforms/android-17/arch-arm/usr/include/locale.h:55:1: error: empty struct has size 0 in c, size 1 in c++

edit: using mac osx 10.10.4 xcode 6.3.2 (able compile c++14 ios).

i use android-ndk-r12b-windows-x86_64, compile success -std=c++14

android.mk

local_cppflags  = -wall -std=c++14 

Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -