Tool/software: TI C/C++ Compiler
I have a header file print.h with the following definition:
#define PRINTDEVLN(...) //debug::println(__VA_ARGS__)
This header, as well as PRINTDEVLN() is included in several other source files. When I uncomment the debug::println() function and do an incremental build via the build button (hammer), only print.cpp is recompiled (I expect to see all of the source files that include this macro also be compiled). As expected, the problem isn't an issue when I do a rebuild (Or any sort of clean). I just recently upgraded to CCS9 from CCS8, and I didn't have the problem with the older version. I commented out the entire line, and the compiler complained about one source files missing the function definition (but said nothing about the other files). When I removed the comment and performed another incremental build, print.cpp and the source file with the error were recompiled (but not the other files with the definition).
I feel like I must have an incorrect setting, has anyone else seen something like this?
There are my current settings:
- MSP Compiler: 18.12.2.LTS
- CCS Version: 9.0.1.00004