diff options
author | Hans Breuer <hans@breuer.org> | 2007-12-09 14:38:26 +0000 |
---|---|---|
committer | Hans Breuer <hans@src.gnome.org> | 2007-12-09 14:38:26 +0000 |
commit | b877c83cdcde2f7d26f9395d0b21230941cf190e (patch) | |
tree | 54f440109a52e24a5889ad3b510b06b9053b3db0 /msvc_recommended_pragmas.h | |
parent | 1550b7b78f35814edd828edcdfee765c725424a0 (diff) | |
download | glib-b877c83cdcde2f7d26f9395d0b21230941cf190e.tar.gz |
removed -GD to compile with msvc9 (vs2008) with less complains
2007-12-09 Hans Breuer <hans@breuer.org>
* **/makefile.msc glib/makefile.msc.in : removed -GD to compile
with msvc9 (vs2008) with less complains
* glibconfig.h.win32.in : #define G_HAVE_ISO_VARARGS 1 for
msv8 (vs2005) and above
* glib/gfileutils.c : s/stricmp/_stricmp/
* msvc_recommended_pragmas.h : work around Microsoft's premature
attempt to deprecate the C-Library
* tests/makefile.msc.in : added checksum-test
svn path=/trunk/; revision=6076
Diffstat (limited to 'msvc_recommended_pragmas.h')
-rw-r--r-- | msvc_recommended_pragmas.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/msvc_recommended_pragmas.h b/msvc_recommended_pragmas.h index ee34eef4d..cb9370cc6 100644 --- a/msvc_recommended_pragmas.h +++ b/msvc_recommended_pragmas.h @@ -26,3 +26,6 @@ #pragma warning(disable:4244) /* No possible loss of data warnings */ #pragma warning(disable:4305) /* No truncation from int to char warnings */ + +/* work around Microsoft's premature attempt to deprecate the C-Library */ +#pragma warning(disable:4996) /* This function or variable may be unsafe. */ |