Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c > #401213
| From | Tim Rentsch <tr.17687@z991.linuxsc.com> |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Re: this girl calls c ugly |
| Date | 2026-08-15 09:37 -0700 |
| Organization | A noiseless patient Spider |
| Message-ID | <86tsov49wj.fsf@linuxsc.com> (permalink) |
| References | (1 earlier) <86ecipcbqa.fsf@linuxsc.com> <10vnlgu$382un$2@kst.eternal-september.org> <86bjdpayv0.fsf@linuxsc.com> <11003or$t9b$1@reader1.panix.com> <1100gbk$1lt8i$2@kst.eternal-september.org> |
Keith Thompson <Keith.S.Thompson+u@gmail.com> writes: > cross@spitfire.i.gajendra.net (Dan Cross) writes: > [...] > >> The text of the standard explicitly carves this out; or, rather, >> it attempts to. If the result of an expression is not >> representable in the target type, _regardless of whether that's >> due to UB or not_, a diagnostic is required. > > [...] > > How would an expression (appearing in a context that requires an > integer constant expression) not "evaluate to a constant that is in > the range of representable values for its type" other than by UB? I can think of one.
Back to comp.lang.c | Previous | Next — Next in thread | Find similar | Unroll thread
Re: this girl calls c ugly Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-08-15 09:37 -0700
Re: this girl calls c ugly Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-08-15 17:29 -0700
Re: this girl calls c ugly cross@spitfire.i.gajendra.net (Dan Cross) - 2026-08-18 20:30 +0000
csiph-web