Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.std.c > #6138

Re: 7.1.4p2 vs. Annex J

Path csiph.com!weretis.net!feeder6.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From Philipp Klaus Krause <pkk@spth.de>
Newsgroups comp.std.c
Subject Re: 7.1.4p2 vs. Annex J
Date Tue, 4 Aug 2020 10:53:41 +0200
Organization solani.org
Message-ID <rgb7ml$a4b$1@solani.org> (permalink)
References <87bljr84ay.fsf@nosuchdomain.example.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
Injection-Date Tue, 4 Aug 2020 08:53:41 -0000 (UTC)
Injection-Info solani.org; logging-data="10379"; mail-complaints-to="abuse@news.solani.org"
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0
Content-Language en-US
X-User-ID eJwFwQkBwDAIA0BLMCBp5fAU/xJ2FwZF0xHw2FgxXmZJJir76Rd1xtPKOKPsNyOHekGpheoPJ+cRTw==
Autocrypt addr=pkk@spth.de; keydata= mQGiBD+wIQ0RBAD5IkcgQQIAPO93xBBvviI0htuoaeb++GqG51BImx+rnWIS+1z+r3y5jQU5 IRYS8eDC3eR5PFtde/f7/3zxaJIB0bgXB1eMPot5CaN7mpUySVNh9bzH/UP7rVH0Ut7Bx/CI 7EXxhvYE23F/TAf+gS4flFqQ/GdK+MME+dg8J5nFbwCg92xq6iuAvyz7vSho9qbKHsCD3AkE AMbuLLBvk4mPvs19aRGZvT/pows1uzkeNq8fpmzvryb4UxUbU89qlNzA2Bg8ztVZGX9x5drb C4tFE29ZFAHn2bojx2ADxG85+2as8yfcz6sPG4HMzeTtugzPGCeRAXaSknZHsw6AC6LrtsEU sjEZMElfvu8uU4dthfhXOIDVNRHmA/446GsHRLosDHFuDjHpBQJPJSBnFDyRSCge2Q0gup96 GGhNc7KkYeIB8Dh7dCN3h5RYXflVTspx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-Reply-To <87bljr84ay.fsf@nosuchdomain.example.com>
Cancel-Lock sha1:4IQ9ruCRF5mVLRA+3EHCotpiHc0=
Xref csiph.com comp.std.c:6138

Show key headers only | View raw


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


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