Path: csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.unix.programmer,comp.lang.c Subject: Re: Odd compiler behaviour? Date: Tue, 01 Mar 2016 10:56:17 -0800 Organization: None to speak of Lines: 21 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx02.eternal-september.org; posting-host="945944de09706c9b4e29b53c9d2efdc2"; logging-data="31059"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/jfVBqr+uxwi2L4k2J2Zu2" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:+s6O3Mu/aXaDNumtltfaenXDXHc= sha1:ZNLfOL8KU4vFp2R3CMhxVm6TyT0= Xref: csiph.com comp.unix.programmer:7976 comp.lang.c:82885 Geoff writes: > On Tue, 1 Mar 2016 17:05:52 +0000 (UTC), spud@potato.field wrote: >>TBH I doubt many people care much about C standards past 1999. C++ leads the >>way these days I'm afraid. > > It's interesting you should say that since C++ relies on the C > standard library and if gets has been removed from the C standard > library then it's removed from C++. Furthermore, what you have written > isn't C++ but C and you posted your question in a C newsgroup. The current C++ standard refers to the C99 library, not the C11 library. I believe there are discussions in progress about updating that for the next C++ standard. [...] -- 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"