VirtualBox

Changeset 85165 in vbox


Ignore:
Timestamp:
Jul 10, 2020 10:05:00 AM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
139129
Message:

/Config.kmk: R0 driver code needs -Wno-nullability-extension and -Wno-gnu-statement-expression with Clang 11 and the 10.13 SDK. bugref:9790

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r85161 r85165  
    29472947# CLang 11.
    29482948        $(QUIET)$(APPEND) '$@' 'VBOX_GCC_Wno-c++17-compat-mangling ?= $(call VBOX_GCC_CHECK_CXX,-Wno-c++17-compat-mangling,)'
     2949        $(QUIET)$(APPEND) '$@' 'VBOX_GCC_Wno-nullability-extension ?= $(call VBOX_GCC_CHECK_CXX,-Wno-nullability-extension,)'
     2950        $(QUIET)$(APPEND) '$@' 'VBOX_GCC_Wno-gnu-statement-expression ?= $(call VBOX_GCC_CHECK_CXX,-Wno-gnu-statement-expression,)'
    29492951ifeq ($(KBUILD_TARGET),solaris)
    29502952        $(QUIET)$(APPEND) '$@' 'VBOX_GCC_msave-args            ?= $(call VBOX_GCC_CHECK_CXX,-msave-args,)'
     
    48974899        -fmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -Wnon-modular-include-in-framework-module \
    48984900        -Werror=non-modular-include-in-framework-module \
     4901        $(VBOX_GCC_Wno-nullability-extension) $(VBOX_GCC_Wno-gnu-statement-expression) \
    48994902        $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fasm-blocks -fno-strict-aliasing -stdlib=libc++
    49004903#  if1of ($(VBOX_GCC_TOOL), CLANGXXMACHO) ## @todo check if we can safely use $(VBOX_GCC_std) @bugref{9790}, good for noexcept.
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette