summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-11-11 18:23:27 +0100
committerBerke Viktor <bviktor@hexchat.org>2012-11-11 18:23:27 +0100
commit82694d2d29f6fbe5d72dbfec1bf79fc51e109f57 (patch)
treeff4f79fca31767e4c0065375d5359a00e793d6bd
parent18c0d7c52bad5b58799151fa95977208abea6488 (diff)
Hide 4996 warnings in all projects and fix license copy
-rw-r--r--src/common/common.vcxproj3
-rw-r--r--src/fe-gtk/fe-gtk.vcxproj4
-rw-r--r--win32/hexchat.props22
3 files changed, 7 insertions, 22 deletions
diff --git a/src/common/common.vcxproj b/src/common/common.vcxproj
index 60267b2d..1e46c95c 100644
--- a/src/common/common.vcxproj
+++ b/src/common/common.vcxproj
@@ -124,7 +124,6 @@
       <PreprocessorDefinitions>WIN32;NDEBUG;_LIB;$(OwnFlags);%(PreprocessorDefinitions)</PreprocessorDefinitions>

       <AdditionalIncludeDirectories>$(DepsRoot)\include;$(Glib);$(Gtk);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>

       <MultiProcessorCompilation>true</MultiProcessorCompilation>

-	  <DisableSpecificWarnings>4996</DisableSpecificWarnings>

     </ClCompile>

     <Link>

       <SubSystem>Windows</SubSystem>

@@ -143,7 +142,7 @@
       <PreprocessorDefinitions>WIN32;_WIN64;_AMD64_;NDEBUG;_LIB;$(OwnFlags);%(PreprocessorDefinitions)</PreprocessorDefinitions>

       <AdditionalIncludeDirectories>$(DepsRoot)\include;$(Glib);$(Gtk);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>

       <MultiProcessorCompilation>true</MultiProcessorCompilation>

-	  <DisableSpecificWarnings>4244;4267;4996</DisableSpecificWarnings>

+      <DisableSpecificWarnings>4244;4267</DisableSpecificWarnings>

     </ClCompile>

     <Link>

       <SubSystem>Windows</SubSystem>

diff --git a/src/fe-gtk/fe-gtk.vcxproj b/src/fe-gtk/fe-gtk.vcxproj
index 45abf752..98a61fff 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;4996</DisableSpecificWarnings>

+      <DisableSpecificWarnings>4244</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;4996</DisableSpecificWarnings>

+      <DisableSpecificWarnings>4244;4267</DisableSpecificWarnings>

     </ClCompile>

     <Link>

       <SubSystem>Windows</SubSystem>

diff --git a/win32/hexchat.props b/win32/hexchat.props
index e9807ec5..b0411ceb 100644
--- a/win32/hexchat.props
+++ b/win32/hexchat.props
@@ -72,27 +72,12 @@ copy "$(DepsRoot)\bin\pangocairo-1.0.dll" "$(HexChatRel)"
 copy "$(DepsRoot)\bin\pangoft2-1.0.dll" "$(HexChatRel)"

 copy "$(DepsRoot)\bin\pangowin32-1.0.dll" "$(HexChatRel)"

 copy "$(DepsRoot)\bin\pixman-1.dll" "$(HexChatRel)"

-::xcopy /q /s /i "$(DepsRoot)\lib\gtk-2.0\2.10.0\engines" "$(HexChatRel)\lib\gtk-2.0\2.10.0\engines"

+xcopy /q /s /i "$(DepsRoot)\lib\gtk-2.0\2.10.0\engines" "$(HexChatRel)\lib\gtk-2.0\2.10.0\engines"

 ::xcopy /q /s /i "$(DepsRoot)\lib\gtk-2.0\modules\libgail.dll" "$(HexChatRel)\lib\gtk-2.0\modules\"

 xcopy /q /s /i etc "$(HexChatRel)\etc"

 xcopy /q /s /i share "$(HexChatRel)\share"

-copy "..\..\share\doc\COPYING" "$(HexChatRel)"

-copy "$(DepsRoot)\LICENSE.ATK" "$(HexChatRel)\share"

-copy "$(DepsRoot)\LICENSE.CAIRO" "$(HexChatRel)\share"

-copy "$(DepsRoot)\LICENSE.ENCHANT" "$(HexChatRel)\share"

-copy "$(DepsRoot)\LICENSE.FONTCONFIG" "$(HexChatRel)\share"

-copy "$(DepsRoot)\LICENSE.FREETYPE" "$(HexChatRel)\share"

-copy "$(DepsRoot)\LICENSE.GDKPIXBUF" "$(HexChatRel)\share"

-copy "$(DepsRoot)\LICENSE.GETTEXT" "$(HexChatRel)\share"

-copy "$(DepsRoot)\LICENSE.GLIB" "$(HexChatRel)\share"

-copy "$(DepsRoot)\LICENSE.GTK" "$(HexChatRel)\share"

-copy "$(DepsRoot)\LICENSE.LIBFFI" "$(HexChatRel)\share"

-copy "$(DepsRoot)\LICENSE.LIBPNG" "$(HexChatRel)\share"

-copy "$(DepsRoot)\LICENSE.LIBXML2" "$(HexChatRel)\share"

-copy "$(DepsRoot)\LICENSE.OPENSSL" "$(HexChatRel)\share"

-copy "$(DepsRoot)\LICENSE.PANGO" "$(HexChatRel)\share"

-copy "$(DepsRoot)\LICENSE.PIXMAN" "$(HexChatRel)\share"

-copy "$(DepsRoot)\LICENSE.ZLIB" "$(HexChatRel)\share"

+xcopy /q /s /i "..\..\share\doc\COPYING" "$(HexChatRel)\share\doc\hexchat\"

+xcopy /q /s /i "$(DepsRoot)\share\doc" "$(HexChatRel)\share\doc"

 copy "$(DepsRoot)\bin\libeay32.dll" "$(HexChatRel)"

 copy "$(DepsRoot)\bin\ssleay32.dll" "$(HexChatRel)"

 copy "$(DepsRoot)\bin\zlib1.dll" "$(HexChatRel)"

@@ -126,6 +111,7 @@ copy "$(ProgramFiles)\Codejock Software\ISSkin\ISSkinU.dll" "$(HexChatRel)"
   <ItemDefinitionGroup>

     <ClCompile>

       <WarningLevel>Level3</WarningLevel>

+      <DisableSpecificWarnings>4996</DisableSpecificWarnings>

     </ClCompile>

   </ItemDefinitionGroup>