[Hurd] error_t, E*, and c++

Samuel Thibault samuel.thibault@ens-lyon.org
Tue May 27 11:49:00 GMT 2008


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



More information about the Libc-alpha mailing list