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

Build fails on clang-5 with libstdc++7-dev (C++17 issue) #89

Closed
jeking3 opened this issue Nov 13, 2018 · 1 comment
Closed

Build fails on clang-5 with libstdc++7-dev (C++17 issue) #89

jeking3 opened this issue Nov 13, 2018 · 1 comment

Comments

@jeking3
Copy link

jeking3 commented Nov 13, 2018

Setup:

  clang-5:  &clang-5  { apt: { packages: [ "clang-5.0",
                                           "libstdc++-7-dev" ], sources: [ "llvm-toolchain-trusty-5.0",
                                                                           "ubuntu-toolchain-r-test"   ] } }

Command:

/home/travis/build/jeking3/boost-root/b2 . toolset=clang-5.0 cxxstd=03,11,14,17 variant=release,debug -j3

Output:

https://travis-ci.org/jeking3/container/jobs/454295432#L1582

clang-linux.compile.c++.without-pth ../../bin.v2/libs/container/test/set_test.test/clang-linux-5.0/release/cxxstd-17-iso/visibility-hidden/set_test.o
../../libs/container/test/set_test.cpp:622:19: error: no viable constructor or deduction guide for deduction of template arguments of 'multiset'
      auto gold = std::multiset({ 1, 2, 3 });
                  ^
...
1 error generated.
  "clang++" -c -x c++ -std=c++17 -fvisibility-inlines-hidden -fPIC -m64 -O3 -Wall -fvisibility=hidden -Wno-inline  -DBOOST_ALL_NO_LIB=1 -DBOOST_CONTAINER_DYN_LINK=1 -DNDEBUG -I"../.." -o "../../bin.v2/libs/container/test/set_test.test/clang-linux-5.0/release/cxxstd-17-iso/visibility-hidden/set_test.o" "../../libs/container/test/set_test.cpp"
...failed clang-linux.compile.c++.without-pth ../../bin.v2/libs/container/test/set_test.test/clang-linux-5.0/release/cxxstd-17-iso/visibility-hidden/set_test.o...
@jeking3
Copy link
Author

jeking3 commented Nov 14, 2018

This is now resolved.

https://travis-ci.org/jeking3/container/builds/454804441

@jeking3 jeking3 closed this as completed Nov 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant