This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]