Public Comment Number PC-UK0005 ISO/IEC CD 9899 (SC22N2620) Public Comment =========================================== Date: 1997-12-25 Author: Clive D.W. Feather Author Affiliation: Self Postal Address: Demon Internet Limited 322 Regents Park Road London N3 2QQ United Kingdom E-mail Address: Telephone Number: +44 181 371 1138 Fax Number: +44 181 371 1037 Number of individual comments: 1 Comment 1. Category: Normative change to existing feature retaining the original intent Committee Draft subsection: 3.18, 6.8.5 Title: Make #error have the desired effect Detailed description: Consider the program: #error foo int main(void) { return 0; } This does not violate any of 3.18p3: The implementation must successfully translate a given program unless a syntax error is detected, a constraint is violated, or it can determine that every possible execution of that program would result in undefined behavior. but clearly ought to. A reasonable way to fix this is to add to the end of 3.18p3: The implementation must not successfully translate a program that contains a #error preprocessing directive that is not part of a group that is skipped by conditional inclusion.