This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: GCC 3.0.2: errno conflict.
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: mike stump <mrs at windriver dot com>
- Cc: ncm-nospam at cantrip dot org, gcc at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: 14 Dec 2001 23:51:30 -0200
- Subject: Re: GCC 3.0.2: errno conflict.
- Organization: GCC Team, Red Hat
- References: <200112150110.RAA04701@kankakee.wrs.com>
On Dec 14, 2001, mike stump <mrs@windriver.com> wrote:
>> To: Nathan Myers <ncm-nospam@cantrip.org>
>> Cc: libstdc++@gcc.gnu.org, gcc@gcc.gnu.org
>> From: Alexandre Oliva <aoliva@redhat.com>
>> Date: 14 Dec 2001 22:57:30 -0200
>> On Dec 14, 2001, Nathan Myers <ncm-nospam@cantrip.org> wrote:
>> > In C++, errno [...] is a reserved name
>> > if _any_ standard C++ header is included.
>> Reference? I couldn't find it in a quick search :-(
> This is a homework problem... :-)
Indeed. Thanks :-)
> 17.3.4.1 Headers [lib.res.on.headers]
> 1 A C++ header may include other C++ headers.161) |
Is this supposed to be read as *any* other headers? What's the point
of defining separate headers and what each one should include, then?
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me