Index: /trunk/Config.kmk
===================================================================
--- /trunk/Config.kmk	(revision 62265)
+++ /trunk/Config.kmk	(revision 62266)
@@ -2642,4 +2642,5 @@
 	$(QUIET)$(APPEND) '$@' 'endif'
 	$(QUIET)$(APPEND) '$@' 'VBOX_GCC_Wno-address           ?= $(call VBOX_GCC_CHECK_CXX,-Wno-address,)'
+	$(QUIET)$(APPEND) '$@' 'VBOX_GCC_Wno-delete-non-virtual-dtor    ?= $(call VBOX_GCC_CHECK_CXX,-Wno-delete-non-virtual-dtor,)'
 	$(QUIET)$(APPEND) '$@' 'VBOX_GCC_Wno-int-to-pointer-cast        ?= $(call VBOX_GCC_CHECK_CC,-Wno-int-to-pointer-cast,)'
 	$(QUIET)$(APPEND) '$@' 'VBOX_GCC_Wno-invalid-offsetof           ?= $(call VBOX_GCC_CHECK_CXX,-Wno-invalid-offsetof,)'
Index: /trunk/src/libs/xpcom18a4/Config.kmk
===================================================================
--- /trunk/src/libs/xpcom18a4/Config.kmk	(revision 62265)
+++ /trunk/src/libs/xpcom18a4/Config.kmk	(revision 62266)
@@ -41,5 +41,5 @@
 	$(VBOX_GCC_Wno-invalid-offsetof) -Wno-sign-compare -Wno-unused -Wno-ctor-dtor-privacy \
 	$(VBOX_GCC_fvisibility-inlines-hidden) $(VBOX_GCC_fvisibility-hidden) \
-	$(VBOX_GCC_fdiagnostics-show-option)
+	$(VBOX_GCC_fdiagnostics-show-option) $(VBOX_GCC_Wno-delete-non-virtual-dtor)
 TEMPLATE_XPCOM_CXXFLAGS.x86        = -m32
 TEMPLATE_XPCOM_CXXFLAGS.amd64      = -m64
Index: /trunk/src/libs/xpcom18a4/xpcom/base/nsISupportsBase.h
===================================================================
--- /trunk/src/libs/xpcom18a4/xpcom/base/nsISupportsBase.h	(revision 62265)
+++ /trunk/src/libs/xpcom18a4/xpcom/base/nsISupportsBase.h	(revision 62266)
@@ -81,5 +81,4 @@
 public:
 
-  virtual ~nsISupports() {}
   /**
    * @name Methods
Index: /trunk/src/libs/xpcom18a4/xpcom/ds/nsDeque.h
===================================================================
--- /trunk/src/libs/xpcom18a4/xpcom/ds/nsDeque.h	(revision 62265)
+++ /trunk/src/libs/xpcom18a4/xpcom/ds/nsDeque.h	(revision 62266)
@@ -68,5 +68,4 @@
 class nsDequeFunctor{
 public:
-  virtual ~nsDequeFunctor() {}
   virtual void* operator()(void* anObject)=0;
 };
Index: /trunk/src/libs/xpcom18a4/xpcom/tests/TestAutoPtr.cpp
===================================================================
--- /trunk/src/libs/xpcom18a4/xpcom/tests/TestAutoPtr.cpp	(revision 62265)
+++ /trunk/src/libs/xpcom18a4/xpcom/tests/TestAutoPtr.cpp	(revision 62266)
@@ -82,5 +82,4 @@
 class TestRefObjectBaseB {
     public:
-        virtual ~TestRefObjectBaseB() {}
         int fooB;
         virtual nsrefcnt AddRef() = 0;
