From: Oliver Kurth Date: Wed, 10 Apr 2019 21:14:57 +0000 (-0700) Subject: Remove use of "-Wno-address-of-packed-member" option for OVT builds on FBSD X-Git-Tag: stable-11.0.0~130 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6219e245c5e42479f4aef36ab8ee49db3c368f83;p=thirdparty%2Fopen-vm-tools.git Remove use of "-Wno-address-of-packed-member" option for OVT builds on FBSD With the HGFS source code refactor to avoid taking the address of a packed structure memberuse of "-Wno-address-of-packed-member" is no longer needed to build OVT on FBSD 11.x and FBSD 12.x. --- diff --git a/open-vm-tools/configure.ac b/open-vm-tools/configure.ac index aff1febff..7dd8cb8c7 100644 --- a/open-vm-tools/configure.ac +++ b/open-vm-tools/configure.ac @@ -1163,12 +1163,6 @@ AC_C_VOLATILE CFLAGS="$CFLAGS -Wall" CFLAGS="$CFLAGS -Werror" -# Suppress warnings from clang when taking the address of packed struct -# member fields when compiling hgfsServer.c -if $CC --version | $GREP -i "clang" > /dev/null; then - CFLAGS="$CFLAGS -Wno-address-of-packed-member" -fi - # -Wno-unknown-pragmas is due to gcc not understanding '#pragma ident' # in Xlib.h on OpenSolaris. # Glib2 keep changing mutex APIs so we also need to disable 'deprecated'