You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I met this error message.
I want use this great logging library!! (love async mod logging!!)
my OSX g++ version
g++ --version ✚ ✱ ◼
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/c++/4.2.1
Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.1.0
Thread model: posix
"/Applications/CLion EAP.app/Contents/bin/cmake/bin/cmake" --build /Users/md/Library/Caches/clion10/cmake/generated/34156cd6/34156cd6/Debug --target timo_echoes -- -j 4
Scanning dependencies of target timo_echoes
[100%] Building CXX object CMakeFiles/timo_echoes.dir/main.cpp.o
In file included from /Users/md/Documents/workspace/timo-echoes/main.cpp:22:
In file included from /Users/md/Documents/workspace/timo-echoes/spdlog/include/spdlog/spdlog.h:34:
In file included from /Users/md/Documents/workspace/timo-echoes/spdlog/include/spdlog/logger.h:36:
In file included from /Users/md/Documents/workspace/timo-echoes/spdlog/include/spdlog/sinks/base_sink.h:35:
In file included from /Users/md/Documents/workspace/timo-echoes/spdlog/include/spdlog/sinks/./sink.h:27:
In file included from /Users/md/Documents/workspace/timo-echoes/spdlog/include/spdlog/sinks/../details/log_msg.h:28:
In file included from /Users/md/Documents/workspace/timo-echoes/spdlog/include/spdlog/sinks/../details/./format.h:2880:
/Users/md/Documents/workspace/timo-echoes/spdlog/include/spdlog/sinks/../details/format.cc:145:11: error: cannot initialize a variable of type 'char *' with an rvalue of type 'int'
char *message = strerror_r(error_code, buffer, buffer_size);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[3]: *** [CMakeFiles/timo_echoes.dir/main.cpp.o] Error 1
make[2]: *** [CMakeFiles/timo_echoes.dir/all] Error 2
make[1]: *** [CMakeFiles/timo_echoes.dir/rule] Error 2
make: *** [timo_echoes] Error 2
The text was updated successfully, but these errors were encountered:
Hi. I'm new spdlog user & English :)
I met this error message.
I want use this great logging library!! (love async mod logging!!)
my OSX g++ version
The text was updated successfully, but these errors were encountered: