spdlog
spdlog copied to clipboard
converting UCN to execution character set: Invalid or incomplete multibyte or wide character
I got an error when use spdlog
/usr/include/fmt/core.h:430:68: error: converting UCN to execution character set: Invalid or incomplete multibyte or wide character
430 | FMT_MSC_WARNING(suppress : 4566) constexpr unsigned char micro[] = "\u00B5";
| ^~~~~~~~
CMakeLists.txt:
...
add_compile_options(-finput-charset=utf-8)
add_compile_options(-fexec-charset=GB2312)
...
This is a fmt library issue (fmtlib/fmt#3154) and already fixed. And you are using external fmt, so it is not the source code maintained in this repository. Please upgrade your fmt.