This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 3.0.2: errno conflict.
- From: mike stump <mrs at windriver dot com>
- To: aoliva at redhat dot com, ncm-nospam at cantrip dot org
- Cc: gcc at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Fri, 14 Dec 2001 17:10:28 -0800 (PST)
- Subject: Re: GCC 3.0.2: errno conflict.
> 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... :-)
17.3.4.1 Headers [lib.res.on.headers]
1 A C++ header may include other C++ headers.161) |
161) C++ headers must include a C++ header that contains any needed
definition (3.2).