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

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 9 23:35:31 PST 2017


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170210/cf789236/attachment.html>


More information about the cfe-commits mailing list