Skip to content

Commit 77ea472

Browse files
committed
- Switched visual studio project file to c++20
1 parent d64b2af commit 77ea472

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

socketlib.vcxproj

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
<ProjectGuid>{758383C6-5B15-4191-9F17-5835F216F7A1}</ProjectGuid>
3131
<Keyword>Win32Proj</Keyword>
3232
<RootNamespace>SockTest</RootNamespace>
33+
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
3334
</PropertyGroup>
3435
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
3536
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
@@ -151,11 +152,12 @@
151152
</PrecompiledHeader>
152153
<WarningLevel>Level4</WarningLevel>
153154
<Optimization>Disabled</Optimization>
154-
<PreprocessorDefinitions>_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
155+
<PreprocessorDefinitions>_DEBUG;_CONSOLE;_SILENCE_CXX20_ATOMIC_INIT_DEPRECATION_WARNING;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
155156
<SDLCheck>true</SDLCheck>
156157
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
157158
<AdditionalIncludeDirectories>$(OpenSSL_HOME)include</AdditionalIncludeDirectories>
158159
<ProgramDataBaseFileName>$(IntDir)$(ProjectName)$(PlatformArchitecture)d.pdb</ProgramDataBaseFileName>
160+
<LanguageStandard>stdcpp20</LanguageStandard>
159161
</ClCompile>
160162
<Link>
161163
<SubSystem>Console</SubSystem>
@@ -213,11 +215,12 @@
213215
<Optimization>MaxSpeed</Optimization>
214216
<FunctionLevelLinking>true</FunctionLevelLinking>
215217
<IntrinsicFunctions>true</IntrinsicFunctions>
216-
<PreprocessorDefinitions>NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
218+
<PreprocessorDefinitions>NDEBUG;_CONSOLE;_SILENCE_CXX20_ATOMIC_INIT_DEPRECATION_WARNING;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
217219
<SDLCheck>true</SDLCheck>
218220
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
219221
<AdditionalIncludeDirectories>$(OpenSSL_HOME)include</AdditionalIncludeDirectories>
220222
<ProgramDataBaseFileName>$(IntDir)$(ProjectName)$(PlatformArchitecture).pdb</ProgramDataBaseFileName>
223+
<LanguageStandard>stdcpp20</LanguageStandard>
221224
</ClCompile>
222225
<Link>
223226
<SubSystem>Console</SubSystem>

0 commit comments

Comments
 (0)