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.

Preprocessor or pragma command to emit messages to output during compilation?



I am using version 4.2.4 of the MSP430 compiler and I can't seem to find a way to emit messages during compilation to the output stream of the compiler.

Something like

#error "MESSAGE"

but without terminating compilation.

I attempted to use #warning but it just threw an error for an undefined directive.

Some compilers have

#message "MESSAGE"