I tried to port a project from CCS 3.3 which used va_arg() and v4 gives an error on this. I've migrated to using Win7 64-bit so couldn't reinstall v3.3. This macro doesn't seem to be in the header files for v4. What next?
Tx,
Matt
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.
I tried to port a project from CCS 3.3 which used va_arg() and v4 gives an error on this. I've migrated to using Win7 64-bit so couldn't reinstall v3.3. This macro doesn't seem to be in the header files for v4. What next?
Tx,
Matt
I think this is a compiler thing, not a CCS thing. I did a Windows search in the following directory:
C:\Program Files\Texas Instruments\ccsv4\ccsv4\tools\compiler\c2000
It found va_arg in the stdarg.h file. Have you included this file? The header file indicates that it is part of compiler version 5.2.1. Perhaps you should check to see which compiler version you were using previously.
In any case, have you included stdarg.h and what is the specific error message?
That solved that problem. Thank you.
I had several other std....h files included but not <stdarg.h>. It must have been automatically included in the 3.3 version h files which compiled just fine without it being specifically listed. What's odd is that the first time I imported this project into v4 it compiled without errors. Anyway, problem solved. Thanks again.
Matt