This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [Hurd] error_t, E*, and c++
Samuel Thibault, le Tue 27 May 2008 11:01:29 +0100, a écrit :
> Roland McGrath, le Mon 26 May 2008 20:01:17 -0700, a écrit :
> > But I think we might just have to live with
> > C++ using (error_t) EFOO,
>
> A friend of mine suggested to rather use error_t(EFOO), which is a bit
> less dirty but still works.
(and it makes sense, as the standard says that E* are just ints).
Samuel