HI
I want to define a debug macro in ccs, like this
- #define __DEBUG__
- #ifdef __DEBUG__
- #define DEBUG(format,...) printf("File: "__FILE__", Line: %05d: "format"/n", __LINE__, ##__VA_ARGS__)
- #else
- #define DEBUG(format,...)
- #endif
But CCS compile won't recognize with ##__VA_ARGS__ macros, how to reslove it ?
Thanks a lot
