Author: tfaber
Date: Sat Jul 20 10:43:33 2013
New Revision: 59535
URL:
http://svn.reactos.org/svn/reactos?rev=59535&view=rev
Log:
[PORTCLS]
- Silence warnings. Using (unnecessary) virtual destructors here rather than final because
that's what the 99 other classes already do.
Modified:
trunk/reactos/cmake/gcc.cmake
trunk/reactos/drivers/wdm/audio/backpln/portcls/miniport_dmus.cpp
Modified: trunk/reactos/cmake/gcc.cmake
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/gcc.cmake?rev=59535&…
==============================================================================
--- trunk/reactos/cmake/gcc.cmake [iso-8859-1] (original)
+++ trunk/reactos/cmake/gcc.cmake [iso-8859-1] Sat Jul 20 10:43:33 2013
@@ -51,7 +51,7 @@
if(GCC_VERSION VERSION_LESS 4.7)
add_compile_flags("-Wno-error=uninitialized")
elseif(GCC_VERSION VERSION_EQUAL 4.7 OR GCC_VERSION VERSION_GREATER 4.7)
- add_compile_flags("-Wno-error=unused-but-set-variable -Wno-maybe-uninitialized
-Wno-error=delete-non-virtual-dtor -Wno-error=narrowing")
+ add_compile_flags("-Wno-error=unused-but-set-variable -Wno-maybe-uninitialized
-Wno-error=narrowing")
endif()
if(ARCH STREQUAL "amd64")
Modified: trunk/reactos/drivers/wdm/audio/backpln/portcls/miniport_dmus.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/backpln/…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/backpln/portcls/miniport_dmus.cpp [iso-8859-1]
(original)
+++ trunk/reactos/drivers/wdm/audio/backpln/portcls/miniport_dmus.cpp [iso-8859-1] Sat Jul
20 10:43:33 2013
@@ -118,7 +118,7 @@
}
CMiniportDMusUART(IUnknown * Unknown){}
- ~CMiniportDMusUART();
+ virtual ~CMiniportDMusUART();
/*************************************************************************
* IMiniport methods
@@ -242,7 +242,7 @@
return m_Ref;
}
- ~CMiniportDMusUARTStream();
+ virtual ~CMiniportDMusUARTStream();
STDMETHODIMP_(NTSTATUS) Init
(