Newsgroups: comp.lang.c Path: utzoo!henry From: henry@zoo.toronto.edu (Henry Spencer) Subject: Re: Behavior of #error preprocessor directive Message-ID: <1991Jan8.011940.26586@zoo.toronto.edu> Organization: U of Toronto Zoology References: <1192@van-bc.wimsey.bc.ca> Date: Tue, 8 Jan 1991 01:19:40 GMT In article <1192@van-bc.wimsey.bc.ca> jtc@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@zoo.toronto.edu utzoo!henry