VirtualBox

Changeset 62264 in vbox


Ignore:
Timestamp:
Jul 14, 2016 4:58:55 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
108783
Message:

xpcom: finally remove VBOX_GCC_Wno-delete-non-virtual-dtor as this warning is useful and disabling it would hide potential leaks

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r62204 r62264  
    26422642        $(QUIET)$(APPEND) '$@' 'endif'
    26432643        $(QUIET)$(APPEND) '$@' 'VBOX_GCC_Wno-address           ?= $(call VBOX_GCC_CHECK_CXX,-Wno-address,)'
    2644         $(QUIET)$(APPEND) '$@' 'VBOX_GCC_Wno-delete-non-virtual-dtor    ?= $(call VBOX_GCC_CHECK_CXX,-Wno-delete-non-virtual-dtor,)'
    26452644        $(QUIET)$(APPEND) '$@' 'VBOX_GCC_Wno-int-to-pointer-cast        ?= $(call VBOX_GCC_CHECK_CC,-Wno-int-to-pointer-cast,)'
    26462645        $(QUIET)$(APPEND) '$@' 'VBOX_GCC_Wno-invalid-offsetof           ?= $(call VBOX_GCC_CHECK_CXX,-Wno-invalid-offsetof,)'
  • trunk/src/libs/xpcom18a4/Config.kmk

    r61591 r62264  
    4141        $(VBOX_GCC_Wno-invalid-offsetof) -Wno-sign-compare -Wno-unused -Wno-ctor-dtor-privacy \
    4242        $(VBOX_GCC_fvisibility-inlines-hidden) $(VBOX_GCC_fvisibility-hidden) \
    43         $(VBOX_GCC_fdiagnostics-show-option) $(VBOX_GCC_Wno-delete-non-virtual-dtor)
     43        $(VBOX_GCC_fdiagnostics-show-option)
    4444TEMPLATE_XPCOM_CXXFLAGS.x86        = -m32
    4545TEMPLATE_XPCOM_CXXFLAGS.amd64      = -m64
  • trunk/src/libs/xpcom18a4/xpcom/base/nsISupportsBase.h

    r1 r62264  
    8181public:
    8282
     83  virtual ~nsISupports() {}
    8384  /**
    8485   * @name Methods
  • trunk/src/libs/xpcom18a4/xpcom/ds/nsDeque.h

    r1 r62264  
    6868class nsDequeFunctor{
    6969public:
     70  virtual ~nsDequeFunctor() {}
    7071  virtual void* operator()(void* anObject)=0;
    7172};
  • trunk/src/libs/xpcom18a4/xpcom/tests/TestAutoPtr.cpp

    r1 r62264  
    8282class TestRefObjectBaseB {
    8383    public:
     84        virtual ~TestRefObjectBaseB() {}
    8485        int fooB;
    8586        virtual nsrefcnt AddRef() = 0;
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