This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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.


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


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