Re: -Qunused-parameter and clang (was Re: GHC Port on 9-CURRENT)

看板FB_current作者時間14年前 (2011/06/29 03:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/2 (看更多)
Niclas Zeising <zeising@daemonic.se> writes: > Sorry for hijacking this thread, and cross posting. > > On 2011-06-26 03:07, Gabor PALI wrote: >> >> >>> With Clang, an error occurs in one of the configure scripts, because >>> Clang warns about unused command-line arguments, and the configure >>> script assumes that to be a compiler error. You can deal with this by >>> adding -Qunused-parameter to CFLAGS. >> >> Thanks for investigating this. >> > > This should probably be made the default, at least for ports when clang > is compiled, since the output generated when not using > -Qunused-parameter confuses configure scripts, and stops at least > FireFox 5 from compiling, that I know of. Do you use ccache? Try without. For example, the combo confuses libtool http://docs.freebsd.org/cgi/mid.cgi?86d3i8b3dc.fsf _______________________________________________ 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): #1E2YmoAV (FB_current)
文章代碼(AID): #1E2YmoAV (FB_current)