Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | Philipp Klaus Krause <pkk@spth.de> |
|---|---|
| Newsgroups | comp.std.c |
| Subject | Re: 7.1.4p2 vs. Annex J |
| Date | 2020-08-04 10:53 +0200 |
| Organization | solani.org |
| Message-ID | <rgb7ml$a4b$1@solani.org> (permalink) |
| References | <87bljr84ay.fsf@nosuchdomain.example.com> |
J.2 is informative, and the part you quoted refers to normative text 7.1.2. In the current C2X draft N2479, the relevant sentenceg in 7.1.2 is: "If used, a header shall be included outside of any external declaration or definition, and it shall first be included before the first reference to any of the functions or objects it declares, or to any of the types or macros it defines." So clearly, the undefined behaviour does not happen when the header is not used at all. Philipp
Back to comp.std.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
7.1.4p2 vs. Annex J Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2020-08-03 20:42 -0700
Re: 7.1.4p2 vs. Annex J Ike Naar <ike@otaku.sdf.org> - 2020-08-04 05:26 +0000
Re: 7.1.4p2 vs. Annex J Philipp Klaus Krause <pkk@spth.de> - 2020-08-04 10:53 +0200
Re: 7.1.4p2 vs. Annex J Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2020-08-04 07:29 -0700
Re: 7.1.4p2 vs. Annex J Andy Walker <anw@cuboid.co.uk> - 2020-08-05 10:47 +0100
csiph-web