Skip to content

Commit 5449327

Browse files
Dmitry-Medanmar
authored andcommitted
VS: Disable 4482 warning
1 parent 9fedeb5 commit 5449327

File tree

3 files changed

+20
-20
lines changed

3 files changed

+20
-20
lines changed

cli/cli.vcxproj

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@
163163
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
164164
<SuppressStartupBanner>true</SuppressStartupBanner>
165165
<WarningLevel>Level4</WarningLevel>
166-
<DisableSpecificWarnings>4251;4512</DisableSpecificWarnings>
166+
<DisableSpecificWarnings>4251;4482;4512</DisableSpecificWarnings>
167167
<MultiProcessorCompilation>true</MultiProcessorCompilation>
168168
</ClCompile>
169169
<Link>
@@ -187,7 +187,7 @@
187187
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
188188
<SuppressStartupBanner>true</SuppressStartupBanner>
189189
<WarningLevel>Level4</WarningLevel>
190-
<DisableSpecificWarnings>4251;4512</DisableSpecificWarnings>
190+
<DisableSpecificWarnings>4251;4482;4512</DisableSpecificWarnings>
191191
<MultiProcessorCompilation>true</MultiProcessorCompilation>
192192
</ClCompile>
193193
<Link>
@@ -209,7 +209,7 @@
209209
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
210210
<SuppressStartupBanner>true</SuppressStartupBanner>
211211
<WarningLevel>Level4</WarningLevel>
212-
<DisableSpecificWarnings>4251;4512</DisableSpecificWarnings>
212+
<DisableSpecificWarnings>4251;4482;4512</DisableSpecificWarnings>
213213
<MultiProcessorCompilation>true</MultiProcessorCompilation>
214214
</ClCompile>
215215
<Link>
@@ -230,7 +230,7 @@
230230
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
231231
<SuppressStartupBanner>true</SuppressStartupBanner>
232232
<WarningLevel>Level4</WarningLevel>
233-
<DisableSpecificWarnings>4251;4512</DisableSpecificWarnings>
233+
<DisableSpecificWarnings>4251;4482;4512</DisableSpecificWarnings>
234234
<MultiProcessorCompilation>true</MultiProcessorCompilation>
235235
</ClCompile>
236236
<Link>
@@ -255,7 +255,7 @@
255255
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
256256
<OmitFramePointers>true</OmitFramePointers>
257257
<StringPooling>true</StringPooling>
258-
<DisableSpecificWarnings>4251;4512</DisableSpecificWarnings>
258+
<DisableSpecificWarnings>4251;4482;4512</DisableSpecificWarnings>
259259
<DebugInformationFormat>
260260
</DebugInformationFormat>
261261
<MultiProcessorCompilation>true</MultiProcessorCompilation>
@@ -286,7 +286,7 @@
286286
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
287287
<OmitFramePointers>true</OmitFramePointers>
288288
<StringPooling>true</StringPooling>
289-
<DisableSpecificWarnings>4251;4512</DisableSpecificWarnings>
289+
<DisableSpecificWarnings>4251;4482;4512</DisableSpecificWarnings>
290290
<DebugInformationFormat>
291291
</DebugInformationFormat>
292292
<MultiProcessorCompilation>true</MultiProcessorCompilation>
@@ -318,7 +318,7 @@
318318
<OmitFramePointers>true</OmitFramePointers>
319319
<FunctionLevelLinking>true</FunctionLevelLinking>
320320
<StringPooling>true</StringPooling>
321-
<DisableSpecificWarnings>4251;4512</DisableSpecificWarnings>
321+
<DisableSpecificWarnings>4251;4482;4512</DisableSpecificWarnings>
322322
<DebugInformationFormat>
323323
</DebugInformationFormat>
324324
<MultiProcessorCompilation>true</MultiProcessorCompilation>
@@ -349,7 +349,7 @@
349349
<OmitFramePointers>true</OmitFramePointers>
350350
<FunctionLevelLinking>true</FunctionLevelLinking>
351351
<StringPooling>true</StringPooling>
352-
<DisableSpecificWarnings>4251;4512</DisableSpecificWarnings>
352+
<DisableSpecificWarnings>4251;4482;4512</DisableSpecificWarnings>
353353
<DebugInformationFormat>
354354
</DebugInformationFormat>
355355
<MultiProcessorCompilation>true</MultiProcessorCompilation>

