Skip to content

nvcc 7.5 has incompatibility with spdlog 0.16.3-p1 #17

@cwpearson

Description

@cwpearson

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions