[cfe-users] Compiler error when including condition_variable header
Dmitri Gribenko
gribozavr at gmail.com
Sat Feb 1 15:32:00 PST 2014
On Sat, Feb 1, 2014 at 10:38 PM, Christian Henning <chhenning at gmail.com> wrote:
> I have installed clang 3.5 on debian and by just including the
> condition_variable header I get the following error:
>
> /usr/include/c++/4.7/chrono:540:6: error no matching constructor for
> initialization of 'duration' ( aka 'std::chrono::duration<long long,
> std::ratio<1, 1000000> >')
>
> Anyone know how to fix that?
Hi Christian,
I'm sorry, I don't know how to fix this, but I wanted to point out
that right now my centos buildbot is failing for exactly the same
reason. I did not yet have time to investigate further.
http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-centos-6.5
Dmitri
--
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
More information about the cfe-users
mailing list