Re: -Wheader-guard

From: Eitan Adler <lists_at_eitanadler.com>
Date: Mon, 17 Jun 2013 22:37:03 +0200
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
Received on Mon Jun 17 2013 - 18:37:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:38 UTC