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: Alexandre Oliva <aoliva at redhat dot com>
- To: Joe Buck <jbuck at synopsys dot COM>
- Cc: max at e-soft dot ru (Maxim Dementiev), gcc at gcc dot gnu dot org
- Date: 14 Dec 2001 18:12:10 -0200
- Subject: Re: GCC 3.0.2: errno conflict.
- Organization: GCC Team, Red Hat
- References: <200112141932.LAA15864@atrus.synopsys.com>
On Dec 14, 2001, Joe Buck <jbuck@synopsys.COM> wrote:
> Right, errno is allowed to be a macro, but the code in question does not
> have an #include of <errno.h> or of <cerrno>.
Good point. I had failed to consider this possibility. It does
indicate a bug in the library, then. But it may be a bug in libstdc++
or in glibc. It appears that it shouldn't be leaking into the user
space before <cerrno> or <errno.h> are included.
--
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