[libcxx] r294696 - Fully qualify (preprend ::) calls to math functions from libc

Hans Wennborg via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 14 11:11:04 PST 2017


I'm guessing this isn't addressing a new issue in 4.0, so perhaps we
should take the safe alternative and not merge this one.

Thanks,
Hans

On Thu, Feb 9, 2017 at 11:35 PM, Eric Fiselier <eric at efcs.ca> wrote:
> I'm a bit paranoid one of the names we just qualified will end up being
> defined as a macro. Conceivably <math.h> could have tolerated macros for
> names it uses but doesn't overload (ex, modff), however <cmath> would have
> always blown up.
>
> /Eric


More information about the cfe-commits mailing list