summaryrefslogtreecommitdiffstats
path: root/bsd-user/freebsd
diff options
context:
space:
mode:
authorMichael S. Tsirkin2017-01-27 17:27:16 +0100
committerDavid Gibson2017-01-31 04:04:06 +0100
commit25e6a11832bcd0715068f0cc24fb46ec03de676e (patch)
treebec81ce27a36dc09cbba58b2d549efce13823242 /bsd-user/freebsd
parenttarget/ppc/cpu-models: Fix/remove bad CPU aliases (diff)
downloadqemu-25e6a11832bcd0715068f0cc24fb46ec03de676e.tar.gz
qemu-25e6a11832bcd0715068f0cc24fb46ec03de676e.tar.xz
qemu-25e6a11832bcd0715068f0cc24fb46ec03de676e.zip
ppc: switch to constants within BUILD_BUG_ON
We are switching BUILD_BUG_ON to verify that it's parameter is a compile-time constant, and it turns out that some gcc versions (specifically gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609) are not smart enough to figure it out for expressions involving local variables. This is harmless but means that the check is ineffective for these platforms. To fix, replace the variable with macros. Reported-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> [dwg: Correct a printf format warning] Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'bsd-user/freebsd')
0 files changed, 0 insertions, 0 deletions