[PATCH] D18501: Fix <cmath> compilation on FreeBSD

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 30 15:05:01 PDT 2016


rsmith added a subscriber: rsmith.
rsmith added a comment.

libc++'s <math.h> converts the `signbit` macro into a function. If you're not seeing a function here, that suggests your include paths are messed up and the C library <math.h> is being found before libc++'s <math.h>.


http://reviews.llvm.org/D18501





More information about the cfe-commits mailing list