Switch to C++20 everywhere

This commit is contained in:
Adrian Conlon
2021-12-29 11:39:41 +00:00
parent 1f5dc54c40
commit 6346ea9278
14 changed files with 70 additions and 56 deletions
+5 -4
View File
@@ -23,6 +23,7 @@
<ProjectGuid>{391D3B95-D9DA-47E5-9F61-70483F6BB396}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>test_Intel8080</RootNamespace>
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
@@ -91,7 +92,7 @@
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<LanguageStandard>stdcpp17</LanguageStandard>
<LanguageStandard>stdcpp20</LanguageStandard>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
@@ -104,7 +105,7 @@
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<LanguageStandard>stdcpp17</LanguageStandard>
<LanguageStandard>stdcpp20</LanguageStandard>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
@@ -119,7 +120,7 @@
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<EnableParallelCodeGeneration>true</EnableParallelCodeGeneration>
<BufferSecurityCheck>false</BufferSecurityCheck>
<LanguageStandard>stdcpp17</LanguageStandard>
<LanguageStandard>stdcpp20</LanguageStandard>
<ControlFlowGuard>false</ControlFlowGuard>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
</ClCompile>
@@ -137,7 +138,7 @@
<PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<EnableParallelCodeGeneration>true</EnableParallelCodeGeneration>
<BufferSecurityCheck>false</BufferSecurityCheck>
<LanguageStandard>stdcpp17</LanguageStandard>
<LanguageStandard>stdcpp20</LanguageStandard>
<ControlFlowGuard>false</ControlFlowGuard>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
</ClCompile>