How to include the std::future (#include <features>) lib in ti pdk
I am trying to build the hello world example with #include <features>. Getting the following error message,
In file included from C:\Projects\Porche\source\application_porsche\testApp\source\main.cpp:6:
C:\ti\ti-cgt-armllvm_3.2.0.LTS_win\include\c++\v1\thread:117:3: error: "<thread> is not supported since libc++ has been configured without support for threads."
# error "<thread> is not supported since libc++ has been configured without support for threads."
I have set the following compiler flags (TI Arm Clang Compiler - 3.2.0.LTS)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=armv7-r -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -fno-strict-aliasing -Wno-c++11-narrowing")