Public bug reported:
Ubuntu 12.10
clang:
Installed: 3.0-6ubuntu3
gcc:
Installed: 4:4.7.2-1ubuntu2
g++:
Installed: 4:4.7.2-1ubuntu2
The following invocation of clang fails to find the 4.7 g++ standard libraries
and instead uses the 4.6 libraries:
$ clang++ -std=c++11 -pthread threads.cpp
result:
In file included from threads.cpp:1:
/usr/include/c++/4.6/chrono:666:7: error: static_assert expression is
not an integral constant expression
static_assert(system_clock::duration::min()
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
It should be looking in the 4.7 include lib. I believe that this is a
known fault with g++ 4.6.
** Affects: clang (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1081905
Title:
clang++ uses older g++ library
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/clang/+bug/1081905/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs