Please include ada-hurd.diff upstream (try2)
Samuel Thibault
samuel.thibault@gnu.org
Wed May 4 15:29:00 GMT 2016
Hello Svante,
The gcc-6 build failed. I see that one of the change is:
- -- From: /usr/include/unistd.h __getpagesize or getpagesize??
- function Get_Page_Size return int;
+ -- From: /usr/include/i386-gnu/bits/shm.h __getpagesize or getpagesize??
+ function Get_Page_Size return size_t;
+ function Get_Page_Size return Address;
Why using size_t and Address? Other OSes use int, and the prototype for
getpagesize is returning int.
Also, don't use the __ versions of the glibc functions, they are
internal aliases, the API is without __.
Samuel
More information about the Gcc-patches
mailing list