Path: utzoo!attcan!uunet!snorkelwacker!paperboy!meissner From: meissner@osf.org (Michael Meissner) Newsgroups: comp.lang.c Subject: Re: How to force cpp to abort? Message-ID: Date: 13 Aug 90 17:21:21 GMT References: <17377@haddock.ima.isc.com> Sender: news@OSF.ORG Distribution: comp Organization: Open Software Foundation Lines: 19 In-reply-to: mikeg@c3.c3.lanl.gov's message of 13 Aug 90 15:27:41 GMT In article mikeg@c3.c3.lanl.gov (Michael P. Gerlek) writes: | So, academic question: from what I understand, #error isn't guaranteed | to stop compilation. Can someone tell me why there isn't something | like an "#abort error-message-here" directive that *would* terminate? | Seems like this'd be really useful... I always use something like: int double error; /* reason */ It's grungy, but it should generate an error on anything that calls itself a C compiler. -- Michael Meissner email: meissner@osf.org phone: 617-621-8861 Open Software Foundation, 11 Cambridge Center, Cambridge, MA, 02142 Do apple growers tell their kids money doesn't grow on bushes?