From 912ea8a5343aef761376b1399d03d10531515fc4 Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Tue, 6 Nov 2012 23:47:12 +0100 Subject: [PATCH] Disable some stupid warnings without the WDK --- src/common/common.vcxproj | 4 ++-- src/fe-gtk/fe-gtk.vcxproj | 4 ++-- win32/hexchat.props | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/common/common.vcxproj b/src/common/common.vcxproj index 343ff58a..f750e947 100644 --- a/src/common/common.vcxproj +++ b/src/common/common.vcxproj @@ -124,7 +124,7 @@ WIN32;NDEBUG;_LIB;$(OwnFlags);%(PreprocessorDefinitions) $(DepsRoot)\include;$(Glib);$(Gtk);%(AdditionalIncludeDirectories) true - 4244;4267 + 4244;4267;4996 Windows @@ -143,7 +143,7 @@ WIN32;_WIN64;_AMD64_;NDEBUG;_LIB;$(OwnFlags);%(PreprocessorDefinitions) $(DepsRoot)\include;$(Glib);$(Gtk);%(AdditionalIncludeDirectories) true - 4244;4267 + 4244;4267;4996 Windows diff --git a/src/fe-gtk/fe-gtk.vcxproj b/src/fe-gtk/fe-gtk.vcxproj index 6963134a..0bc479c7 100644 --- a/src/fe-gtk/fe-gtk.vcxproj +++ b/src/fe-gtk/fe-gtk.vcxproj @@ -62,7 +62,7 @@ WIN32;NDEBUG;_WINDOWS;$(OwnFlags);%(PreprocessorDefinitions) $(DepsRoot)\include;$(Glib);$(Gtk);%(AdditionalIncludeDirectories) true - 4244;4267 + 4244;4267;4996 Windows @@ -84,7 +84,7 @@ WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;$(OwnFlags);%(PreprocessorDefinitions) $(DepsRoot)\include;$(Glib);$(Gtk);%(AdditionalIncludeDirectories) true - 4244;4267 + 4244;4267;4996 Windows diff --git a/win32/hexchat.props b/win32/hexchat.props index 6237cbb9..e9807ec5 100644 --- a/win32/hexchat.props +++ b/win32/hexchat.props @@ -13,7 +13,7 @@ c:\mozilla-build\python-2.7 - G_DISABLE_CAST_CHECKS;GDK_PIXBUF_DISABLE_DEPRECATED;GDK_DISABLE_DEPRECATED;HAVE_STRTOULL;strtoull=_strtoui64;strcasecmp=stricmp;strncasecmp=strnicmp;__inline__=__inline; + G_DISABLE_CAST_CHECKS;GDK_PIXBUF_DISABLE_DEPRECATED;HAVE_STRTOULL;strtoull=_strtoui64;strcasecmp=stricmp;strncasecmp=strnicmp;__inline__=__inline; $(YourDepsPath)\$(PlatformName) $(YourGendefPath) $(YourMsgfmtPath)