GCC 3.0.2: errno conflict.

mike stump mrs@windriver.com
Fri Dec 14 17:52:00 GMT 2001


> 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).



More information about the Gcc mailing list