VirtualBox

Changeset 85337 in vbox


Ignore:
Timestamp:
Jul 14, 2020 12:32:31 PM (4 years ago)
Author:
vboxsync
Message:

/Config.kmk: With the 10.14 SDK we need to supress warnings(=errors) about using C11 extensions in kernel code (-Wno-c11-extensions). bugref:9790

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r85336 r85337  
    29452945        $(QUIET)$(APPEND) '$@' 'VBOX_GCC_Wno-nested-anon-types ?= $(call VBOX_GCC_CHECK_CC,-Wno-nested-anon-types,)'
    29462946        $(QUIET)$(APPEND) '$@' 'VBOX_GCC_Wno-gnu-anonymous-struct ?= $(call VBOX_GCC_CHECK_CXX,-Wno-gnu-anonymous-struct,)'
    2947 # CLang 11.
     2947# Clang 11.
    29482948        $(QUIET)$(APPEND) '$@' 'VBOX_GCC_Wno-c++17-compat-mangling ?= $(call VBOX_GCC_CHECK_CXX,-Wno-c++17-compat-mangling,)'
    29492949        $(QUIET)$(APPEND) '$@' 'VBOX_GCC_Wno-nullability-extension ?= $(call VBOX_GCC_CHECK_CXX,-Wno-nullability-extension,)'
     
    29512951        $(QUIET)$(APPEND) '$@' 'VBOX_GCC_Wno-import-preprocessor-directive-pedantic ?= $(call VBOX_GCC_CHECK_CXX,-Wno-import-preprocessor-directive-pedantic,)'
    29522952        $(QUIET)$(APPEND) '$@' 'VBOX_GCC_Wno-undefined-var-template ?= $(call VBOX_GCC_CHECK_CXX,-Wno-undefined-var-template,)'
     2953        $(QUIET)$(APPEND) '$@' 'VBOX_GCC_Wno-c11-extensions ?= $(call VBOX_GCC_CHECK_CXX,-Wno-c11-extensions,)'
    29532954ifeq ($(KBUILD_TARGET),solaris)
    29542955        $(QUIET)$(APPEND) '$@' 'VBOX_GCC_msave-args            ?= $(call VBOX_GCC_CHECK_CXX,-msave-args,)'
     
    49044905        -Werror=non-modular-include-in-framework-module \
    49054906        $(VBOX_GCC_Wno-nullability-extension) $(VBOX_GCC_Wno-gnu-statement-expression) \
    4906        $(VBOX_GCC_Wno-import-preprocessor-directive-pedantic) \
     4907       $(VBOX_GCC_Wno-import-preprocessor-directive-pedantic) $(VBOX_GCC_Wno-c11-extensions) \
    49074908        $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fasm-blocks -fno-strict-aliasing -stdlib=libc++
    49084909#  if1of ($(VBOX_GCC_TOOL), CLANGXXMACHO) ## @todo check if we can safely use $(VBOX_GCC_std) @bugref{9790}, good for noexcept.
     
    49264927        -fno-exceptions -msoft-float -fapple-kext -fno-rtti  \
    49274928        -fmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -Wnon-modular-include-in-framework-module \
    4928         -Werror=non-modular-include-in-framework-module \
     4929        -Werror=non-modular-include-in-framework-module $(VBOX_GCC_Wno-c11-extensions) \
    49294930        $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fasm-blocks -fno-strict-aliasing
    49304931TEMPLATE_VBOXR0DRV_CFLAGS.amd64        = -m64 -mno-red-zone
Note: See TracChangeset for help on using the changeset viewer.

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