Mail Archives: djgpp/2015/06/05/15:03:18
> From: Hans-Bernhard Bröker <HBBroeker AT t-online DOT de>
> Date: Fri, 05 Jun 2015 20:08:19 +0200
>
> Am 05.06.2015 um 16:16 schrieb Eli Zaretskii (eliz AT gnu DOT org):
> >> From: Martin Str|mberg <ams AT ludd DOT luth DOT se>
> >> Date: Fri, 5 Jun 2015 12:29:43 +0000 (UTC)
> >>
> >> But, IIRC, C99 (or even perhaps C89) reserved any symbol starting with E.
> >
> > Where do you see such language in C99? I don't see it, and neither do
> > I see it in C11. But maybe I'm missing something, it's not like I've
> > read the entire document top to bottom.
>
> This passage might be read that way (C99 7.5 <errno.h>, paragraph 4):
>
> Additional macro definitions, beginning with E and a digit
> or E and an uppercase letter, may also be specified by the
> implementation.
>
> This has a footnote pointing to C99 7.26.3 ("Future library directions",
> <errno.h>), which reads:
>
> Macros that begin with E and a digit or E and an uppercase
> letter may be added to the declarations in the <errno.h>
> header.
>
> I.e. the standard reserves other E* macros for itself, to be used in
> future versions. AIUI, that doesn't actually reserve them for use by
> DJGPP, though.
Indeed, it doesn't, IMO.
I think we should stick to the old practice of not defining
non-standard values when strict standard compliance was requested by
the compiler switches.
- Raw text -