Path: utzoo!attcan!uunet!lll-winken!lll-ncis!lll-lcc!ames!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn ) Newsgroups: comp.std.c Subject: Re: __STDC__ and non-conforming ANSI C compilers Message-ID: <9371@smoke.BRL.MIL> Date: 14 Jan 89 12:49:59 GMT References: <898@ubu.warwick.UUCP> <264@microsoft.UUCP> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 13 In article <264@microsoft.UUCP> w-colinp@microsoft.uucp (Colin Plumb) writes: >Personally, I generally thing setting __STDC__ to 0 if a compiler almost >makes it, but will parse ANSI C programs and, for the most part, compile >them, is a Good Thing. We already had this discussion, not long ago in fact. I maintain that predefining __STDC__ is a mistake, except when the implementation conforms to the Standard (in which case __STDC__ is necessarily preset to 1, for the current standard, or some number greater than 1, presumably, for a future compatible standard). There is no way you can know what use a programmer is making of __STDC__. In fact your guess was wrong for some of the code we have..