Re: [libvirt] [PATCH 1/7] Rewrite keycode map to avoid a struct

2013-04-05 Thread Eric Blake
On 04/03/2013 09:06 AM, Daniel P. Berrange wrote: > From: "Daniel P. Berrange" > > Playing games with field offsets in a struct causes all sorts > of alignment warnings on ARM platforms > > util/virkeycode.c: In function '__virKeycodeValueFromString': > util/virkeycode.c:26:7: warning: cast incr

Re: [libvirt] [PATCH 1/7] Rewrite keycode map to avoid a struct

2013-04-05 Thread Michal Privoznik
On 03.04.2013 17:06, Daniel P. Berrange wrote: > From: "Daniel P. Berrange" > > Playing games with field offsets in a struct causes all sorts > of alignment warnings on ARM platforms > > util/virkeycode.c: In function '__virKeycodeValueFromString': > util/virkeycode.c:26:7: warning: cast increas

[libvirt] [PATCH 1/7] Rewrite keycode map to avoid a struct

2013-04-03 Thread Daniel P. Berrange
From: "Daniel P. Berrange" Playing games with field offsets in a struct causes all sorts of alignment warnings on ARM platforms util/virkeycode.c: In function '__virKeycodeValueFromString': util/virkeycode.c:26:7: warning: cast increases required alignment of target type [-Wcast-align] (*(