Visual Studio: disable warning C4351 (#2492)
See the warning's documentation: https://msdn.microsoft.com/en-us/library/1ywe7hcy.aspx Microsoft advises any project that wants the new standard-compliant behavior to disable the warning. That includes us. Fixes #2492.
This commit is contained in:
parent
d9d65e61b4
commit
1703029bc3
1 changed files with 6 additions and 6 deletions
|
@ -127,7 +127,7 @@
|
|||
<OpenMPSupport>true</OpenMPSupport>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||
<DisableSpecificWarnings>4503;4127;4512;4003;4068;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
||||
<DisableSpecificWarnings>4503;4351;4127;4512;4003;4068;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<ForcedIncludeFiles>boost-patched/bind/arg.hpp;%(ForcedIncludeFiles)</ForcedIncludeFiles>
|
||||
<TreatSpecificWarningsAsErrors>4239</TreatSpecificWarningsAsErrors>
|
||||
|
@ -166,7 +166,7 @@
|
|||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<DisableSpecificWarnings>4503</DisableSpecificWarnings>
|
||||
<DisableSpecificWarnings>4503;4351;</DisableSpecificWarnings>
|
||||
<ForcedIncludeFiles>boost-patched/bind/arg.hpp;%(ForcedIncludeFiles)</ForcedIncludeFiles>
|
||||
<TreatSpecificWarningsAsErrors>4239</TreatSpecificWarningsAsErrors>
|
||||
</ClCompile>
|
||||
|
@ -209,7 +209,7 @@
|
|||
<OpenMPSupport>true</OpenMPSupport>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||
<DisableSpecificWarnings>4503;4127;4512;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
||||
<DisableSpecificWarnings>4503;4351;4127;4512;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<ForcedIncludeFiles>boost-patched/bind/arg.hpp;%(ForcedIncludeFiles)</ForcedIncludeFiles>
|
||||
<TreatSpecificWarningsAsErrors>4239</TreatSpecificWarningsAsErrors>
|
||||
|
@ -247,7 +247,7 @@
|
|||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<DisableSpecificWarnings>4503</DisableSpecificWarnings>
|
||||
<DisableSpecificWarnings>4503;4351;</DisableSpecificWarnings>
|
||||
<ForcedIncludeFiles>boost-patched/bind/arg.hpp;%(ForcedIncludeFiles)</ForcedIncludeFiles>
|
||||
<TreatSpecificWarningsAsErrors>4239</TreatSpecificWarningsAsErrors>
|
||||
</ClCompile>
|
||||
|
@ -294,7 +294,7 @@
|
|||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<DisableSpecificWarnings>4503</DisableSpecificWarnings>
|
||||
<DisableSpecificWarnings>4503;4351;</DisableSpecificWarnings>
|
||||
<ForcedIncludeFiles>boost-patched/bind/arg.hpp;%(ForcedIncludeFiles)</ForcedIncludeFiles>
|
||||
<TreatSpecificWarningsAsErrors>4239</TreatSpecificWarningsAsErrors>
|
||||
</ClCompile>
|
||||
|
@ -4120,4 +4120,4 @@
|
|||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
</Project>
|
Loading…
Add table
Reference in a new issue