[PATCH] D23926: [libcxx] Don't use C99 math ops in -std=c++03 mode

Asiri Rathnayake via cfe-commits cfe-commits at lists.llvm.org
Sat Sep 3 00:19:53 PDT 2016


@Eric: Ping?
On 1 Sep 2016 11:33, "Asiri Rathnayake via cfe-commits" <
cfe-commits at lists.llvm.org> wrote:

> rmaprath updated this revision to Diff 69962.
> rmaprath added a comment.
>
> Simplified the patch a little bit more.
>
> Now, library vendors should be able to define `_LIBCPP_STRICT_C99_COMPATIBILITY`
> and `libc++` will not use/test C99 math functions in `C++03/98` modes.
> Currently it's only the math functions, we can extend this approach to
> other affected areas if the approach is OK. Not 100% sure about the
> namings, can change them as needed.
>
> @EricWF: Gentle ping.
>
>
> https://reviews.llvm.org/D23926
>
> Files:
>   include/__config
>   include/math.h
>   test/std/depr/depr.c.headers/math_h.pass.cpp
>   test/std/numerics/c.math/cmath.pass.cpp
>   test/std/numerics/complex.number/cmplx.over/proj.pass.cpp
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160903/260eda19/attachment.html>


More information about the cfe-commits mailing list