Path: csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Tim Rentsch Newsgroups: comp.lang.c Subject: Re: Constants and undefined behavior Date: Mon, 29 Jun 2026 05:41:10 -0700 Organization: A noiseless patient Spider Lines: 11 Message-ID: <86mrwd7c49.fsf@linuxsc.com> References: <10v7b32$2u85v$1@dont-email.me> <110ghmv$21vi3$1@dont-email.me> <110jgsg$4ll$1@reader1.panix.com> <110k0mp$329k6$1@dont-email.me> <110me3t$gli$1@reader1.panix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Mon, 29 Jun 2026 12:41:13 +0000 (UTC) Injection-Info: dont-email.me; logging-data="374356"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18VHReW72KQbv9QRfbeWOZKh6/HpzIKFb0="; posting-host="256370b7936bc263cc2db6738e470b6a" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) Cancel-Lock: sha1:OULEqozfP+tUATcCJq+IL0lLRII= sha1:0HlnTS4PcuLSGYS/lAWRoMwSpwA= sha256:/+ZAdmqecBa9tgSaMVWPAkB0u9Ag9SZpixgn2vpoYeM= sha1:XMFJuV/ajzFTPIlu4D/G8tWH4+I= sha256:75aq20kGQdJXXAsihrngG7TMa5bZWwTh9KL0FqN55OQ= sha1:p0nEKkvzmoci0FUVZl8fu3ifAJo= Xref: csiph.com comp.lang.c:400284 cross@spitfire.i.gajendra.net (Dan Cross) writes: [...] > "Undefined Behavior", in C, in the manner usually discussed in > this newsgroup, was introduced with the first standard. The term but not the concept, which was there since the early days of C -- at least since K&R in 1978, and very likely earlier (I haven't reviewed any of the earlier descriptions of the language).