bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] hurd: -Werror


From: Samuel Thibault
Subject: Re: [PATCH] hurd: -Werror
Date: Sun, 8 Feb 2015 05:24:36 +0100
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Roland McGrath, le Sat 07 Feb 2015 18:20:31 -0800, a écrit :
> Are you using --disable-werror for some reason?

Yes: we have a lot of warnings related with mig:

/usr/src/glibc/build/mach/RPC_default_pager_objects.c: In function 
'__default_pager_objects':
/usr/src/glibc/build/mach/RPC_default_pager_objects.c:188:6: warning: 
dereferencing type-punned pointer will break strict-aliasing rules 
[-Wstrict-aliasing]
      *objects = *((default_pager_object_t **)OutP->objects);
      ^
/usr/src/glibc/build/mach/RPC_default_pager_objects.c:215:6: warning: 
dereferencing type-punned pointer will break strict-aliasing rules 
[-Wstrict-aliasing]
      *ports = *((mach_port_t **)OutP->ports);
      ^

devstream.c:44:46: warning: passing argument 4 of 'device_write_inband' 
discards 'const' qualifier from pointer target type
    if (err = device_write_inband (dev, 0, 0, p, thiswrite, &wrote))

In file included from devstream.c:22:0:
/usr/src/glibc/build/mach/device/device.h:223:15: note: expected 'char *' but 
argument is of type 'const char *'
 kern_return_t device_write_inband
               ^

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]