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

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


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.

> or else supply a C++ <errno> or whatever where there is explicitly
> no expectation of int-valued or cpp-usable values, if people would
> actually use that.

That would be less easy to get accepted I guess.

Samuel



More information about the Libc-alpha mailing list