Re: Clang as default compiler November 4th

看板FB_current作者時間13年前 (2012/09/14 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串68/86 (看更多)
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 _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1GKXzVHA (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1GKXzVHA (FB_current)