Mail Archives: djgpp/2015/06/05/15:01:23
> From: Nick Bowler <nbowler AT draconx DOT ca>
> Date: Fri, 5 Jun 2015 18:10:01 +0000 (UTC)
>
> On Fri, 05 Jun 2015 17:16:19 +0300, Eli Zaretskii (eliz AT gnu DOT org) wrote:
> >> 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.
>
> Names starting with E followed by a digit or an uppercase letter are
> reserved if <errno.h> is included.
I don't see this text in the standard.
> C99§7.5p4 Errors <errno.h>:
>
> Additional macro definitions, beginning with E and a digit or E and
> an uppercase letter, may also be specified by the implementation.
>
> This text was copied unchanged into C11. I am quite sure it was also
> present in C89.
It's indeed present in C89, but I don't see how it reserves these
names.
- Raw text -