Skip to content

Instantly share code, notes, and snippets.

@xaqq
Created November 7, 2014 13:41
Show Gist options
  • Save xaqq/8cafb1c2d787e0090f3f to your computer and use it in GitHub Desktop.
Save xaqq/8cafb1c2d787e0090f3f to your computer and use it in GitHub Desktop.
Build log
g++ example.cpp -o example -march=native -Wall -Wextra -Wshadow -pedantic -std=c++11 -pthread -Wl,--no-as-needed -I../include -O3 -flto
In file included from example.cpp:29:0:
../include/spdlog/details/spdlog_impl.h: In instantiation of ‘std::shared_ptr<spdlog::logger> spdlog::create(const string&, const Args& ...) [with Sink = spdlog::sinks::rotating_file_sink<std::mutex>; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, char [4], long unsigned int, long unsigned int, long unsigned int}; std::string = std::basic_string<char>]’:
../include/spdlog/details/spdlog_impl.h:43:127: required from here
../include/spdlog/spdlog.h:84:87: warning: unused parameter ‘args#0’ [-Wunused-parameter]
std::shared_ptr<spdlog::logger> create(const std::string& logger_name, const Args&... args);
^
../include/spdlog/spdlog.h:84:87: warning: unused parameter ‘args#1’ [-Wunused-parameter]
../include/spdlog/spdlog.h:84:87: warning: unused parameter ‘args#2’ [-Wunused-parameter]
../include/spdlog/spdlog.h:84:87: warning: unused parameter ‘args#3’ [-Wunused-parameter]
../include/spdlog/spdlog.h:84:87: warning: unused parameter ‘args#4’ [-Wunused-parameter]
../include/spdlog/details/spdlog_impl.h: In instantiation of ‘std::shared_ptr<spdlog::logger> spdlog::create(const string&, const Args& ...) [with Sink = spdlog::sinks::rotating_file_sink<spdlog::details::null_mutex>; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, char [4], long unsigned int, long unsigned int, long unsigned int}; std::string = std::basic_string<char>]’:
../include/spdlog/details/spdlog_impl.h:48:127: required from here
../include/spdlog/spdlog.h:84:87: warning: unused parameter ‘args#0’ [-Wunused-parameter]
../include/spdlog/spdlog.h:84:87: warning: unused parameter ‘args#1’ [-Wunused-parameter]
../include/spdlog/spdlog.h:84:87: warning: unused parameter ‘args#2’ [-Wunused-parameter]
../include/spdlog/spdlog.h:84:87: warning: unused parameter ‘args#3’ [-Wunused-parameter]
../include/spdlog/spdlog.h:84:87: warning: unused parameter ‘args#4’ [-Wunused-parameter]
../include/spdlog/details/spdlog_impl.h: In instantiation of ‘std::shared_ptr<spdlog::logger> spdlog::create(const string&, const Args& ...) [with Sink = spdlog::sinks::daily_file_sink<std::mutex>; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, char [4], long unsigned int}; std::string = std::basic_string<char>]’:
../include/spdlog/details/spdlog_impl.h:54:98: required from here
../include/spdlog/spdlog.h:84:87: warning: unused parameter ‘args#0’ [-Wunused-parameter]
../include/spdlog/spdlog.h:84:87: warning: unused parameter ‘args#1’ [-Wunused-parameter]
../include/spdlog/spdlog.h:84:87: warning: unused parameter ‘args#2’ [-Wunused-parameter]
../include/spdlog/details/spdlog_impl.h: In instantiation of ‘std::shared_ptr<spdlog::logger> spdlog::create(const string&, const Args& ...) [with Sink = spdlog::sinks::daily_file_sink<spdlog::details::null_mutex>; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, char [4], long unsigned int}; std::string = std::basic_string<char>]’:
../include/spdlog/details/spdlog_impl.h:58:98: required from here
../include/spdlog/spdlog.h:84:87: warning: unused parameter ‘args#0’ [-Wunused-parameter]
../include/spdlog/spdlog.h:84:87: warning: unused parameter ‘args#1’ [-Wunused-parameter]
../include/spdlog/spdlog.h:84:87: warning: unused parameter ‘args#2’ [-Wunused-parameter]
g++ bench.cpp -o bench -march=native -Wall -Wextra -Wshadow -pedantic -std=c++11 -pthread -Wl,--no-as-needed -I../include -O3 -flto
In file included from bench.cpp:33:0:
../include/spdlog/details/spdlog_impl.h: In instantiation of ‘std::shared_ptr<spdlog::logger> spdlog::create(const string&, const Args& ...) [with Sink = spdlog::sinks::rotating_file_sink<std::mutex>; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, char [4], long unsigned int, long unsigned int, long unsigned int}; std::string = std::basic_string<char>]’:
../include/spdlog/details/spdlog_impl.h:43:127: required from here
../include/spdlog/spdlog.h:84:87: warning: unused parameter ‘args#0’ [-Wunused-parameter]
std::shared_ptr<spdlog::logger> create(const std::string& logger_name, const Args&... args);
^
../include/spdlog/spdlog.h:84:87: warning: unused parameter ‘args#1’ [-Wunused-parameter]
../include/spdlog/spdlog.h:84:87: warning: unused parameter ‘args#2’ [-Wunused-parameter]
../include/spdlog/spdlog.h:84:87: warning: unused parameter ‘args#3’ [-Wunused-parameter]
../include/spdlog/spdlog.h:84:87: warning: unused parameter ‘args#4’ [-Wunused-parameter]
../include/spdlog/details/spdlog_impl.h: In instantiation of ‘std::shared_ptr<spdlog::logger> spdlog::create(const string&, const Args& ...) [with Sink = spdlog::sinks::rotating_file_sink<spdlog::details::null_mutex>; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, char [4], long unsigned int, long unsigned int, long unsigned int}; std::string = std::basic_string<char>]’:
../include/spdlog/details/spdlog_impl.h:48:127: required from here
../include/spdlog/spdlog.h:84:87: warning: unused parameter ‘args#0’ [-Wunused-parameter]
../include/spdlog/spdlog.h:84:87: warning: unused parameter ‘args#1’ [-Wunused-parameter]
../include/spdlog/spdlog.h:84:87: warning: unused parameter ‘args#2’ [-Wunused-parameter]
../include/spdlog/spdlog.h:84:87: warning: unused parameter ‘args#3’ [-Wunused-parameter]
../include/spdlog/spdlog.h:84:87: warning: unused parameter ‘args#4’ [-Wunused-parameter]
../include/spdlog/details/spdlog_impl.h: In instantiation of ‘std::shared_ptr<spdlog::logger> spdlog::create(const string&, const Args& ...) [with Sink = spdlog::sinks::daily_file_sink<std::mutex>; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, char [4], long unsigned int}; std::string = std::basic_string<char>]’:
../include/spdlog/details/spdlog_impl.h:54:98: required from here
../include/spdlog/spdlog.h:84:87: warning: unused parameter ‘args#0’ [-Wunused-parameter]
../include/spdlog/spdlog.h:84:87: warning: unused parameter ‘args#1’ [-Wunused-parameter]
../include/spdlog/spdlog.h:84:87: warning: unused parameter ‘args#2’ [-Wunused-parameter]
../include/spdlog/details/spdlog_impl.h: In instantiation of ‘std::shared_ptr<spdlog::logger> spdlog::create(const string&, const Args& ...) [with Sink = spdlog::sinks::daily_file_sink<spdlog::details::null_mutex>; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, char [4], long unsigned int}; std::string = std::basic_string<char>]’:
../include/spdlog/details/spdlog_impl.h:58:98: required from here
../include/spdlog/spdlog.h:84:87: warning: unused parameter ‘args#0’ [-Wunused-parameter]
../include/spdlog/spdlog.h:84:87: warning: unused parameter ‘args#1’ [-Wunused-parameter]
../include/spdlog/spdlog.h:84:87: warning: unused parameter ‘args#2’ [-Wunused-parameter]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment