Clang as default compiler November 4th
Stefan Farfeleder
stefanf at FreeBSD.org
Thu Sep 13 16:25:42 UTC 2012
On Thu, Sep 13, 2012 at 09:10:24AM -0700, Steve Kargl wrote:
> clang -O2 -pipe -march=opteron -O0 -lm test-cexp.c -o test-cexp
> test-cexp.c:49:14: warning: pragma STDC FENV_ACCESS ON is not supported, ignoring pragma [-Wunknown-pragmas]
> #pragma STDC FENV_ACCESS ON
[...]
> So, clang does not support "#pragma STDC FENV_ACCESS ON".
> That (IMHO) is a show stopper for clang as the default compiler,
> because at least msun/src/e_sqrtl.c uses this pragma.
Neither does gcc, AFAIK (http://gcc.gnu.org/c99status.html). It just
silently ignores the pragma.
Stefan
More information about the freebsd-current
mailing list