summaryrefslogtreecommitdiffstats
path: root/python_modules/marshal.py
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-06-18 21:10:25 +0200
committerMarc-André Lureau <marcandre.lureau@gmail.com>2012-03-20 15:25:44 +0100
commit075087b180909a88ee3605d2255da665c605516b (patch)
tree9e9f3ba9bc07e27a7f7c0198af7f972a7ff6dcd2 /python_modules/marshal.py
parent08d94f60b1d03e3bcf15cb2a6c880d1229a6b30f (diff)
downloadspice-common-075087b180909a88ee3605d2255da665c605516b.tar.gz
spice-common-075087b180909a88ee3605d2255da665c605516b.tar.xz
spice-common-075087b180909a88ee3605d2255da665c605516b.zip
Make generated marshallers build on win32
Diffstat (limited to 'python_modules/marshal.py')
-rw-r--r--python_modules/marshal.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python_modules/marshal.py b/python_modules/marshal.py
index 23b029a..4cbf942 100644
--- a/python_modules/marshal.py
+++ b/python_modules/marshal.py
@@ -18,6 +18,7 @@ def write_includes(writer):
writer.newline()
writer.writeln("#ifdef _MSC_VER")
writer.writeln("#pragma warning(disable:4101)")
+ writer.writeln("#pragma warning(disable:4018)")
writer.writeln("#endif")
writer.newline()