-
Notifications
You must be signed in to change notification settings - Fork 567
Closed
Labels
Description
log4cplusS.lib
log4cplusSD.lib
log4cplusSU.lib
log4cplusSUD.lib
project use any one of those static library, it will crash.
crash address:
file: log4cplus-1.2.x\src\loglevel.cxx line48
line45-63
#define DEF_LL_STRING(_logLevel) \
static tstring const & _logLevel ## _STRING () \
{ \
static tstring const str (LOG4CPLUS_TEXT (#_logLevel)); \
return str; \
}
DEF_LL_STRING (OFF)
DEF_LL_STRING (FATAL)
DEF_LL_STRING (ERROR)
DEF_LL_STRING (WARN)
DEF_LL_STRING (INFO)
DEF_LL_STRING (DEBUG)
DEF_LL_STRING (TRACE)
DEF_LL_STRING (ALL)
DEF_LL_STRING (NOTSET)
DEF_LL_STRING (UNKNOWN)
#undef DEF_LL_STRING
line117-129
void
initializeLogLevelStrings ()
{
OFF_STRING();
FATAL_STRING();
ERROR_STRING();
WARN_STRING();
INFO_STRING();
DEBUG_STRING();
TRACE_STRING();
ALL_STRING();
NOTSET_STRING();
}