Discussion:
[win-pv-devel] [PATCH] Disable warning 5032
Owen Smith
2018-10-11 11:01:22 UTC
Permalink
WDK 17763 throws a warning 5032 (mismatched #pragma warning(push)) in
include/um/winioctl.h
Disable this warning until the WDK header has resolved this issue.

Signed-off-by: Owen Smith <***@citrix.com>
---
vs2017/xenagent/xenagent.vcxproj | 2 +-
vs2017/xencontrol/xencontrol.vcxproj | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/vs2017/xenagent/xenagent.vcxproj b/vs2017/xenagent/xenagent.vcxproj
index b3d6a3d..6a17308 100644
--- a/vs2017/xenagent/xenagent.vcxproj
+++ b/vs2017/xenagent/xenagent.vcxproj
@@ -25,7 +25,7 @@
<AdditionalIncludeDirectories>$(SolutionDir)..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>PROJECT=$(ProjectName);WIN32;_WINDOWS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WarningLevel>EnableAllWarnings</WarningLevel>
- <DisableSpecificWarnings>4127;4350;4365;4571;4625;4626;4711;4774;4548;4820;4668;4255;5026;5027;5038;5039;6001;6054;28196;%(DisableSpecificWarnings)</DisableSpecificWarnings>
+ <DisableSpecificWarnings>4127;4350;4365;4571;4625;4626;4711;4774;4548;4820;4668;4255;5026;5027;5032;5038;5039;6001;6054;28196;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<EnablePREfast>true</EnablePREfast>
<RuntimeLibrary Condition="'$(UseDebugLibraries)'=='true'">MultiThreadedDebug</RuntimeLibrary>
diff --git a/vs2017/xencontrol/xencontrol.vcxproj b/vs2017/xencontrol/xencontrol.vcxproj
index 18f471c..f54d6b5 100644
--- a/vs2017/xencontrol/xencontrol.vcxproj
+++ b/vs2017/xencontrol/xencontrol.vcxproj
@@ -22,7 +22,7 @@
<AdditionalIncludeDirectories>$(SolutionDir)..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_WINDOWS;_USRDLL;XENCONTROL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WarningLevel>EnableAllWarnings</WarningLevel>
- <DisableSpecificWarnings>4127;4711;4548;4820;4668;4255;5045;6001;6054;28196;%(DisableSpecificWarnings)</DisableSpecificWarnings>
+ <DisableSpecificWarnings>4127;4711;4548;4820;4668;4255;5032;5045;6001;6054;28196;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<EnablePREfast>true</EnablePREfast>
<ExceptionHandling>false</ExceptionHandling>
--
2.16.2.windows.1
Paul Durrant
2018-10-11 11:21:22 UTC
Permalink
-----Original Message-----
Behalf Of Owen Smith
Sent: 11 October 2018 12:01
Subject: [win-pv-devel] [PATCH] Disable warning 5032
WDK 17763 throws a warning 5032 (mismatched #pragma warning(push)) in
include/um/winioctl.h
Disable this warning until the WDK header has resolved this issue.
---
vs2017/xenagent/xenagent.vcxproj | 2 +-
vs2017/xencontrol/xencontrol.vcxproj | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/vs2017/xenagent/xenagent.vcxproj
b/vs2017/xenagent/xenagent.vcxproj
index b3d6a3d..6a17308 100644
--- a/vs2017/xenagent/xenagent.vcxproj
+++ b/vs2017/xenagent/xenagent.vcxproj
@@ -25,7 +25,7 @@
<AdditionalIncludeDirectories>$(SolutionDir)..\include;%(AdditionalInclude
Directories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>PROJECT=$(ProjectName);WIN32;_WINDOWS;_CRT_SECURE
_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WarningLevel>EnableAllWarnings</WarningLevel>
-
<DisableSpecificWarnings>4127;4350;4365;4571;4625;4626;4711;4774;4548;4820
;4668;4255;5026;5027;5038;5039;6001;6054;28196;%(DisableSpecificWarnings)<
/DisableSpecificWarnings>
+
<DisableSpecificWarnings>4127;4350;4365;4571;4625;4626;4711;4774;4548;4820
;4668;4255;5026;5027;5032;5038;5039;6001;6054;28196;%(DisableSpecificWarni
ngs)</DisableSpecificWarnings>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<EnablePREfast>true</EnablePREfast>
<RuntimeLibrary
Condition="'$(UseDebugLibraries)'=='true'">MultiThreadedDebug</RuntimeLibr
ary>
diff --git a/vs2017/xencontrol/xencontrol.vcxproj
b/vs2017/xencontrol/xencontrol.vcxproj
index 18f471c..f54d6b5 100644
--- a/vs2017/xencontrol/xencontrol.vcxproj
+++ b/vs2017/xencontrol/xencontrol.vcxproj
@@ -22,7 +22,7 @@
<AdditionalIncludeDirectories>$(SolutionDir)..\include;%(AdditionalInclude
Directories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_WINDOWS;_USRDLL;XENCONTROL_EXPORTS;%(Prepr
ocessorDefinitions)</PreprocessorDefinitions>
<WarningLevel>EnableAllWarnings</WarningLevel>
-
<DisableSpecificWarnings>4127;4711;4548;4820;4668;4255;5045;6001;6054;2819
6;%(DisableSpecificWarnings)</DisableSpecificWarnings>
+
<DisableSpecificWarnings>4127;4711;4548;4820;4668;4255;5032;5045;6001;6054
;28196;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<EnablePREfast>true</EnablePREfast>
<ExceptionHandling>false</ExceptionHandling>
--
2.16.2.windows.1
_______________________________________________
win-pv-devel mailing list
https://lists.xenproject.org/mailman/listinfo/win-pv-devel
Owen Smith
2018-10-15 10:08:07 UTC
Permalink
xencontrol also throws up warning 5032 with WLK 17763, and was missed
off the previous patch.

Signed-off-by: Owen Smith <***@citrix.com>
---
vs2017/xencontrol/xencontrol.vcxproj | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vs2017/xencontrol/xencontrol.vcxproj b/vs2017/xencontrol/xencontrol.vcxproj
index 18f471c..f54d6b5 100644
--- a/vs2017/xencontrol/xencontrol.vcxproj
+++ b/vs2017/xencontrol/xencontrol.vcxproj
@@ -22,7 +22,7 @@
<AdditionalIncludeDirectories>$(SolutionDir)..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_WINDOWS;_USRDLL;XENCONTROL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WarningLevel>EnableAllWarnings</WarningLevel>
- <DisableSpecificWarnings>4127;4711;4548;4820;4668;4255;5045;6001;6054;28196;%(DisableSpecificWarnings)</DisableSpecificWarnings>
+ <DisableSpecificWarnings>4127;4711;4548;4820;4668;4255;5032;5045;6001;6054;28196;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<EnablePREfast>true</EnablePREfast>
<ExceptionHandling>false</ExceptionHandling>
--
2.16.2.windows.1
Paul Durrant
2018-10-15 10:13:09 UTC
Permalink
-----Original Message-----
Behalf Of Owen Smith
Sent: 15 October 2018 11:08
Subject: [win-pv-devel] [PATCH] Disable warning 5032
xencontrol also throws up warning 5032 with WLK 17763, and was missed
off the previous patch.
---
vs2017/xencontrol/xencontrol.vcxproj | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vs2017/xencontrol/xencontrol.vcxproj
b/vs2017/xencontrol/xencontrol.vcxproj
index 18f471c..f54d6b5 100644
--- a/vs2017/xencontrol/xencontrol.vcxproj
+++ b/vs2017/xencontrol/xencontrol.vcxproj
@@ -22,7 +22,7 @@
<AdditionalIncludeDirectories>$(SolutionDir)..\include;%(AdditionalInclude
Directories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_WINDOWS;_USRDLL;XENCONTROL_EXPORTS;%(Prepr
ocessorDefinitions)</PreprocessorDefinitions>
<WarningLevel>EnableAllWarnings</WarningLevel>
-
<DisableSpecificWarnings>4127;4711;4548;4820;4668;4255;5045;6001;6054;2819
6;%(DisableSpecificWarnings)</DisableSpecificWarnings>
+
<DisableSpecificWarnings>4127;4711;4548;4820;4668;4255;5032;5045;6001;6054
;28196;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<EnablePREfast>true</EnablePREfast>
<ExceptionHandling>false</ExceptionHandling>
--
2.16.2.windows.1
_______________________________________________
win-pv-devel mailing list
https://lists.xenproject.org/mailman/listinfo/win-pv-devel
Continue reading on narkive:
Loading...