[kdbus] Do not set body message if signature field is empty
[platform/upstream/glib.git] / msvc_recommended_pragmas.h
index f78f9a1..c0eb1d5 100644 (file)
@@ -27,6 +27,8 @@
 #pragma warning(disable:4244)  /* No possible loss of data warnings */
 #pragma warning(disable:4305)   /* No truncation from int to char warnings */
 
+#pragma warning(error:4819) /* The file contains a character that cannot be represented in the current code page */
+
 /* work around Microsoft's premature attempt to deprecate the C-Library */
 #define _CRT_SECURE_NO_WARNINGS
 #define _CRT_NONSTDC_NO_WARNINGS