Re: Does anyone regularly build HEAD with clang?

看板FB_current作者時間14年前 (2012/02/14 04:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串7/8 (看更多)
On 2012-02-13 20:10, Brandon Falk wrote: > I was having the exact same issue. The fix? 'CPP=clang-cpp' instead of > 'CPP=clang -E' in your make.conf. Yes, you should indeed use clang-cpp instead of clang -E. Similarly, never use CPP=gcc -E. This is because in "cpp mode", both gcc and clang behave a little differently than with -E: unknown file extensions (such as the .x extension used for RPC) will be treated as C. But when you use -E, any unknown file extension will be considered an object file, and passed to the linker. Normally, this should lead to errors during building of the rpc include files though... I wonder why this does not happen in your case. _______________________________________________ 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): #1FEND4lX (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1FEND4lX (FB_current)