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.
Hi,
I am porting code from a 6713 to 28335 and I am getting this warning message, which I don't understand. Apparently something in one of the includes pulls in a header file called s_c__ti.h which is in conflict with something else. It happens on every file in the build. Any suggestions on how this file got included or why it is causing an error would be appreciated.
Thanks,
Lloyd
"C:\\ti-ccsv6\\ccsv6\\utils\\bin\\gmake" -k -j 8 all -O
'Building file: ../Source/uart.c'
'Invoking: C2000 Compiler'
"C:/ti-ccsv6/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --include_path="C:/ti-ccsv6/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" --include_path="C:/ti/controlSUITE/device_support/f2833x/v141/DSP2833x_common/include" --include_path="C:/ti/controlSUITE/device_support/f2833x/v141/DSP2833x_headers/include" --include_path="C:/ti-ccsv6/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" --include_path="C:/Users/lslonim.ESLTEMP-DOMAIN/Documents/Arrestment/Software/AAG Code workspage v6/trunk/Dev2 28335 Diagnostics/Include" --advice:performance=all -g --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="Source/uart.d" --obj_directory="Source" "../Source/uart.c"
"C:/ti-ccsv6/ccsv6/tools/compiler/c2000_15.12.3.LTS/include/s_c_features.h", line 439: warning #48-D: incompatible redefinition of macro "_STLP_VENDOR_CSTD" (declared at line 112 of "C:/ti-ccsv6/ccsv6/tools/compiler/c2000_15.12.3.LTS/include/s_c__ti.h")
'Finished building: ../Source/uart.c'
My headers are:
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <string.h>
#include <cstdarg>
#include "DSP2833x_Device.h"
#include "Types.h"
#include "globals.h"
Thank you for informing us about this problem. I can reproduce it. I filed CODEGEN-1646 in the SDOWP system to have this investigated. You are welcome to follow it with the SDOWP link below in my signature.
Thanks and regards,
-George
A workaround is to change ...
#include <cstdarg>
to ...
#include <stdarg.h>
I suspect that is what you meant in the first place.
Thanks and regards,
-George
Any update on when this will be fixed? I am having a lot of troubles with this same issue ( incompatible redefinition of macro "_STLP_VENDOR_CSTD" )