Hi, Does anyone here ever use #message in other compilers? It is a useful tool for making sure that code with many #ifdef compiles the way you want without adding to the number of warnings. thanks, Martin
"Does anyone here ever use #message in other compilers?" I kind of doubt it, since it is not part of Standard C.
#error and #warning are the standard message directives. #error stops processing, #warning emits the warning and continues processing. There was a thread a couple of weeks ago where someone had code with a "#pragma echo".
"#error and #warning are the standard message directives." To my knowledge, #warning is not part of Standard C either.
View all questions in Keil forum