lib/cppcheck.vcxproj

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@
264264
<PreprocessorDefinitions>CPPCHECKLIB_EXPORT;TINYXML2_EXPORT;WIN32;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
265265
<WarningLevel>Level4</WarningLevel>
266266
<AdditionalIncludeDirectories>..\externals;..\externals\tinyxml;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
267-
<DisableSpecificWarnings>4251;4512</DisableSpecificWarnings>
267+
<DisableSpecificWarnings>4251;4482;4512</DisableSpecificWarnings>
268268
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
269269
<PrecompiledHeader>Use</PrecompiledHeader>
270270
<PrecompiledHeaderFile>check.h</PrecompiledHeaderFile>
@@ -289,7 +289,7 @@
289289
<PreprocessorDefinitions>CPPCHECKLIB_EXPORT;TINYXML2_EXPORT;WIN32;HAVE_RULES;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;TIXML_USE_STL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
290290
<WarningLevel>Level4</WarningLevel>
291291
<AdditionalIncludeDirectories>..\externals;..\externals\tinyxml;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
292-
<DisableSpecificWarnings>4251;4512</DisableSpecificWarnings>
292+
<DisableSpecificWarnings>4251;4482;4512</DisableSpecificWarnings>
293293
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
294294
<PrecompiledHeader>Use</PrecompiledHeader>
295295
<PrecompiledHeaderFile>check.h</PrecompiledHeaderFile>
@@ -314,7 +314,7 @@
314314
<PreprocessorDefinitions>CPPCHECKLIB_EXPORT;TINYXML2_EXPORT;WIN32;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;_WIN64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
315315
<WarningLevel>Level4</WarningLevel>
316316
<AdditionalIncludeDirectories>..\externals;..\externals\tinyxml;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
317-
<DisableSpecificWarnings>4251;4512</DisableSpecificWarnings>
317+
<DisableSpecificWarnings>4251;4482;4512</DisableSpecificWarnings>
318318
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
319319
<PrecompiledHeader>Use</PrecompiledHeader>
320320
<PrecompiledHeaderFile>check.h</PrecompiledHeaderFile>
@@ -337,7 +337,7 @@
337337
<PreprocessorDefinitions>CPPCHECKLIB_EXPORT;TINYXML2_EXPORT;WIN32;HAVE_RULES;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;_WIN64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
338338
<WarningLevel>Level4</WarningLevel>
339339
<AdditionalIncludeDirectories>..\externals;..\externals\tinyxml;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
340-
<DisableSpecificWarnings>4251;4512</DisableSpecificWarnings>
340+
<DisableSpecificWarnings>4251;4482;4512</DisableSpecificWarnings>
341341
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
342342
<PrecompiledHeader>Use</PrecompiledHeader>
343343
<PrecompiledHeaderFile>check.h</PrecompiledHeaderFile>
@@ -364,7 +364,7 @@
364364
<StringPooling>true</StringPooling>
365365
<FunctionLevelLinking>true</FunctionLevelLinking>
366366
<AdditionalIncludeDirectories>..\externals;..\externals\tinyxml;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
367-
<DisableSpecificWarnings>4251;4512</DisableSpecificWarnings>
367+
<DisableSpecificWarnings>4251;4482;4512</DisableSpecificWarnings>
368368
<PreprocessorDefinitions>CPPCHECKLIB_EXPORT;TINYXML2_EXPORT;NDEBUG;WIN32;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
369369
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
370370
<DebugInformationFormat>
@@ -398,7 +398,7 @@
398398
<StringPooling>true</StringPooling>
399399
<FunctionLevelLinking>true</FunctionLevelLinking>
400400
<AdditionalIncludeDirectories>..\externals;..\externals\tinyxml;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
401-
<DisableSpecificWarnings>4251;4512</DisableSpecificWarnings>
401+
<DisableSpecificWarnings>4251;4482;4512</DisableSpecificWarnings>
402402
<PreprocessorDefinitions>CPPCHECKLIB_EXPORT;TINYXML2_EXPORT;NDEBUG;WIN32;HAVE_RULES;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;TIXML_USE_STL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
403403
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
404404
<DebugInformationFormat>
@@ -433,7 +433,7 @@
433433
<StringPooling>true</StringPooling>
434434
<FunctionLevelLinking>true</FunctionLevelLinking>
435435
<AdditionalIncludeDirectories>..\externals;..\externals\tinyxml;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
436-
<DisableSpecificWarnings>4251;4512</DisableSpecificWarnings>
436+
<DisableSpecificWarnings>4251;4482;4512</DisableSpecificWarnings>
437437
<PreprocessorDefinitions>CPPCHECKLIB_EXPORT;TINYXML2_EXPORT;NDEBUG;WIN32;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;_WIN64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
438438
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
439439
<DebugInformationFormat>
@@ -466,7 +466,7 @@
466466
<StringPooling>true</StringPooling>
467467
<FunctionLevelLinking>true</FunctionLevelLinking>
468468
<AdditionalIncludeDirectories>..\externals;..\externals\tinyxml;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
469-
<DisableSpecificWarnings>4251;4512</DisableSpecificWarnings>
469+
<DisableSpecificWarnings>4251;4482;4512</DisableSpecificWarnings>
470470
<PreprocessorDefinitions>CPPCHECKLIB_EXPORT;TINYXML2_EXPORT;NDEBUG;WIN32;HAVE_RULES;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;_WIN64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
471471
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
472472
<DebugInformationFormat>

