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


Groups > comp.std.c > #1874

Re: Reserved Identifiers

From Bart van Ingen Schenau <bart@ingen.ddns.info.invalid>
Newsgroups comp.std.c
Subject Re: Reserved Identifiers
Date 2013-01-21 10:56 +0000
Organization A noiseless patient Spider
Message-ID <kdj6sp$96c$1@dont-email.me> (permalink)
References <kc0oon$i0t$1@dont-email.me> <n9ednUPDD9h732fNnZ2dnUVZ_vmdnZ2d@earthlink.com> <kdegai$ruc$1@dont-email.me> <kdggul$88u$2@dont-email.me> <kdhpor$3d9$1@dont-email.me>

Show all headers | View raw


On Sun, 20 Jan 2013 17:06:18 -0500, Shao Miller wrote:

> I guess this wasn't a great re-statement of the opposing position.  I
> don't quite know how else to describe the difference...  Maybe:
> 
>    - There is a form of identifier that is reserved for any use 
>    - Identifiers with this form appear in the Standard 
>    - Headers can (and sometimes must) declare/define these
> 
> versus:
> 
>    - There is a form of identifier that is reserved for any use 
>    - Identifiers with this form appear in the Standard 
>    - Headers can (and sometimes must) declare/define these
>    - Headers can declare/define their own identifiers with this form,
> where those identifiers aren't discussed by the Standard

Then I would ask those who hold the first position this:
"Identifiers like _Imaginary_I and _Exit are already covered by the very 
first words of clause 7.3.1/1 ("Each header declares or defines all 
identifiers listed in its associated subclause"), so why would the 
additional text about optionally allowing reserved identifiers be needed?"

As additional evidence for the second stance, I would give this quote 
from K&R2 (Appendix B):
<quote>
External identifiers that begin with an underscore are reserved for use 
by the library, as are all other identifiers that begin with an 
underscore and an upper-case letter or another underscore.
</quote>

> 
> --
> - Shao Miller

Bart v Ingen Schenau

Back to comp.std.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Reserved Identifiers Shao Miller <sha0.miller@gmail.com> - 2013-01-02 02:48 -0500
  Re: Reserved Identifiers Jonathan Leffler <jleffler@earthlink.net> - 2013-01-18 22:53 -0800
    Re: Reserved Identifiers Shao Miller <sha0.miller@gmail.com> - 2013-01-19 11:06 -0500
      Re: Reserved Identifiers Keith Thompson <kst-u@mib.org> - 2013-01-19 15:28 -0800
        Re: Reserved Identifiers Shao Miller <sha0.miller@gmail.com> - 2013-01-20 16:57 -0500
          Re: Reserved Identifiers Keith Thompson <kst-u@mib.org> - 2013-01-20 19:52 -0800
      Re: Reserved Identifiers Bart van Ingen Schenau <bart@ingen.ddns.info.invalid> - 2013-01-20 10:29 +0000
        Re: Reserved Identifiers Shao Miller <sha0.miller@gmail.com> - 2013-01-20 17:06 -0500
          Re: Reserved Identifiers Bart van Ingen Schenau <bart@ingen.ddns.info.invalid> - 2013-01-21 10:56 +0000
            Re: Reserved Identifiers Shao Miller <sha0.miller@gmail.com> - 2013-01-21 18:24 -0500

csiph-web