]> git.proxmox.com Git - mirror_zfs.git/commit - config/zfs-build.m4
Disable gcc bool-compare warning
authorBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 13 Jul 2015 19:30:02 +0000 (12:30 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 13 Jul 2015 19:55:26 +0000 (12:55 -0700)
commitc2d17fd891add689786c569d7b5ea66d60d69b9b
tree3f59174db0639acfb5c82066a56676d9fa17de34
parent5970eb3d60346d385d0910c00ed5199b9af223c8
Disable gcc bool-compare warning

As of gcc version 5.1.1 a new boolean comparison warning has been
introduced.  This warning is harmless but is triggered several places
in the ZFS code base.  Because warnings are promoted to errors when
building with debugging enabled it is necessary to disable the warning
when using versions of gcc which automatically enabling this check.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
config/Rules.am
config/always-no-bool-compare.m4 [new file with mode: 0644]
config/kernel.m4
config/zfs-build.m4