Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!cmcl2!adm!smoke!gwyn From: gwyn@smoke.brl.mil (Doug Gwyn) Newsgroups: comp.lang.c Subject: Re: availability of ANSI-conformant compilers Keywords: ANSI compiler availability Message-ID: <14487@smoke.brl.mil> Date: 16 Nov 90 10:03:24 GMT References: <16440@csli.Stanford.EDU> Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 12 In article <16440@csli.Stanford.EDU> poser@csli.Stanford.EDU (Bill Poser) writes: >Are compiler producers ANSI-fying their compilers rapidly? Not all that rapidly; I expect to encounter environments without standard conforming C implementations for the next few years yet. The problem is worst for obsolete CPU product lines, for which there is little economic incentive for the vendors to modernize the support software. I think three of our five major mini vendors probably fall into that category. Consequently, I key on the __STDC__ preprocessing macro and include code for both standard-C and UNIX-pcc environments. This works fairly well and could be done more spiffily than I usually bother to do it.