X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=msvc_recommended_pragmas.h;h=c0eb1d5edf4cd58bb0ad420aa9ab23992659cb96;hb=2e5bd8cf47f9e1559ccc44823a2f321b8ff8c1ea;hp=f78f9a1cab16813f36c9d8b64bcfb5c497700e87;hpb=b93d6ab83a0cddce0a3847984a91a2819df61130;p=platform%2Fupstream%2Fglib.git diff --git a/msvc_recommended_pragmas.h b/msvc_recommended_pragmas.h index f78f9a1..c0eb1d5 100644 --- a/msvc_recommended_pragmas.h +++ b/msvc_recommended_pragmas.h @@ -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