]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cmake: disable concepts in boost::asio
authorKefu Chai <kchai@redhat.com>
Wed, 12 Feb 2020 08:05:14 +0000 (16:05 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 12 Feb 2020 08:33:20 +0000 (16:33 +0800)
commitb556e42e20b13f76a6878b5bd2ade19b886d16e9
tree589f34ab8fec6caffa9def2d4fd1f803ebea3484
parent7ee700ba1ec68b0fa5e20675af8dd77ee9a35079
cmake: disable concepts in boost::asio

GCC-10 and Clang choke when compiling a concept constrained with
its template parameter, which is in turn another concept. as a
workaround of the bug of boost::asio, we should disable concepts
support in it. but it's nice to enable it when the compiler is
able to use concepts to do some compile time checkings even the
concepts are not compliant to C++20.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/CMakeLists.txt