Hello,
The following can not compile with g++ on GNU/Hurd:
#include
int main(void) {
error_t = EPERM;
}
test.c:9: error: invalid conversion from 'int' to 'error_t'
That is because errno.h #defines EPERM to _HURD_ERRNO(1), and then g++
complains because error_t is an enum.
I guess we s
> Ok, then put them into sys/types.h, since that's where POSIX says they
> are :)
>> > - I would have put __CONCAT in the ELF header, as it's the only place
>> > where it is used. Other helper macros aren't used.
>> Same as above.
>
> Then another place too, it really doesn't belong to vm_types.h
Hello,
Andrei Barbu, le Sun 25 May 2008 02:07:36 -0400, a écrit :
> > - I'm not sure we want to instroduce the POSIX types. Can't we just use
> > the Mach types in the ELF headers? It looks like there aren't so many
> > occurences anyway.
> I'd prefer to keep the headers unchaged.
Ok, then pu