VirtualBox

Changeset 99744 in vbox


Ignore:
Timestamp:
May 11, 2023 10:07:05 AM (19 months ago)
Author:
vboxsync
Message:

Main: More Clang 13 build fixes (warnings as errors) [better fix, use global compiler warning control / DynamicConfig.kmk in Config.kmk].

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r99715 r99744  
    34073407        $(QUIET)$(APPEND) '$@' 'VBOX_GCC_Wno-c11-extensions ?= $(call VBOX_GCC_CHECK_CXX,-Wno-c11-extensions,)'
    34083408        $(QUIET)$(APPEND) '$@' 'VBOX_GCC_Wno-tautological-pointer-compare ?= $(call VBOX_GCC_CHECK_CC,-Wno-tautological-pointer-compare,)'
     3409 # Clang 13.
     3410        $(QUIET)$(APPEND) '$@' 'VBOX_GCC_Wno-deprecated-copy ?= $(call VBOX_GCC_CHECK_CC,-Wno-deprecated-copy,)'
    34093411 ifeq ($(KBUILD_TARGET),solaris)
    34103412        $(QUIET)$(APPEND) '$@' 'VBOX_GCC_msave-args            ?= $(call VBOX_GCC_CHECK_CXX,-msave-args,)'
     
    35553557        $(VBOX_GCC_fdiagnostics-show-option) $(VBOX_GCC_Wno-unused-parameter) $(VBOX_GCC_Wno-language-extension-token) \
    35563558        $(VBOX_GCC_Wno-extended-offsetof) $(VBOX_GCC_Wno-gnu-folding-constant) $(VBOX_GCC_Wno-gnu-anonymous-struct) \
     3559        $(VBOX_GCC_Wno-deprecated-copy) \
    35573560        $(VBOX_GCC_Wlogical-op) $(VBOX_GCC_Wno-string-plus-int) $(VBOX_GCC_Wno-nested-anon-types) $(VBOX_GCC_Wno-variadic-macros) \
    35583561        $(VBOX_GCC_Wno-c++17-compat-mangling)
  • trunk/src/VBox/Main/Makefile.kmk

    r99742 r99744  
    981981        $(RM) -f $@
    982982        $(APPEND) $@ _NSGetModule
    983    VBoxSVCM_CXXFLAGS += -Wno-deprecated-copy    # To shut up Clang 13 (-Wdeprecated-copy).
    984983  endif
    985984  VBoxSVCM_INTERMEDIATES += $(VBOX_IDL_HEADER.XPCOM)
  • trunk/src/VBox/Main/testcase/Makefile.kmk

    r99742 r99744  
    145145        $(LIB_RUNTIME)
    146146tstVBoxAPIXPCOM_CXXFLAGS = -fshort-wchar
    147 tstVBoxAPIXPCOM_CXXFLAGS.darwin += -Wno-deprecated-copy    # To shut up Clang 13 (-Wdeprecated-copy).
    148147ifdef VBOX_WITH_RUNPATH
    149148 tstVBoxAPIXPCOM_LDFLAGS = '$(VBOX_GCC_RPATH_OPT)$(VBOX_WITH_RUNPATH)' $(TEMPLATE_VBoxBldProg_LDFLAGS)
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