While trying to compile a static library for my project I get the following error:
"C:/ti/ccs1030/ccs/tools/compiler/ti-cgt-arm_20.2.5.LTS/include/libcxx/__nullptr", line 55: error #20: identifier "namespace" is undefined
"C:/ti/ccs1030/ccs/tools/compiler/ti-cgt-arm_20.2.5.LTS/include/libcxx/__nullptr", line 56: error #66: expected a ";"
"C:/ti/ccs1030/ccs/tools/compiler/ti-cgt-arm_20.2.5.LTS/include/libcxx/cstddef", line 51: error #66: expected a ";"
"C:/ti/ccs1030/ccs/tools/compiler/ti-cgt-arm_20.2.5.LTS/include/libcxx/cstddef", line 56: error #66: expected a ";"
"C:/ti/ccs1030/ccs/tools/compiler/ti-cgt-arm_20.2.5.LTS/include/libcxx/cstddef", line 61: error #20: identifier "_LIBCPP_END_NAMESPACE_STD" is undefined
in the file cstdlib located at C:\ti\ccs1030\ccs\tools\compiler\ti-cgt-arm_20.2.5.LTS\include\libcxx\
The definition is in the same folder in the file __config
// TI compilers using libc++ always accept inline namespaces
#define _LIBCPP_BEGIN_NAMESPACE_STD namespace std { inline namespace _LIBCPP_NAMESPACE {
#define _LIBCPP_END_NAMESPACE_STD } }
#define _VSTD std::_LIBCPP_NAMESPACE
Can anyone help?
Thanks