Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: How to find the problem in the object file Date: Sun, 05 Feb 2017 16:14:39 -0800 Organization: None to speak of Lines: 23 Message-ID: References: <23ab01a2-5220-42cb-80b2-20a2b4a35d5c@googlegroups.com> <2beebc58-3f8f-46c6-bd10-e2ec3cf87906@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx02.eternal-september.org; posting-host="a493ffb40b28bf79b78d50880694c733"; logging-data="11209"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ceQxtL3iAy5jCvhJCAu0B" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:t1h5aOeMTq4b6HOfRvqIDDc5Qeo= sha1:bkf4S1nSJPr+favGK1cetx4uiBo= Xref: csiph.com comp.lang.c:103265 Ian Collins writes: > On 02/ 6/17 10:56 AM, Keith Thompson wrote: >> Malcolm McLean writes: >> [...] >>> Similarly no-one uses implicit int or non-prototyped functions >>> any more. >> >> Nonsense. I see plenty of C code with implicit int and >> non-prototyped functions, often in questions from inexperienced >> programmers. "int main()" rather than "int main(void)" is perhaps >> the most common example. > > But these, just like wearing underpants on your head, are mistakes. not > good practice. Of course. I'm disputing Malcolm's claim that noone makes those mistakes. -- Keith Thompson (The_Other_Keith) kst-u@mib.org Working, but not speaking, for JetHead Development, Inc. "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister"