Content originally posted in LPCWare by atomicdog on Mon Mar 12 21:58:30 MST 2012 Quote: lsbach_plum At what point will appear if I use the directive '# pragma message'? At the compiler output just like #warning and #error.
Content originally posted in LPCWare by lsbach_plum on Mon Mar 12 21:52:43 MST 2012 I wanted the message appeared in stdrerr. At what point will appear if I use the directive '# pragma message'?
Content originally posted in LPCWare by atomicdog on Mon Mar 12 18:03:21 MST 2012 Please try to explain what you want to do. Maybe you want something like...
Content originally posted in LPCWare by mdkendall on Mon Mar 12 14:53:43 MST 2012 #error is not supposed to "pass compilation", it is supposed to generate an error; that is the whole point of it. You would use it to trap compile-time problems such as not having defined a required macro, or having defined inconsistent or unsupported values for macros.