[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Warnings when compiling the Hurd -- strict aliasing
From: |
Samuel Thibault |
Subject: |
Re: Warnings when compiling the Hurd -- strict aliasing |
Date: |
Thu, 14 Jun 2007 16:57:29 +0200 |
User-agent: |
Mutt/1.5.11 |
Hi,
Thomas Schwinge, le Thu 14 Jun 2007 16:42:10 +0200, a écrit :
> From the quick glance I had, the problem is that MIG only handles data
> structures via the `vm_address_t' type, whereas in the C code those
> are pointers to structures.
But if I understand correctly, the problem is that doing this:
> +typedef vm_offset_t __attribute__ ((__may_alias__)) vm_address_t;
will make vm_offset_t alias anybody, but not the content it is referring
to.
Samuel