Skip to content

Commit d2c73a1

Browse files
author
郑树新
committed
disable SDL checking for x64 on windows
1 parent dbbb847 commit d2c73a1

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

‎lib_acl/lib_acl_vc2019.vcxproj‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@
234234
<WarningLevel>Level3</WarningLevel>
235235
<SuppressStartupBanner>true</SuppressStartupBanner>
236236
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
237+
<SDLCheck>false</SDLCheck>
237238
</ClCompile>
238239
<Lib>
239240
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
@@ -298,6 +299,7 @@
298299
<SuppressStartupBanner>true</SuppressStartupBanner>
299300
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
300301
<CompileAs>Default</CompileAs>
302+
<SDLCheck>false</SDLCheck>
301303
</ClCompile>
302304
<Lib>
303305
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
@@ -341,6 +343,7 @@
341343
<PrecompiledHeader>Use</PrecompiledHeader>
342344
<ProgramDataBaseFileName>$(ProjectName).pdb</ProgramDataBaseFileName>
343345
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
346+
<SDLCheck>false</SDLCheck>
344347
</ClCompile>
345348
<Link>
346349
<AdditionalDependencies>wsock32.lib;ws2_32.lib;IPHlpApi.Lib;%(AdditionalDependencies)</AdditionalDependencies>
@@ -391,6 +394,7 @@
391394
<ProgramDataBaseFileName>$(ProjectName)_d.pdb</ProgramDataBaseFileName>
392395
<WarningLevel>Level3</WarningLevel>
393396
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
397+
<SDLCheck>false</SDLCheck>
394398
</ClCompile>
395399
<Link>
396400
<AdditionalDependencies>wsock32.lib;ws2_32.lib;IPHlpApi.Lib;%(AdditionalDependencies)</AdditionalDependencies>
@@ -869,4 +873,4 @@
869873
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
870874
<ImportGroup Label="ExtensionTargets">
871875
</ImportGroup>
872-
</Project>
876+
</Project>

‎lib_acl_cpp/lib_acl_cpp_vc2019.vcxproj‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@
213213
<WarningLevel>Level3</WarningLevel>
214214
<TreatWarningAsError>true</TreatWarningAsError>
215215
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
216+
<SDLCheck>false</SDLCheck>
216217
</ClCompile>
217218
<Lib>
218219
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
@@ -253,6 +254,7 @@
253254
<ProgramDataBaseFileName>$(OutDir)$(ProjectName)_vc2019.pdb</ProgramDataBaseFileName>
254255
<WarningLevel>Level3</WarningLevel>
255256
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
257+
<SDLCheck>false</SDLCheck>
256258
</ClCompile>
257259
<Lib>
258260
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
@@ -308,6 +310,7 @@
308310
<WarningLevel>Level3</WarningLevel>
309311
<TreatWarningAsError>true</TreatWarningAsError>
310312
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
313+
<SDLCheck>false</SDLCheck>
311314
</ClCompile>
312315
<Link>
313316
<AdditionalDependencies>lib_protocol.lib;lib_acl.lib;%(AdditionalDependencies)</AdditionalDependencies>
@@ -367,6 +370,7 @@
367370
<WarningLevel>Level3</WarningLevel>
368371
<TreatWarningAsError>true</TreatWarningAsError>
369372
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
373+
<SDLCheck>false</SDLCheck>
370374
</ClCompile>
371375
<Link>
372376
<AdditionalDependencies>lib_protocol.lib;lib_acl.lib;%(AdditionalDependencies)</AdditionalDependencies>

‎lib_protocol/lib_protocol_vc2019.vcxproj‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@
218218
<WarningLevel>Level3</WarningLevel>
219219
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
220220
<CompileAs>Default</CompileAs>
221+
<SDLCheck>false</SDLCheck>
221222
</ClCompile>
222223
<Lib>
223224
<AdditionalOptions>
@@ -264,6 +265,7 @@
264265
<ProgramDataBaseFileName>$(ProjectName)_vc2019.pdb</ProgramDataBaseFileName>
265266
<WarningLevel>Level3</WarningLevel>
266267
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
268+
<SDLCheck>false</SDLCheck>
267269
</ClCompile>
268270
<Lib>
269271
<AdditionalOptions>
@@ -304,6 +306,7 @@
304306
<PrecompiledHeader>Use</PrecompiledHeader>
305307
<ProgramDataBaseFileName>$(ProjectName).pdb</ProgramDataBaseFileName>
306308
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
309+
<SDLCheck>false</SDLCheck>
307310
</ClCompile>
308311
<Link>
309312
<AdditionalDependencies>ws2_32.lib;lib_acl.lib;%(AdditionalDependencies)</AdditionalDependencies>
@@ -356,6 +359,7 @@
356359
<PrecompiledHeader>Use</PrecompiledHeader>
357360
<ProgramDataBaseFileName>$(ProjectName)_d.pdb</ProgramDataBaseFileName>
358361
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
362+
<SDLCheck>false</SDLCheck>
359363
</ClCompile>
360364
<Link>
361365
<AdditionalDependencies>ws2_32.lib;lib_acl.lib;%(AdditionalDependencies)</AdditionalDependencies>

0 commit comments

Comments
 (0)