X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=msvc_recommended_pragmas.h;h=c0eb1d5edf4cd58bb0ad420aa9ab23992659cb96;hb=8638fe6875159c93d44a9c985aafdb39e4ac60f8;hp=cb9370cc643c85520a4f6211713e6fc5340b171b;hpb=b877c83cdcde2f7d26f9395d0b21230941cf190e;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