Unverified Commit 17f21df4 authored by Light's avatar Light Committed by GitHub

Fix(tweakme): SPDLOG_FUNCTION

- Uncommenting SPDLOG_FUNCTION will make MSVC fail to compile:
    __PRETTY_FUNCTION__ is shown in intellisense but it's not available at compile time
    https://stackoverflow.com/questions/48857887/pretty-function-in-visual-c
parent 94d2a849
......@@ -127,5 +127,9 @@
// __PRETTY_FUNCTION__ might be nicer in clang/gcc, and __FUNCTION__ in msvc.
// Defaults to __FUNCTION__ (should work on all compilers) if not defined.
//
// #define SPDLOG_FUNCTION __PRETTY_FUNCTION__
// #ifdef __PRETTY_FUNCTION__
// # define SPDLOG_FUNCTION __PRETTY_FUN CTION__
// #else
// # define SPDLOG_FUNCTION __FUNCTION__
// #endif
///////////////////////////////////////////////////////////////////////////////
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment