Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nvcc 7.5 has incompatibility with spdlog 0.16.3-p1 #17

Open
cwpearson opened this issue Dec 19, 2018 · 0 comments
Open

nvcc 7.5 has incompatibility with spdlog 0.16.3-p1 #17

cwpearson opened this issue Dec 19, 2018 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@cwpearson
Copy link
Member

Here in travis:

https://travis-ci.com/c3sr/comm_scope/jobs/166306330

[ 78%] Building CUDA object scopes/comm_scope/CMakeFiles/comm_scope.dir/src/zerocopy/host_to_gpu.cu.o
�[91m/root/.hunter/_Base/51d2d6b/8b8a474/d68db6d/Install/include/spdlog/spdlog.h:69:317: error: converting to 'const milliseconds {aka const std::chrono::duration<long int, std::ratio<1l, 1000l> >}' from initializer list would use explicit constructor 'constexpr std::chrono::duration<_Rep, _Period>::duration(const _Rep2&) [with _Rep2 = long int; <template-parameter-2-2> = void; _Rep = long int; _Period = std::ratio<1l, 1000l>]'
 void set_async_mode(size_t queue_size, const async_overflow_policy overflow_policy = async_overflow_policy::block_retry, const std::function<void()>& worker_warmup_cb = nullptr, const std::chrono::milliseconds& flush_interval_ms = std::chrono::milliseconds::zero(), const std::function<void()>& worker_teardown_cb = nullptr);
                                                                                                                                                                                                                                                                                                                             ^
�[0m�[91m/root/.hunter/_Base/51d2d6b/8b8a474/d68db6d/Install/include/spdlog/spdlog.h:137:391: error: converting to 'const milliseconds {aka const std::chrono::duration<long int, std::ratio<1l, 1000l> >}' from initializer list would use explicit constructor 'constexpr std::chrono::duration<_Rep, _Period>::duration(const _Rep2&) [with _Rep2 = long int; <template-parameter-2-2> = void; _Rep = long int; _Period = std::ratio<1l, 1000l>]'
 std::shared_ptr<logger> create_async(const std::string& logger_name, const sink_ptr& sink, size_t queue_size, const async_overflow_policy overflow_policy = async_overflow_policy::block_retry, const std::function<void()>& worker_warmup_cb = nullptr, const std::chrono::milliseconds& flush_interval_ms = std::chrono::milliseconds::zero(), const std::function<void()>& worker_teardown_cb = nullptr);
                                                                                                                                                                                                                                                                                                                                                                                                       ^
/root/.hunter/_Base/51d2d6b/8b8a474/d68db6d/Install/include/spdlog/spdlog.h:140:391: error: converting to 'const milliseconds {aka const std::chrono::duration<long int, std::ratio<1l, 1000l> >}' from initializer list would use explicit constructor 'constexpr std::chrono::duration<_Rep, _Period>::duration(const _Rep2&) [with _Rep2 = long int; <template-parameter-2-2> = void; _Rep = long int; _Period = std::ratio<1l, 1000l>]'
 std::shared_ptr<logger> create_async(const std::string& logger_name, sinks_init_list sinks, size_t queue_size, const async_overflow_policy overflow_policy = async_overflow_policy::block_retry, const std::function<void()>& worker_warmup_cb = nullptr, const std::chrono::milliseconds& flush_interval_ms = std::chrono::milliseconds::zero(), const std::function<void()>& worker_teardown_cb = nullptr);
                                                                                                                                                                                                                                                                                                                                                                                                       ^
�[0m�[91m/root/.hunter/_Base/51d2d6b/8b8a474/d68db6d/Install/include/spdlog/async_logger.h:47:299: error: converting to 'const milliseconds {aka const std::chrono::duration<long int, std::ratio<1l, 1000l> >}' from initializer list would use explicit constructor 'constexpr std::chrono::duration<_Rep, _Period>::duration(const _Rep2&) [with _Rep2 = long int; <template-parameter-2-2> = void; _Rep = long int; _Period = std::ratio<1l, 1000l>]'
     async_logger(const std::string& logger_name,
                                                                                                                                                                                                                                                                                                           ^
�[0m�[91m/root/.hunter/_Base/51d2d6b/8b8a474/d68db6d/Install/include/spdlog/async_logger.h:55:298: error: converting to 'const milliseconds {aka const std::chrono::duration<long int, std::ratio<1l, 1000l> >}' from initializer list would use explicit constructor 'constexpr std::chrono::duration<_Rep, _Period>::duration(const _Rep2&) [with _Rep2 = long int; <template-parameter-2-2> = void; _Rep = long int; _Period = std::ratio<1l, 1000l>]'
     async_logger(const std::string& logger_name,
                                                                                                                                                                                                                                                                                                          ^
�[0m�[91m/root/.hunter/_Base/51d2d6b/8b8a474/d68db6d/Install/include/spdlog/details/async_log_helper.h:128:375: error: converting to 'const milliseconds {aka const std::chrono::duration<long int, std::ratio<1l, 1000l> >}' from initializer list would use explicit constructor 'constexpr std::chrono::duration<_Rep, _Period>::duration(const _Rep2&) [with _Rep2 = long int; <template-parameter-2-2> = void; _Rep = long int; _Period = std::ratio<1l, 1000l>]'
     async_log_helper(formatter_ptr formatter,
                                                                                                                                                                                                                                                                                                                                                                                       ^
�[0m�[91mmake[2]: *** [scopes/comm_scope/CMakeFiles/comm_scope.dir/src/zerocopy/host_to_gpu.cu.o] Error 1
�[0m�[91mmake[1]: *** [scopes/comm_scope/CMakeFiles/comm_scope.dir/all] Error 2
�[0m�[91mmake: *** [all] Error 2
@cwpearson cwpearson added the bug Something isn't working label Dec 19, 2018
@cwpearson cwpearson self-assigned this Dec 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant