Turn MACRO_EXPANSION and EXPAND_ONLY_PREDEF to on, also set a predefined macro for WXUNUSED(), this silences quite a few warnings.

Originally committed to SVN as r3332.
This commit is contained in:
Amar Takhar 2009-07-30 05:57:29 +00:00
parent e213d36b04
commit 4b88b4bdc5

View file

@ -210,12 +210,13 @@ PERLMOD_MAKEVAR_PREFIX =
# Configuration options related to the preprocessor
#---------------------------------------------------------------------------
ENABLE_PREPROCESSING = YES
MACRO_EXPANSION = NO
EXPAND_ONLY_PREDEF = NO
MACRO_EXPANSION = YES
EXPAND_ONLY_PREDEF = YES
SEARCH_INCLUDES = YES
INCLUDE_PATH =
INCLUDE_FILE_PATTERNS =
PREDEFINED =
PREDEFINED += WXUNUSED(x)=
EXPAND_AS_DEFINED =
SKIP_FUNCTION_MACROS = YES
#---------------------------------------------------------------------------