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: rittle at rsch dot comm dot mot dot com
- Subject: Re: PATCH: Adhere to section 17.4.1.2 clause 5 of ISO 14882:1998
- From: Gabriel Dos Reis <Gabriel dot Dos-Reis at cmla dot ens-cachan dot fr>
- Date: 06 Apr 2001 20:06:51 +0200
- Cc: libstdc++ at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Organization: CMLA, ENS Cachan -- CNRS UMR 8536 (France)
- References: <Pine.SOL.3.91.1010328161440.4287A-100000@cse.cygnus.com> <200104061737.f36HbTk18139@latour.rsch.comm.mot.com>
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.
-- Gaby