[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] rombios: work around clang's -Waddress-of-packed-member
On Fri, Aug 24, 2018 at 10:30:37AM -0500, Doug Goldstein wrote: > On Fri, Aug 24, 2018 at 04:22:15PM +0100, Wei Liu wrote: > > Building rombios with clang XXX fails with: Oops, I have meant to replace XXX with the right version number. Will fix that while committing. > > > > tcgbios.c:1519:34: error: taking address of packed member 'u' of class or > > structure 'pushad_regs_t' may result in an unaligned pointer value > > [-Werror,-Waddress-of-packed-member] > > ®s->u.r32.edx); > > ^~~~~~~~~~~~~~~ > > > > Work around that by using an intermediate variable. > > > > Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx> > > Reviewed-by: Doug Goldstein <cardoe@xxxxxxxxxx> _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |