From: Mathieu Desnoyers Date: Tue, 14 May 2019 14:57:13 +0000 (-0400) Subject: Silence compiler "always false comparison" warning X-Git-Tag: v2.11.0-rc5~13 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=b777ae43d29f0ad74790a8b8e89379c35b27c3bc;p=lttng-modules.git Silence compiler "always false comparison" warning Compiling the bitfield test with gcc -Wextra generates those warnings: ../../include/babeltrace/bitfield-internal.h:38:45: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] #define _bt_is_signed_type(type) ((type) -1 < (type) 0) This is the intent of the macro. Disable compiler warnings around use of that macro. Signed-off-by: Mathieu Desnoyers