mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
msbuild: obey some warnings about missing virtual destructors
This commit is contained in:
@ -117,6 +117,14 @@
|
||||
Currently jits use some annoying code patterns which makes this common
|
||||
-->
|
||||
<DisableSpecificWarnings>4245;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
||||
<!-- Enable some off-by-default warnings
|
||||
4263 Non-virtual member function hides base class virtual function
|
||||
4265 Class has virtual functions, but destructor is not virtual
|
||||
4946 Reinterpret cast between related types
|
||||
-->
|
||||
<!-- Externals are currently not compatible with this. Can still uncomment locally.
|
||||
<AdditionalOptions>/we4263 /we4265 /we4946 %(AdditionalOptions)</AdditionalOptions>
|
||||
-->
|
||||
</ClCompile>
|
||||
<!--ClCompile Debug-->
|
||||
<ClCompile Condition="'$(Configuration)'=='Debug'">
|
||||
|
Reference in New Issue
Block a user