changeset 2174:8453d3a26421

disable warning with MSVC
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 23 Nov 2016 16:12:04 +0100
parents 1c42860097fc
children bed8e7ad8bab
files Resources/EmbedResources.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Resources/EmbedResources.py	Wed Nov 23 15:27:12 2016 +0100
+++ b/Resources/EmbedResources.py	Wed Nov 23 16:12:04 2016 +0100
@@ -159,6 +159,10 @@
 #include <string>
 #include <list>
 
+#if defined(_MSC_VER)
+#  pragma warning(disable: 4065)  // "Switch statement contains 'default' but no 'case' labels"
+#endif
+
 namespace %s
 {
   namespace EmbeddedResources