FreeBSD Bugzilla – Attachment 179077 Details for
Bug 216263
emulators/open-vm-tools emulators/open-vm-tools-nox11: Fix build with clang 4.0.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Disable -Waddress-of-packed-member for open-vm-tools
emulators__open-vm-tools-fix-clang400-build-1.diff (text/plain), 1.78 KB, created by
Dimitry Andric
on 2017-01-19 18:47:58 UTC
(
hide
)
Description:
Disable -Waddress-of-packed-member for open-vm-tools
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2017-01-19 18:47:58 UTC
Size:
1.78 KB
patch
obsolete
>Index: emulators/open-vm-tools/files/patch-configure >=================================================================== >--- emulators/open-vm-tools/files/patch-configure (revision 431745) >+++ emulators/open-vm-tools/files/patch-configure (working copy) >@@ -29,12 +29,12 @@ > > ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default" > if test "x$ac_cv_header_wchar_h" = xyes; then : >-@@ -22238,7 +22229,7 @@ >+@@ -22242,7 +22233,7 @@ > >- ### General flags / actions >- CFLAGS="$CFLAGS -Wall" >--CFLAGS="$CFLAGS -Werror" >-+CFLAGS="$CFLAGS -Werror -Wno-unused-function" >- > # -Wno-unknown-pragmas is due to gcc not understanding '#pragma ident' in Xlib.h on OpenSolaris. > for TEST_CFLAG in -Wno-pointer-sign -Wno-unused-value -fno-strict-aliasing \ >+- -Wno-unknown-pragmas -Wno-uninitialized; do >++ -Wno-unknown-pragmas -Wno-uninitialized -Wno-unused-function -Wno-address-of-packed-member; do >+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCC flag $TEST_CFLAG" >&5 >+ $as_echo_n "checking for GCC flag $TEST_CFLAG... " >&6; } >+ ORIGINAL_CFLAGS="$CFLAGS" >Index: emulators/open-vm-tools/files/patch-vmhgfs-Makefile >=================================================================== >--- emulators/open-vm-tools/files/patch-vmhgfs-Makefile (revision 431745) >+++ emulators/open-vm-tools/files/patch-vmhgfs-Makefile (working copy) >@@ -9,7 +9,7 @@ > COMMON_HGFS_SRCS += request.c > COMMON_HGFS_SRCS += worker.c > COMMON_HGFS_SRCS += fsutil.c >-@@ -108,7 +108,9 @@ >+@@ -108,7 +108,13 @@ > CWARNFLAGS += -Wpointer-arith > CWARNFLAGS += -Winline > CWARNFLAGS += -Wcast-qual >@@ -19,3 +19,7 @@ > > +.include <bsd.own.mk> > .include <bsd.kmod.mk> >++ >++.if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 40000 >++CWARNFLAGS += -Wno-error-address-of-packed-member >++.endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 216263
: 179077