On 09/09/2016 12:29 PM, Alex Bennée wrote:
config-temp/qemu-conf.c:12:8: error: unused variable 'is_host64' [-Werror=unused-variable] cc1: all warnings being treated as errors
Try this. r~ diff --git a/configure b/configure index 519de5d..bd59cdd 100755 --- a/configure +++ b/configure @@ -4479,7 +4479,7 @@ int main(void) __atomic_exchange_8(&x, y, 0); __atomic_fetch_add_8(&x, y, 0); #else - char is_host64[sizeof(void *) >= sizeof(uint64_t) ? 1 : -1]; + typedef char is_host64[sizeof(void *) >= sizeof(uint64_t) ? 1 : -1]; __sync_lock_test_and_set(&x, y); __sync_val_compare_and_swap(&x, y, 0); __sync_fetch_and_add(&x, y);