NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: standards/46223: reserved identifier violation



The following reply was made to PR standards/46223; it has been noted by GNATS.

From: Klaus Klein <kleink%kleink.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: standards-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
        netbsd-bugs%netbsd.org@localhost, Markus.Elfring%web.de@localhost
Subject: Re: standards/46223: reserved identifier violation
Date: Sun, 18 Mar 2012 22:50:42 +0100

 On Sun, Mar 18, 2012 at 09:00:13PM +0000, Markus Elfring wrote:
 
 >  Do source files exist in your repository which tamper with the name space
 >  that is reserved for identifiers in C/C++ compiler implementations?
 
 Absolutely; you've referenced two of those. However, all of this
 is implementation namespace.
 
 >  Are there identifiers that belong more to other software applications than 
 > the 
 >  compiler and operating system combination?
 
 A standard specifies which identifiers names are reserved for use by
 the implementation; see 
http://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_02_02
 for one such instance. Other application software, such as 3rd-party
 libraries, usually have their own conventions of reserved identifiers
 or prefixes (such as possibly g_ in GLib) which are not to be tampered
 with by "applications", but as far as implementations are concerned,
 all applications are created equal.
 
 
 Regards,
 - Klaus
 


Home | Main Index | Thread Index | Old Index