|
|
John M. Dlugosz wrote:
>
> I can use #error, #warning, etc. to output interesting text. Is there any
> way to include the location of the problem?
>
> Something like:
>
> #if (foo>bar)
> #error concat ("Your object is impossible. Stopped at ", __LINE__,
> "\n")
> #end
Doesn't the #error directive already spit out the line number of the source?
Post a reply to this message
|
|