diff options
author | Berke Viktor <bviktor@hexchat.org> | 2012-11-06 23:47:12 +0100 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2012-11-06 23:47:12 +0100 |
commit | 912ea8a5343aef761376b1399d03d10531515fc4 (patch) | |
tree | 6438b9087db8113d2ed39b09f0bf5182a5beace3 | |
parent | cc8a86abb42cc717d667f1df83fc50fd1793bf66 (diff) |
Disable some stupid warnings without the WDK
-rw-r--r-- | src/common/common.vcxproj | 4 | ||||
-rw-r--r-- | src/fe-gtk/fe-gtk.vcxproj | 4 | ||||
-rw-r--r-- | 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 @@ <PreprocessorDefinitions>WIN32;NDEBUG;_LIB;$(OwnFlags);%(PreprocessorDefinitions)</PreprocessorDefinitions> <AdditionalIncludeDirectories>$(DepsRoot)\include;$(Glib);$(Gtk);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <MultiProcessorCompilation>true</MultiProcessorCompilation> - <DisableSpecificWarnings>4244;4267</DisableSpecificWarnings> + <DisableSpecificWarnings>4244;4267;4996</DisableSpecificWarnings> </ClCompile> <Link> <SubSystem>Windows</SubSystem> @@ -143,7 +143,7 @@ <PreprocessorDefinitions>WIN32;_WIN64;_AMD64_;NDEBUG;_LIB;$(OwnFlags);%(PreprocessorDefinitions)</PreprocessorDefinitions> <AdditionalIncludeDirectories>$(DepsRoot)\include;$(Glib);$(Gtk);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <MultiProcessorCompilation>true</MultiProcessorCompilation> - <DisableSpecificWarnings>4244;4267</DisableSpecificWarnings> + <DisableSpecificWarnings>4244;4267;4996</DisableSpecificWarnings> </ClCompile> <Link> <SubSystem>Windows</SubSystem> 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 @@ <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;$(OwnFlags);%(PreprocessorDefinitions)</PreprocessorDefinitions> <AdditionalIncludeDirectories>$(DepsRoot)\include;$(Glib);$(Gtk);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <MultiProcessorCompilation>true</MultiProcessorCompilation> - <DisableSpecificWarnings>4244;4267</DisableSpecificWarnings> + <DisableSpecificWarnings>4244;4267;4996</DisableSpecificWarnings> </ClCompile> <Link> <SubSystem>Windows</SubSystem> @@ -84,7 +84,7 @@ <PreprocessorDefinitions>WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;$(OwnFlags);%(PreprocessorDefinitions)</PreprocessorDefinitions> <AdditionalIncludeDirectories>$(DepsRoot)\include;$(Glib);$(Gtk);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <MultiProcessorCompilation>true</MultiProcessorCompilation> - <DisableSpecificWarnings>4244;4267</DisableSpecificWarnings> + <DisableSpecificWarnings>4244;4267;4996</DisableSpecificWarnings> </ClCompile> <Link> <SubSystem>Windows</SubSystem> 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 @@ <YourPythonPath>c:\mozilla-build\python-2.7</YourPythonPath> <!-- YOU SHOULDN'T TOUCH ANYTHING BELOW --> <!-- G_DISABLE_DEPRECATED is unfeasible due to g_completion_* --> - <OwnFlags>G_DISABLE_CAST_CHECKS;GDK_PIXBUF_DISABLE_DEPRECATED;GDK_DISABLE_DEPRECATED;HAVE_STRTOULL;strtoull=_strtoui64;strcasecmp=stricmp;strncasecmp=strnicmp;__inline__=__inline;</OwnFlags> + <OwnFlags>G_DISABLE_CAST_CHECKS;GDK_PIXBUF_DISABLE_DEPRECATED;HAVE_STRTOULL;strtoull=_strtoui64;strcasecmp=stricmp;strncasecmp=strnicmp;__inline__=__inline;</OwnFlags> <DepsRoot>$(YourDepsPath)\$(PlatformName)</DepsRoot> <GendefPath>$(YourGendefPath)</GendefPath> <MsgfmtPath>$(YourMsgfmtPath)</MsgfmtPath> |