Skip to content

Commit e5b215c

Browse files
author
nitrocaster
committed
Ignore C4458 by for entire solution by default.
1 parent bece46e commit e5b215c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/Common.props

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,12 @@
3838
<ClCompile>
3939
<AdditionalIncludeDirectories>$(SolutionDir);$(ProjectDir);$(xrSdkDir)include;$(DXSDK_DIR)Include;$(SolutionDir)Externals\luajit\src;$(SolutionDir)Externals\luabind;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
4040
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
41-
<DisableSpecificWarnings>4251;4275</DisableSpecificWarnings>
41+
<!--
42+
4251 : class 'x' needs to have dll-interface to be used by clients of class 'y'
43+
4275 : non dll-interface class 'x' used as base for dll-interface class 'y'
44+
4458 : declaration of 'x' hides class member
45+
-->
46+
<DisableSpecificWarnings>4251;4275;4458</DisableSpecificWarnings>
4247
</ClCompile>
4348
<Link>
4449
<AdditionalLibraryDirectories>$(xrSdkDir)libraries;$(xrLibDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>

0 commit comments

Comments
 (0)