util-linux 2.10p compiler warnings

Andries.Brouwer@cwi.nl Andries.Brouwer@cwi.nl
Sat Oct 21 02:04:00 GMT 2000


    From drepper@redhat.com Sat Oct 21 03:42:59 2000

    Andries.Brouwer@cwi.nl writes:

    > According to the standards available to me, the field
    > sem_nsems of a struct semid_ds has type unsigned short.
    > 
    > However, I am told that with glibc 2.1.95 compilation

    Don't complain here, go to the clever kernel people.

No use hiding behind them, I would say - this is a libc matter.
First of all the headers should declare an unsigned short.
And secondly, if the kernel gives us some other type
libc should convert.

Andries


More information about the Libc-alpha mailing list