[libc-commits] [PATCH] D153683: [libc][math] Implement erff function correctly rounded to all rounding modes.

Paul Zimmermann via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Jul 4 04:43:39 PDT 2023


zimmermann6 added a comment.

I'm not sure this is related to this ticket, but I cannot compile main any more under Ubuntu:

  In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/specfun.h:50:
  /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/tr1/ell_integral.tcc:709:14: error: no member named '__throw_domain_error' in namespace 'std'; did you mean '__throw_runtime_error'?
          std::__throw_domain_error(__N("Bad argument in __ellint_3."));
          ~~~~~^
  /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/functexcept.h:131:3: note: '__throw_runtime_error' declared here
    __throw_runtime_error(const char*)
    ^
  fatal error: too many errors emitted, stopping now [-ferror-limit=]

It seems clang-14 depends on libstdc++-12-dev, but uses features from libstdc++-13-dev...


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D153683/new/

https://reviews.llvm.org/D153683



More information about the libc-commits mailing list