Re: -Wheader-guard

看板FB_current作者時間12年前 (2013/06/18 05:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/3 (看更多)
On Mon, Jun 17, 2013 at 10:35 PM, Eitan Adler <lists@eitanadler.com> wrote: > On Mon, Jun 17, 2013 at 10:52 AM, <dt71@gmx.com> wrote: >> /usr/src/contrib/wpa/src/utils/base64.h:15:9: warning: 'BASE64_H' is used as >> a header guard here, followed by #define of a different macro >> [-Wheader-guard] > > This has been fixed by pluknet and I. Curious though. which compiler > is this? I can't seem to find a version of gcc or clang with this > warning type (anything up until clang 3.2 and gcc 4.8 was tried). Ah, now I find it! Top of tree clang has this warning: useful. -- Eitan Adler _______________________________________________ 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): #1HltaFO6 (FB_current)
文章代碼(AID): #1HltaFO6 (FB_current)