I am using the latest CCSV6 Version: 6.1.3.00033 with MSP430 Compiler 4.4.7.
This previously showed no errors in the earlier CCS 6.1.1.
Within the IDE I get an error marker in my reduced function printf.c code when I us va_start
The Problems tab shows:
Description Resource Path Location Type
Function '__va_argref' could not be resolved PRINTF.C /APIA30307/SOURCE line 66 Semantic Error
Function '__va_argref' could not be resolved PRINTF.C /APIA30307/SOURCE line 239 Semantic Error
Function '__va_parmadr' could not be resolved PRINTF.C /APIA30307/SOURCE line 66 Semantic Error
Function '__va_parmadr' could not be resolved PRINTF.C /APIA30307/SOURCE line 66 Semantic Error
Function '__va_parmadr' could not be resolved PRINTF.C /APIA30307/SOURCE line 239 Semantic Error
Function '__va_parmadr' could not be resolved PRINTF.C /APIA30307/SOURCE line 239 Semantic Error
However when I click on the va_start function (which generates the errors) it correctly goes to the MSP430 stdarg.h file.
Also, when I compile the file, the compiler reports no errors (So presumably it can correctly resolve the includes).
C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.7/bin/cl430 --fp_reassoc=off --sat_reassoc=off --symdebug:dwarf --plain_char=signed --opt_level=2 --silicon_version=msp -DMSP_CPU=1612 -I=C:/ti/ccsv6/ccs_base/msp430/include -I=../ -I=C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.7/lib/src -DPCB_MODEL=1 printf.c
I have tried using the index menu item to resolve externals but nothing changes.
How do I fix these unresolved Functions?
This version of the CCS also reports that my function has no return for a function which should return short.
The function does in fact have a return within a for(;;), if I put an unreachable return after the for(;;) this removes this warning.

