Path: utzoo!utgpu!watmath!clyde!att!rutgers!mailrus!ames!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn ) Newsgroups: comp.lang.c Subject: Re: Two more common C compiler bugs Keywords: compiler,bugs Message-ID: <9052@smoke.BRL.MIL> Date: 3 Dec 88 08:46:57 GMT References: <2432@cbnews.ATT.COM> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB)) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 10 In article <2432@cbnews.ATT.COM> lvc@cbnews.ATT.COM (Lawrence V. Cipriani) writes: >The compiler thought the comparison of v to exit was invalid. The PCC compiler that Berkeley "borrowed" did not grok pointers to functions returing void, but it accepted declarations of them. Vendors who started with Berkeley's copy of the compiler instead of a more modern one spread the bug around. It's been fixed in the current 4.3BSD release, I believe (I don't use the Berkeley compiler; because of that and other bugs I ported the SVR1 VAX version for the BRL System V emulation on VAX 4.nBSD).