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

Re: [Xen-devel] [PATCH] clang: sizeof(type) must not have __attribute__(aligned)



Hi Ian,

On 16/09/14 09:21, Ian Campbell wrote:
On Sat, 2014-09-13 at 18:42 +0000, Marcin Cieslak wrote:

The commit message could go into a bit more detail as to why this is not
allowed. To me it sounds like clang is being overly picky, surely it can
just ignore the alignment in that context?

Clang will throw a warning when an attribute is unused (see -Wignored-attributes). In case of libxc, we compiled with -Werror which will turn this warning into an error.


I sent a patch few months ago [1] to disable this option. One of the solution was to modify mkheader.py.

Regards,

--
Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.