-Wheader-guard

Eitan Adler lists at eitanadler.com
Mon Jun 17 20:37:39 UTC 2013


On Mon, Jun 17, 2013 at 10:35 PM, Eitan Adler <lists at eitanadler.com> wrote:
> On Mon, Jun 17, 2013 at 10:52 AM,  <dt71 at 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


More information about the freebsd-current mailing list