Bleah, some dissectors still insist on using structures and sizeof and
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 22 Apr 2009 03:10:24 +0000 (03:10 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 22 Apr 2009 03:10:24 +0000 (03:10 +0000)
offsetof, so turn off 64-to-32 warnings for now.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28118 f5534014-38df-0310-8fa8-9805f1628bb7

configure.in

index a757ebf0a69d36336aa1ec0b7f4a52cb5b604000..4fdcb75310ffb77aabbda054ab84ab014bf17e3c 100644 (file)
@@ -247,6 +247,10 @@ AC_ARG_ENABLE(extra-gcc-checks,
                # epan/dissectors/packet-afs.c blocks this one for now.
                #
                AC_WIRESHARK_GCC_CFLAGS_CHECK(-Wshadow)
+               #
+               # More cleanup needed for this on LP64.
+               #
+               AC_WIRESHARK_GCC_CFLAGS_CHECK(-Wshorten-64-to-32)
        fi
 ],)
 AC_WIRESHARK_GCC_CFLAGS_CHECK(-Wall -W) # -W is now known as -Wextra
@@ -257,7 +261,6 @@ AC_WIRESHARK_GCC_CFLAGS_CHECK(-Wno-pointer-sign)
 AC_WIRESHARK_GCC_CFLAGS_CHECK(-Warray-bounds)
 AC_WIRESHARK_GCC_CFLAGS_CHECK(-Wcast-align)
 AC_WIRESHARK_GCC_CFLAGS_CHECK(-Wformat-security)
-AC_WIRESHARK_GCC_CFLAGS_CHECK(-Wshorten-64-to-32)
 
 #
 # If we're running gcc add '-D_U_="__attribute__((unused))"' to CFLAGS as well,