Re: -Wheader-guard
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"
討論串 (同標題文章)