VirtualBox

Changeset 99742 in vbox


Ignore:
Timestamp:
May 11, 2023 9:44:28 AM (17 months ago)
Author:
vboxsync
Message:

Main: More Clang 13 build fixes (warnings as errors) [build fix, no IPRT stuff within libs/xpcom].

Location:
trunk/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/Makefile.kmk

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

    r98526 r99742  
    145145        $(LIB_RUNTIME)
    146146tstVBoxAPIXPCOM_CXXFLAGS = -fshort-wchar
     147tstVBoxAPIXPCOM_CXXFLAGS.darwin += -Wno-deprecated-copy    # To shut up Clang 13 (-Wdeprecated-copy).
    147148ifdef VBOX_WITH_RUNPATH
    148149 tstVBoxAPIXPCOM_LDFLAGS = '$(VBOX_GCC_RPATH_OPT)$(VBOX_WITH_RUNPATH)' $(TEMPLATE_VBoxBldProg_LDFLAGS)
  • trunk/src/libs/xpcom18a4/xpcom/string/public/nsTDependentSubstring.h

    r99741 r99742  
    8080
    8181      // auto-generated copy-constructor OK (XXX really?? what about base class copy-ctor?)
    82 #if RT_CLANG_PREREQ(13, 0) /* To shut up Clang 13 (-Wdeprecated-copy). */
    83       nsTDependentSubstring_CharT(nsTDependentSubstring_CharT const&) = default;
    84 #endif
    8582    private:
    8683        // we're immutable, you can't assign into a substring
  • trunk/src/libs/xpcom18a4/xpcom/string/public/nsTPromiseFlatString.h

    r99741 r99742  
    133133          Assign(tuple);
    134134        }
    135 
    136 #if RT_CLANG_PREREQ(13, 0) /* To shut up Clang 13 (-Wdeprecated-copy). */
    137       nsTPromiseFlatString_CharT(nsTPromiseFlatString_CharT const&) = default;
    138 #endif
    139135  };
    140136
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