X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=msvc_recommended_pragmas.h;h=c0eb1d5edf4cd58bb0ad420aa9ab23992659cb96;hb=9da85c7262325478e8730ae9f3e76bd0528a9a8c;hp=cb9370cc643c85520a4f6211713e6fc5340b171b;hpb=73007021796f33d7ccec4e5f2bb2b2f8660347f2;p=platform%2Fupstream%2Fglib.git diff --git a/msvc_recommended_pragmas.h b/msvc_recommended_pragmas.h index cb9370c..c0eb1d5 100644 --- a/msvc_recommended_pragmas.h +++ b/msvc_recommended_pragmas.h @@ -27,5 +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 */ -#pragma warning(disable:4996) /* This function or variable may be unsafe. */ +#define _CRT_SECURE_NO_WARNINGS +#define _CRT_NONSTDC_NO_WARNINGS