Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make pointer-to-int-cast warnings non-fatal
Latest gcc on Debian unstable i386 starts to fail with > tests/test-umockdev-vala.vala:714:19: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] > xfer[0].tx_buf = (uint64) tx_buf; It's right -- this *is* an evil and wrong cast, but unfortunately Linux defines the struct precisely as that -- `u64`, on all platforms. As we can't selectively `#pragma` these away, disable the fatal warning globally.
- Loading branch information