mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-23 18:47:36 -07:00
Merge pull request #2900
5cc84693
easylogging: show the 'no stack trace' warning only once (ston1th)
This commit is contained in:
commit
f270382718
1
external/easylogging++/easylogging++.cc
vendored
1
external/easylogging++/easylogging++.cc
vendored
@ -14,6 +14,7 @@
|
|||||||
// http://muflihun.com
|
// http://muflihun.com
|
||||||
//
|
//
|
||||||
|
|
||||||
|
#define EASYLOGGING_CC
|
||||||
#include "easylogging++.h"
|
#include "easylogging++.h"
|
||||||
|
|
||||||
#if defined(AUTO_INITIALIZE_EASYLOGGINGPP)
|
#if defined(AUTO_INITIALIZE_EASYLOGGINGPP)
|
||||||
|
3
external/easylogging++/easylogging++.h
vendored
3
external/easylogging++/easylogging++.h
vendored
@ -204,12 +204,13 @@ ELPP_INTERNAL_DEBUGGING_OUT_INFO << ELPP_INTERNAL_DEBUGGING_MSG(internalInfoStre
|
|||||||
# define ELPP_STACKTRACE 1
|
# define ELPP_STACKTRACE 1
|
||||||
# else
|
# else
|
||||||
# define ELPP_STACKTRACE 0
|
# define ELPP_STACKTRACE 0
|
||||||
|
# ifdef EASYLOGGING_CC
|
||||||
# if ELPP_COMPILER_MSVC
|
# if ELPP_COMPILER_MSVC
|
||||||
# pragma message("Stack trace not available for this compiler")
|
# pragma message("Stack trace not available for this compiler")
|
||||||
# else
|
# else
|
||||||
# warning "Stack trace not available for this compiler";
|
# warning "Stack trace not available for this compiler";
|
||||||
# endif // ELPP_COMPILER_MSVC
|
# endif // ELPP_COMPILER_MSVC
|
||||||
# define ELPP_STACKTRACE 0
|
# endif
|
||||||
# endif // ELPP_COMPILER_GCC
|
# endif // ELPP_COMPILER_GCC
|
||||||
#else
|
#else
|
||||||
# define ELPP_STACKTRACE 0
|
# define ELPP_STACKTRACE 0
|
||||||
|
Loading…
Reference in New Issue
Block a user