This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/MSP432P401R: c++ project and #include <function>

Part Number: MSP432P401R

Tool/software: Code Composer Studio

I am working on writing my own library on top of driverlib.

I started with the empty driverlib example with the gcc compiler.

Under project settings I changed the runtime library to libstdc++.a.  And changed the -std flag from -std=c99 to -std=c++11.

I tried including <function> and I get an error.

fatal error: function: No such file or directory
 #include <function>
          ^~~~~~~~~~
compilation terminated.

Do I not have the correct runtime library?  

Do I need to use the TI compiler for C++11?

**Attention** This is a public forum