www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2015/06/05/16:45:10

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Nick Bowler <nbowler AT draconx DOT ca>
Newsgroups: comp.os.msdos.djgpp,comp.std.c
Subject: Re: DJGPP v2.05: some thoughts
Date: Fri, 5 Jun 2015 20:19:57 +0000 (UTC)
Organization: A noiseless patient Spider
Lines: 34
Message-ID: <mkt09d$uta$2@dont-email.me>
References: <55673F0B DOT 1090103 AT iki DOT fi> <83twuwwshg DOT fsf AT gnu DOT org>
<55675040 DOT 9030008 AT iki DOT fi> <556F6E49 DOT 8010006 AT gmx DOT de>
<556FCCDF DOT 7080005 AT iki DOT fi> <83bngvr0ef DOT fsf AT gnu DOT org>
<557078B1 DOT 9040004 AT iki DOT fi> <201506041613 DOT t54GDT8m014488 AT delorie DOT com>
<5570B1F7 DOT 1070509 AT iki DOT fi> <83pp5aprqw DOT fsf AT gnu DOT org>
<mks4nl$1o8$1 AT speranza DOT aioe DOT org> <834mmmp7f0 DOT fsf AT gnu DOT org>
<mksolp$uta$1 AT dont-email DOT me> <83zj4enfns DOT fsf AT gnu DOT org>
Mime-Version: 1.0
Injection-Date: Fri, 5 Jun 2015 20:19:57 +0000 (UTC)
Injection-Info: mx02.eternal-september.org; posting-host="9990fc42081bd70cdbce1a6459ae8d5a";
logging-data="31658"; mail-complaints-to="abuse AT eternal-september DOT org"; posting-account="U2FsdGVkX1/22ZX5g5Mh0oSfrrjOhWUB"
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
git://git.gnome.org/pan2)
Cancel-Lock: sha1:fZoj/nKwDlvJV2y7mJk0y0zDzaU=
Bytes: 2673
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

[cross-posting this to comp.std.c for comments]

On Fri, 05 Jun 2015 22:01:11 +0300, Eli Zaretskii (eliz AT gnu DOT org) wrote:
>> From: Nick Bowler <nbowler AT draconx DOT ca>
>> 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.

It was not a quote from 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.

It's reserved for the implementation (DJGPP in this case) because this
text occurs in a library subclause.  You need to go back to the section
on reserved identifiers.  In particular:

C99§7.1.3p1 Reseverd Identifiers

   ... Each macro name in any of the following subclauses (including
       the future library directions) is reserved for use as specified
       if any of its associated headers is included; unless explicitly
       stated otherwise (see 7.1.4).

This text is also unchanged in C11.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019