diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/VBox/Main/Makefile.kmk | 1 | ||||
-rw-r--r-- | src/VBox/Main/testcase/Makefile.kmk | 1 | ||||
-rw-r--r-- | src/libs/xpcom18a4/xpcom/string/public/nsTDependentSubstring.h | 3 | ||||
-rw-r--r-- | src/libs/xpcom18a4/xpcom/string/public/nsTPromiseFlatString.h | 4 |
4 files changed, 2 insertions, 7 deletions
diff --git a/src/VBox/Main/Makefile.kmk b/src/VBox/Main/Makefile.kmk index d52ef4f7fc8..4a74e54af8a 100644 --- a/src/VBox/Main/Makefile.kmk +++ b/src/VBox/Main/Makefile.kmk @@ -980,6 +980,7 @@ if !defined(VBOX_ONLY_SDK) && !defined(VBOX_ONLY_EXTPACKS) # Note this goes on f $$(VBoxSVCM_0_OUTDIR)/VBoxSVCM.def: $(RM) -f $@ $(APPEND) $@ _NSGetModule + VBoxSVCM_CXXFLAGS += -Wno-deprecated-copy # To shut up Clang 13 (-Wdeprecated-copy). endif VBoxSVCM_INTERMEDIATES += $(VBOX_IDL_HEADER.XPCOM) diff --git a/src/VBox/Main/testcase/Makefile.kmk b/src/VBox/Main/testcase/Makefile.kmk index 51f082c0aa5..c4f0b4c460a 100644 --- a/src/VBox/Main/testcase/Makefile.kmk +++ b/src/VBox/Main/testcase/Makefile.kmk @@ -144,6 +144,7 @@ tstVBoxAPIXPCOM_LIBS = \ $(LIB_XPCOM) \ $(LIB_RUNTIME) tstVBoxAPIXPCOM_CXXFLAGS = -fshort-wchar +tstVBoxAPIXPCOM_CXXFLAGS.darwin += -Wno-deprecated-copy # To shut up Clang 13 (-Wdeprecated-copy). ifdef VBOX_WITH_RUNPATH tstVBoxAPIXPCOM_LDFLAGS = '$(VBOX_GCC_RPATH_OPT)$(VBOX_WITH_RUNPATH)' $(TEMPLATE_VBoxBldProg_LDFLAGS) else ifdef VBOX_WITH_RELATIVE_RUNPATH diff --git a/src/libs/xpcom18a4/xpcom/string/public/nsTDependentSubstring.h b/src/libs/xpcom18a4/xpcom/string/public/nsTDependentSubstring.h index 1cc99bcf407..d9a7265283b 100644 --- a/src/libs/xpcom18a4/xpcom/string/public/nsTDependentSubstring.h +++ b/src/libs/xpcom18a4/xpcom/string/public/nsTDependentSubstring.h @@ -79,9 +79,6 @@ class nsTDependentSubstring_CharT : public nsTSubstring_CharT : substring_type(NS_CONST_CAST(char_type*, start.get()), end.get() - start.get(), F_NONE) {} // auto-generated copy-constructor OK (XXX really?? what about base class copy-ctor?) -#if RT_CLANG_PREREQ(13, 0) /* To shut up Clang 13 (-Wdeprecated-copy). */ - nsTDependentSubstring_CharT(nsTDependentSubstring_CharT const&) = default; -#endif private: // we're immutable, you can't assign into a substring void operator=( const self_type& ) NS_DELETE; diff --git a/src/libs/xpcom18a4/xpcom/string/public/nsTPromiseFlatString.h b/src/libs/xpcom18a4/xpcom/string/public/nsTPromiseFlatString.h index 8494b82aabd..6899df7c261 100644 --- a/src/libs/xpcom18a4/xpcom/string/public/nsTPromiseFlatString.h +++ b/src/libs/xpcom18a4/xpcom/string/public/nsTPromiseFlatString.h @@ -132,10 +132,6 @@ class nsTPromiseFlatString_CharT : public nsTString_CharT // into ourselves. Assign(tuple); } - -#if RT_CLANG_PREREQ(13, 0) /* To shut up Clang 13 (-Wdeprecated-copy). */ - nsTPromiseFlatString_CharT(nsTPromiseFlatString_CharT const&) = default; -#endif }; inline |