Path: utzoo!utgpu!watmath!clyde!att!pacbell!ames!ncar!tank!mimsy!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn ) Newsgroups: comp.lang.c Subject: Re: typechecking Keywords: typechecking, lint Message-ID: <9335@smoke.BRL.MIL> Date: 11 Jan 89 08:33:31 GMT References: <19620@uflorida.cis.ufl.EDU> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 8 In article <19620@uflorida.cis.ufl.EDU> thoth@banana.cis.ufl.edu () writes: >fprintf("%s : line %d : colon expected.\n",filename,linenumber); >Turbo catches this and gcc doesn't. I'm somewhat surprised that GCC doesn't catch this, since the correct prototype in would be int fprintf(FILE *, const char *, ...); and the compiler should be able to validate the first two argument types.