test/testrunner.vcxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@
177177
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
178178
<SuppressStartupBanner>true</SuppressStartupBanner>
179179
<WarningLevel>Level4</WarningLevel>
180-
<DisableSpecificWarnings>4251;4512</DisableSpecificWarnings>
180+
<DisableSpecificWarnings>4251;4482;4512</DisableSpecificWarnings>
181181
<MultiProcessorCompilation>true</MultiProcessorCompilation>
182182
<PrecompiledHeader>Use</PrecompiledHeader>
183183
<PrecompiledHeaderFile>testsuite.h</PrecompiledHeaderFile>
@@ -202,7 +202,7 @@
202202
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
203203
<SuppressStartupBanner>true</SuppressStartupBanner>
204204
<WarningLevel>Level4</WarningLevel>
205-
<DisableSpecificWarnings>4251;4512</DisableSpecificWarnings>
205+
<DisableSpecificWarnings>4251;4482;4512</DisableSpecificWarnings>
206206
<MultiProcessorCompilation>true</MultiProcessorCompilation>
207207
<PrecompiledHeader>Use</PrecompiledHeader>
208208
<PrecompiledHeaderFile>testsuite.h</PrecompiledHeaderFile>
@@ -231,7 +231,7 @@
231231
<OmitFramePointers>true</OmitFramePointers>
232232
<StringPooling>true</StringPooling>
233233
<FunctionLevelLinking>true</FunctionLevelLinking>
234-
<DisableSpecificWarnings>4251;4512</DisableSpecificWarnings>
234+
<DisableSpecificWarnings>4251;4482;4512</DisableSpecificWarnings>
235235
<DebugInformationFormat>
236236
</DebugInformationFormat>
237237
<MultiProcessorCompilation>true</MultiProcessorCompilation>
@@ -266,7 +266,7 @@
266266
<OmitFramePointers>true</OmitFramePointers>
267267
<StringPooling>true</StringPooling>
268268
<FunctionLevelLinking>true</FunctionLevelLinking>
269-
<DisableSpecificWarnings>4251;4512</DisableSpecificWarnings>
269+
<DisableSpecificWarnings>4251;4482;4512</DisableSpecificWarnings>
270270
<DebugInformationFormat>
271271
</DebugInformationFormat>
272272
<MultiProcessorCompilation>true</MultiProcessorCompilation>

0 commit comments

Comments
 (0)