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++


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


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