#error

Doug Gwyn gwyn at smoke.brl.mil
Tue Apr 23 04:12:18 AEST 1991


In article <14793 at darkstar.ucsc.edu> daniel at terra.ucsc.edu (Daniel Edelson) writes:
>Therefore, a strictly conforming program may contain #error.

Yes.

>The question is: must a conforming implementation "successfully 
>translate" any strictly conforming program?

The exact requirement is that stated in section 1.7 of ANS X3.159-1989.

Note that encountering of an #error directive does not halt translation;
it merely generates a diagnostic message.



More information about the Comp.std.c mailing list