Date: Mon, 17 Jun 2013 22:37:03 +0200 From: Eitan Adler <lists@eitanadler.com> To: dt71@gmx.com Cc: freebsd-current@freebsd.org Subject: Re: -Wheader-guard Message-ID: <CAF6rxgkc=PKZ86D3%2ByFfHOc3Ru=Ui2JPyJrXx=vmB4PwbPJYvg@mail.gmail.com> In-Reply-To: <CAF6rxg=K3-YaGspYTEYH=%2BC3-LdnP8XWFB877%2BkrtNF5YpJyNw@mail.gmail.com> References: <51BECE5E.7020406@gmx.com> <CAF6rxg=K3-YaGspYTEYH=%2BC3-LdnP8XWFB877%2BkrtNF5YpJyNw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF6rxgkc=PKZ86D3%2ByFfHOc3Ru=Ui2JPyJrXx=vmB4PwbPJYvg>