Hi,
I'm using CCE V3 to write code for an MSP430F168.
Is there a way to have user generated warnings when compiling code something like,
#ifdef SEND_DEBUG_DATA
#warning "Sending Debug Data"
#endif
Thanks,
Ben
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'm using CCE V3 to write code for an MSP430F168.
Is there a way to have user generated warnings when compiling code something like,
#ifdef SEND_DEBUG_DATA
#warning "Sending Debug Data"
#endif
Thanks,
Ben
You can use
#warn your message here
If you build with --gcc to enable GCC extensions, you can also use
#warning your message here
This is not covered in the documentation. I filed record SDSCM00035488 in SDOWP to have this fixed in a future release. Feel free to query status with the SDOWP link in my sig below.
Thanks and regards,
-George