diff --git a/cli/cli.vcxproj b/cli/cli.vcxproj
index 25fdbfa6b..514fa111f 100644
--- a/cli/cli.vcxproj
+++ b/cli/cli.vcxproj
@@ -116,10 +116,10 @@
- ..\bin\debug\
- ..\bin\debug\
- ..\bin\debug\
- ..\bin\debug\
+ $(SolutionDir)bin\debug\
+ $(SolutionDir)bin\debug\
+ $(SolutionDir)bin\debug\
+ $(SolutionDir)bin\debug\
temp\$(Configuration)_$(PlatformName)\
temp\$(Configuration)_$(PlatformName)\
temp\$(Configuration)_$(PlatformName)\
@@ -132,10 +132,10 @@
true
true
true
- ..\bin\
- ..\bin\
- ..\bin\
- ..\bin\
+ $(SolutionDir)bin\
+ $(SolutionDir)bin\
+ $(SolutionDir)bin\
+ $(SolutionDir)bin\
temp\$(Configuration)_$(PlatformName)\
temp\$(Configuration)_$(PlatformName)\
temp\$(Configuration)_$(PlatformName)\
@@ -162,12 +162,12 @@
Disabled
CPPCHECKLIB_IMPORT;WIN32;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;%(PreprocessorDefinitions)
MultiThreadedDebugDLL
- true
Level4
4251;4482;4512
true
true
stdcpplatest
+ /Zc:throwingNew /Zc:__cplusplus %(AdditionalOptions)
shlwapi.lib;%(AdditionalDependencies)
@@ -190,12 +190,12 @@
Disabled
CPPCHECKLIB_IMPORT;TINYXML2_IMPORT;WIN32;HAVE_RULES;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;TIXML_USE_STL;%(PreprocessorDefinitions)
MultiThreadedDebugDLL
- true
Level4
4251;4482;4512
true
true
stdcpplatest
+ /Zc:throwingNew /Zc:__cplusplus %(AdditionalOptions)
shlwapi.lib;%(AdditionalDependencies)
@@ -216,12 +216,12 @@
Disabled
CPPCHECKLIB_IMPORT;WIN32;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;_WIN64;%(PreprocessorDefinitions)
MultiThreadedDebugDLL
- true
Level4
4251;4482;4512
true
true
stdcpplatest
+ /Zc:throwingNew /Zc:__cplusplus %(AdditionalOptions)
shlwapi.lib;%(AdditionalDependencies)
@@ -241,12 +241,12 @@
Disabled
CPPCHECKLIB_IMPORT;TINYXML2_IMPORT;WIN32;HAVE_RULES;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;_WIN64;%(PreprocessorDefinitions)
MultiThreadedDebugDLL
- true
Level4
4251;4482;4512
true
true
stdcpplatest
+ /Zc:throwingNew /Zc:__cplusplus %(AdditionalOptions)
shlwapi.lib;%(AdditionalDependencies)
@@ -265,7 +265,6 @@
MaxSpeed
CPPCHECKLIB_IMPORT;NDEBUG;WIN32;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;%(PreprocessorDefinitions)
MultiThreadedDLL
- true
Level4
AnySuitable
true
@@ -276,7 +275,7 @@
true
- /Zc:inline /Zc:throwingNew %(AdditionalOptions)
+ /Zc:throwingNew /Zc:__cplusplus %(AdditionalOptions)
true
stdcpplatest
@@ -301,7 +300,6 @@
MaxSpeed
CPPCHECKLIB_IMPORT;TINYXML2_IMPORT;NDEBUG;WIN32;HAVE_RULES;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;TIXML_USE_STL;%(PreprocessorDefinitions)
MultiThreadedDLL
- true
Level4
AnySuitable
true
@@ -312,7 +310,7 @@
true
- /Zc:inline /Zc:throwingNew %(AdditionalOptions)
+ /Zc:throwingNew /Zc:__cplusplus %(AdditionalOptions)
true
stdcpplatest
@@ -337,7 +335,6 @@
MaxSpeed
CPPCHECKLIB_IMPORT;NDEBUG;WIN32;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;_WIN64;%(PreprocessorDefinitions)
MultiThreadedDLL
- true
Level4
AnySuitable
true
@@ -349,7 +346,7 @@
true
- /Zc:inline /Zc:throwingNew %(AdditionalOptions)
+ /Zc:throwingNew /Zc:__cplusplus %(AdditionalOptions)
true
stdcpplatest
@@ -373,7 +370,6 @@
MaxSpeed
CPPCHECKLIB_IMPORT;TINYXML2_IMPORT;NDEBUG;WIN32;HAVE_RULES;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;_WIN64;%(PreprocessorDefinitions)
MultiThreadedDLL
- true
Level4
AnySuitable
true
@@ -385,7 +381,7 @@
true
- /Zc:inline /Zc:throwingNew %(AdditionalOptions)
+ /Zc:throwingNew /Zc:__cplusplus %(AdditionalOptions)
true
stdcpplatest
diff --git a/lib/cppcheck.vcxproj b/lib/cppcheck.vcxproj
index 7b830bf25..e38b26a1b 100644
--- a/lib/cppcheck.vcxproj
+++ b/lib/cppcheck.vcxproj
@@ -143,6 +143,7 @@
+
@@ -243,10 +244,10 @@
- ..\bin\debug\
- ..\bin\debug\
- ..\bin\debug\
- ..\bin\debug\
+ $(SolutionDir)bin\debug\
+ $(SolutionDir)bin\debug\
+ $(SolutionDir)bin\debug\
+ $(SolutionDir)bin\debug\
temp\$(Configuration)_$(PlatformName)\
temp\$(Configuration)_$(PlatformName)\
temp\$(Configuration)_$(PlatformName)\
@@ -259,10 +260,10 @@
false
false
false
- ..\bin\
- ..\bin\
- ..\bin\
- ..\bin\
+ $(SolutionDir)bin\
+ $(SolutionDir)bin\
+ $(SolutionDir)bin\
+ $(SolutionDir)bin\
temp\$(Configuration)_$(PlatformName)\
temp\$(Configuration)_$(PlatformName)\
temp\$(Configuration)_$(PlatformName)\
@@ -288,13 +289,14 @@
CPPCHECKLIB_EXPORT;TINYXML2_EXPORT;SIMPLECPP_EXPORT;WIN32;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;%(PreprocessorDefinitions)
Level4
..\externals;..\externals\simplecpp;..\externals\tinyxml;%(AdditionalIncludeDirectories)
- 4018;4244;4251;4389;4482;4512;4701
+ 4251;4482;4512;4706
MultiThreadedDebugDLL
Use
check.h
check.h
true
stdcpplatest
+ /Zc:throwingNew /Zc:__cplusplus %(AdditionalOptions)
../externals;%(AdditionalLibraryDirectories)
@@ -318,13 +320,14 @@ xcopy "$(SolutionDir)platforms" "$(OutDir)platforms" /E /I /D /Y
CPPCHECKLIB_EXPORT;TINYXML2_EXPORT;SIMPLECPP_EXPORT;WIN32;HAVE_RULES;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;TIXML_USE_STL;%(PreprocessorDefinitions)
Level4
..\externals;..\externals\simplecpp;..\externals\tinyxml;%(AdditionalIncludeDirectories)
- 4018;4244;4251;4389;4482;4512;4701
+ 4251;4482;4512;4706
MultiThreadedDebugDLL
Use
check.h
check.h
true
stdcpplatest
+ /Zc:throwingNew /Zc:__cplusplus %(AdditionalOptions)
pcre.lib;%(AdditionalDependencies)
@@ -348,13 +351,14 @@ xcopy "$(SolutionDir)platforms" "$(OutDir)platforms" /E /I /D /Y
CPPCHECKLIB_EXPORT;TINYXML2_EXPORT;SIMPLECPP_EXPORT;WIN32;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;_WIN64;%(PreprocessorDefinitions)
Level4
..\externals;..\externals\simplecpp;..\externals\tinyxml;%(AdditionalIncludeDirectories)
- 4018;4244;4251;4389;4482;4512;4701
+ 4251;4482;4512;4706
MultiThreadedDebugDLL
Use
check.h
check.h
true
stdcpplatest
+ /Zc:throwingNew /Zc:__cplusplus %(AdditionalOptions)
../externals;%(AdditionalLibraryDirectories)
@@ -376,13 +380,14 @@ xcopy "$(SolutionDir)platforms" "$(OutDir)platforms" /E /I /D /Y
CPPCHECKLIB_EXPORT;TINYXML2_EXPORT;SIMPLECPP_EXPORT;WIN32;HAVE_RULES;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;_WIN64;%(PreprocessorDefinitions)
Level4
..\externals;..\externals\simplecpp;..\externals\tinyxml;%(AdditionalIncludeDirectories)
- 4018;4244;4251;4389;4482;4512;4701
+ 4251;4482;4512;4706
MultiThreadedDebugDLL
Use
check.h
check.h
true
stdcpplatest
+ /Zc:throwingNew /Zc:__cplusplus %(AdditionalOptions)
pcre64.lib;%(AdditionalDependencies)
@@ -408,7 +413,7 @@ xcopy "$(SolutionDir)platforms" "$(OutDir)platforms" /E /I /D /Y
true
true
..\externals;..\externals\simplecpp;..\externals\tinyxml;%(AdditionalIncludeDirectories)
- 4018;4244;4251;4389;4482;4512;4701
+ 4251;4482;4512;4706
CPPCHECKLIB_EXPORT;TINYXML2_EXPORT;SIMPLECPP_EXPORT;NDEBUG;WIN32;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;%(PreprocessorDefinitions)
MultiThreadedDLL
@@ -418,7 +423,7 @@ xcopy "$(SolutionDir)platforms" "$(OutDir)platforms" /E /I /D /Y
Use
check.h
check.h
- /Zc:inline /Zc:throwingNew %(AdditionalOptions)
+ /Zc:throwingNew /Zc:__cplusplus %(AdditionalOptions)
true
stdcpplatest
@@ -448,7 +453,7 @@ xcopy "$(SolutionDir)platforms" "$(OutDir)platforms" /E /I /D /Y
true
true
..\externals;..\externals\simplecpp;..\externals\tinyxml;%(AdditionalIncludeDirectories)
- 4018;4244;4251;4389;4482;4512;4701
+ 4251;4482;4512;4706
CPPCHECKLIB_EXPORT;TINYXML2_EXPORT;SIMPLECPP_EXPORT;NDEBUG;WIN32;HAVE_RULES;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;TIXML_USE_STL;%(PreprocessorDefinitions)
MultiThreadedDLL
@@ -458,7 +463,7 @@ xcopy "$(SolutionDir)platforms" "$(OutDir)platforms" /E /I /D /Y
Use
check.h
check.h
- /Zc:inline /Zc:throwingNew %(AdditionalOptions)
+ /Zc:throwingNew /Zc:__cplusplus %(AdditionalOptions)
true
stdcpplatest
@@ -489,7 +494,7 @@ xcopy "$(SolutionDir)platforms" "$(OutDir)platforms" /E /I /D /Y
true
true
..\externals;..\externals\simplecpp;..\externals\tinyxml;%(AdditionalIncludeDirectories)
- 4018;4244;4251;4389;4482;4512;4701
+ 4251;4482;4512;4706
CPPCHECKLIB_EXPORT;TINYXML2_EXPORT;SIMPLECPP_EXPORT;NDEBUG;WIN32;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;_WIN64;%(PreprocessorDefinitions)
MultiThreadedDLL
@@ -499,7 +504,7 @@ xcopy "$(SolutionDir)platforms" "$(OutDir)platforms" /E /I /D /Y
Use
check.h
check.h
- /Zc:inline /Zc:throwingNew %(AdditionalOptions)
+ /Zc:throwingNew /Zc:__cplusplus %(AdditionalOptions)
true
stdcpplatest
@@ -528,7 +533,7 @@ xcopy "$(SolutionDir)platforms" "$(OutDir)platforms" /E /I /D /Y
true
true
..\externals;..\externals\simplecpp;..\externals\tinyxml;%(AdditionalIncludeDirectories)
- 4018;4244;4251;4389;4482;4512;4701
+ 4251;4482;4512;4706
CPPCHECKLIB_EXPORT;TINYXML2_EXPORT;SIMPLECPP_EXPORT;NDEBUG;WIN32;HAVE_RULES;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;_WIN64;%(PreprocessorDefinitions)
MultiThreadedDLL
@@ -538,7 +543,7 @@ xcopy "$(SolutionDir)platforms" "$(OutDir)platforms" /E /I /D /Y
Use
check.h
check.h
- /Zc:inline /Zc:throwingNew %(AdditionalOptions)
+ /Zc:throwingNew /Zc:__cplusplus %(AdditionalOptions)
true
stdcpplatest
diff --git a/lib/cppcheck.vcxproj.filters b/lib/cppcheck.vcxproj.filters
index 88d82908c..3fbe2118f 100644
--- a/lib/cppcheck.vcxproj.filters
+++ b/lib/cppcheck.vcxproj.filters
@@ -337,6 +337,9 @@
Header Files
+
+ Header Files
+
diff --git a/test/testrunner.vcxproj b/test/testrunner.vcxproj
index 72eda6e43..910d833d5 100755
--- a/test/testrunner.vcxproj
+++ b/test/testrunner.vcxproj
@@ -153,16 +153,16 @@
- ..\bin\debug\
- ..\bin\debug\
+ $(SolutionDir)bin\debug\
+ $(SolutionDir)bin\debug\
temp\$(Configuration)_$(PlatformName)\
temp\$(Configuration)_$(PlatformName)\
testrunner
testrunner
true
true
- ..\bin\
- ..\bin\
+ $(SolutionDir)bin\
+ $(SolutionDir)bin\
temp\$(Configuration)_$(PlatformName)\
temp\$(Configuration)_$(PlatformName)\
testrunner
@@ -180,7 +180,6 @@
Disabled
CPPCHECKLIB_IMPORT;SIMPLECPP_IMPORT;WIN32;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;%(PreprocessorDefinitions)
MultiThreadedDebugDLL
- true
Level4
4251;4482;4512
true
@@ -189,6 +188,7 @@
testsuite.h
true
stdcpplatest
+ /Zc:throwingNew /Zc:__cplusplus %(AdditionalOptions)
shlwapi.lib;%(AdditionalDependencies)
@@ -209,7 +209,6 @@
Disabled
CPPCHECKLIB_IMPORT;SIMPLECPP_IMPORT;WIN32;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;_WIN64;%(PreprocessorDefinitions)
MultiThreadedDebugDLL
- true
Level4
4251;4482;4512
true
@@ -218,6 +217,7 @@
testsuite.h
true
stdcpplatest
+ /Zc:throwingNew /Zc:__cplusplus %(AdditionalOptions)
shlwapi.lib;%(AdditionalDependencies)
@@ -236,7 +236,6 @@
MaxSpeed
CPPCHECKLIB_IMPORT;SIMPLECPP_IMPORT;NDEBUG;WIN32;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;%(PreprocessorDefinitions)
MultiThreadedDLL
- true
Level4
AnySuitable
true
@@ -251,7 +250,7 @@
Use
testsuite.h
testsuite.h
- /Zc:inline /Zc:throwingNew %(AdditionalOptions)
+ /Zc:throwingNew /Zc:__cplusplus %(AdditionalOptions)
true
stdcpplatest
@@ -276,7 +275,6 @@
MaxSpeed
CPPCHECKLIB_IMPORT;SIMPLECPP_IMPORT;NDEBUG;WIN32;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;_WIN64;%(PreprocessorDefinitions)
MultiThreadedDLL
- true
Level4
AnySuitable
true
@@ -291,7 +289,7 @@
Use
testsuite.h
testsuite.h
- /Zc:inline /Zc:throwingNew %(AdditionalOptions)
+ /Zc:throwingNew /Zc:__cplusplus %(AdditionalOptions)
true
stdcpplatest