This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: [Hurd] error_t, E*, and c++


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


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