Behavior of #error preprocessor directive
Henry Spencer
henry at zoo.toronto.edu
Tue Jan 8 12:19:40 AEST 1991
In article <1192 at van-bc.wimsey.bc.ca> jtc at van-bc.wimsey.bc.ca (J.T. Conklin) writes:
>Is use of the #error preprocessor directive required (or permitted) to
>halt compilation of a source module...
Permitted but not required. The whole area of response to errors is outside
the scope (as eventually decided) of the standard. It is legitimate to
write a C implementation which crashes your machine as soon as any error
message is produced, although you may have trouble convincing anyone to
buy it...
--
If the Space Shuttle was the answer, | Henry Spencer at U of Toronto Zoology
what was the question? | henry at zoo.toronto.edu utzoo!henry
More information about the Comp.lang.c
mailing list