This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Adhere to section 17.4.1.2 clause 5 of ISO 14882:1998
- To: Gabriel Dos Reis <Gabriel dot Dos-Reis at cmla dot ens-cachan dot fr>
- Subject: Re: PATCH: Adhere to section 17.4.1.2 clause 5 of ISO 14882:1998
- From: Phil Edwards <pedwards at disaster dot jaj dot com>
- Date: Fri, 6 Apr 2001 14:46:30 -0400
- Cc: rittle at rsch dot comm dot mot dot com, libstdc++ at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- References: <Pine.SOL.3.91.1010328161440.4287A-100000@cse.cygnus.com> <200104061737.f36HbTk18139@latour.rsch.comm.mot.com> <flitkhgax0.fsf@sel.cmla.ens-cachan.fr>
On Fri, Apr 06, 2001 at 08:06:51PM +0200, Gabriel Dos Reis wrote:
> Loren James Rittle <rittle@latour.rsch.comm.mot.com> writes:
> | Assuming a liberal reading of this section, errno should be provided
> | as a macro even if the C implementation is something other than a
> | function or a macro (i.e. it is a global variable with external
> | linkage)...
>
> There has been a discussion to that effect on comp.std.c++ recently,
> and Steve Clamage's reading
>
> Message-ID: <3AB935DC.325E6AAF@sun.com>
>
> is that errno has an external linkage, thus it cannot be a macro
> name.
FWIW, entering that Message-ID into "the new Deja"
http://groups.google.com/advanced_group_search
will find the article quite handily (and it's a very informative article).
I would post the result URL, but it's several hundred characters long.
A cold cup of coffee says that Google changes their interface by the time
I post this. :-)
Phil
--
pedwards at disaster dot jaj dot com | pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools. Fools are protected by more capable fools.