Path: csiph.com!eternal-september.org!feeder.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: [Solved] Need some help getting to my feet Date: Fri, 27 Apr 2018 17:23:29 -0700 Organization: None to speak of Lines: 31 Message-ID: References: <0db1659a-6249-47d0-8fab-baf080d32f76@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: reader02.eternal-september.org; posting-host="966da011269b38c0203e69ae8f518ca8"; logging-data="4544"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Lkm+4j6Bir4JZ9PLDj4Sx" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:mPId1CJSRkaoe9+9DyVZwLM/K38= sha1:ZbjgO1x5tW9Togj5NCnOdpRcNXg= Xref: csiph.com comp.lang.c:129880 bartc writes: > On 27/04/2018 22:51, Keith Thompson wrote: >> bartc writes: > >> Incorrect. C99 dropped the "implicit int" rule. This: >> main() { } >> is a syntax error in C99 and later. Most compilers still permit it, >> either in some pre-C99 or non-conforming mode or as an extension. >> >>> Although some compilers will warn about this. >> >> Yes, if you bother to learn how to invoke them correctly. > > How about compiler writers bothering to implement the language properly? > Then potentially serious sources of error will be detected WITHOUT IT > MATTERING *HOW* THE COMPILER IS INVOKED. I AGREE THAT C COMPILERS SHOULD BE CONFORMING BY DEFAULT. MOST OF THEM AREN'T. I AM NOT A COMPILER WRITER, SO THERE'S NOT MUCH I CAN DO ABOUT IT. IT'S REALLY NOT THAT DIFFICULT TO LEARN HOW TO WORK AROUND THAT. YOUR REFUSAL TO DO SO IS NOT MY FREAKING PROBLEM. HOW MANY TIMES DO WE HAVE TO GO OVER THIS? STOP SCREAMING AT ME, AND I'LL STOP SCREAMING AT YOU. [SNIP] -- 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"