NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: standards/46223 (reserved identifier violation)
Synopsis: reserved identifier violation
State-Changed-From-To: open->closed
State-Changed-By: kleink%NetBSD.org@localhost
State-Changed-When: Sun, 18 Mar 2012 21:23:37 +0000
State-Changed-Why:
This is not a bug.
The cited reference applies to applications, and not to the implementation
(compiler, library, OS) of the specification (standard). The headers
shipped with NetBSD are part of the implementation; changing them as
recommended in the reference would pollute application namespace.
Please consult any recent C standard, section 7.1.3 ("Reserved
identifiers") for reference ("All identi�ers that begin with an
underscore and either an uppercase letter or another underscore
are always reserved for anyuse.", see also paragraph #2), or
the Open Group Base Specifications Issue 7, System Interfaces 2.2.2
("The Name Space") at
http://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_02_02
("With the exception of identifiers beginning with the prefix _POSIX_, n
all identifiers that begin with an <underscore> and either an
uppercase letter or another <underscore> are always reserved for
any use by the implementation.")
If you come across a problem caused by a system header violating
those constraints, please submit a new PR in this category.
Home |
Main Index |
Thread Index |
Old Index