From cd0b98fa16875e4d3ffd3afae786ffa5a80f323a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 19 May 2012 12:43:22 +0000 Subject: warning fixes for SpellChecker git-svn-id: http://svn.miranda-ng.org/main/trunk@72 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SpellChecker/hunspell/config.h | 2 ++ plugins/SpellChecker/spellchecker.vcxproj | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'plugins/SpellChecker') diff --git a/plugins/SpellChecker/hunspell/config.h b/plugins/SpellChecker/hunspell/config.h index 8c84118f6d..6e85f1b41c 100644 --- a/plugins/SpellChecker/hunspell/config.h +++ b/plugins/SpellChecker/hunspell/config.h @@ -1,5 +1,7 @@ /* config.h.in. Generated from configure.ac by autoheader. */ +#define _CRT_SECURE_NO_WARNINGS + /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP systems. This function is required for `alloca.c' support on those systems. */ diff --git a/plugins/SpellChecker/spellchecker.vcxproj b/plugins/SpellChecker/spellchecker.vcxproj index 702b0f59c7..553d6cc092 100644 --- a/plugins/SpellChecker/spellchecker.vcxproj +++ b/plugins/SpellChecker/spellchecker.vcxproj @@ -106,7 +106,7 @@ Full OnlyExplicitInline ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) - HUNSPELL_STATIC;_CRT_NONSTDC_NO_WARNINGS;WIN32;W32;NDEBUG;_WINDOWS;UNICODE;_USRDLL;%(PreprocessorDefinitions) + HUNSPELL_STATIC;WIN32;W32;NDEBUG;_WINDOWS;UNICODE;_USRDLL;%(PreprocessorDefinitions) true MultiThreadedDLL true @@ -152,7 +152,7 @@ Full OnlyExplicitInline ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) - HUNSPELL_STATIC;_CRT_NONSTDC_NO_WARNINGS;WIN64;WIN32;W32;NDEBUG;_WINDOWS;UNICODE;_USRDLL;%(PreprocessorDefinitions) + HUNSPELL_STATIC;WIN64;W32;NDEBUG;_WINDOWS;UNICODE;_USRDLL;%(PreprocessorDefinitions) true MultiThreadedDLL true @@ -197,7 +197,7 @@ Disabled ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) - HUNSPELL_STATIC;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_WARNINGS;WIN32;W32;_DEBUG;_WINDOWS;UNICODE;_USRDLL;%(PreprocessorDefinitions) + HUNSPELL_STATIC;_CRT_NONSTDC_NO_WARNINGS;WIN32;W32;_DEBUG;_WINDOWS;UNICODE;_USRDLL;%(PreprocessorDefinitions) MultiThreadedDebug true Level3 @@ -235,7 +235,7 @@ Disabled ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) - HUNSPELL_STATIC;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_WARNINGS;WIN64;WIN32;W32;_DEBUG;_WINDOWS;UNICODE;_USRDLL;%(PreprocessorDefinitions) + HUNSPELL_STATIC;WIN64;W32;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) MultiThreadedDebug true Level3 -- cgit v1.2.3