Tool/software:
Dear Community,
I experienced an issue while trying to compile a C++ unit.
While using the "empty" example located within the following SDK-Path: ../ti/simplelink_wifi_sdk_9_13_01_04_ea/examples/rtos/CC35X1_LAUNCHXL/drivers/empty/freertos/ticlang/ I added a simple test.hpp/test.cpp file and added some dummy C++ Code using some STL features (std::vector). This caused some problems which originates to the "errno.c" file.
Within the file ti/simplelink_wifi_sdk_9_13_01_04_ea/source/ti/posix/ticlang/errno.h I noticed that there is eventually something wrong with the include of the errno header:
// The following line does not work for C++ // Note the path which explicitly is within a "c" folder /* include toolchain's header file */ #include <../../include/c/errno.h> // If the above line is mopdified like this, the C++ build succeeds #include_next <errno.h>
I noticed a similar Issue thich was reported a few years ago. Is this related?
Is there an alternative way to enable C++ builds instead of modifying the SDK?
Best Regards and many thanks,
Thomas