From owner-freebsd-current@FreeBSD.ORG Mon Jun 17 20:37:39 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A62E64DE for ; Mon, 17 Jun 2013 20:37:39 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-pd0-f175.google.com (mail-pd0-f175.google.com [209.85.192.175]) by mx1.freebsd.org (Postfix) with ESMTP id 8175B1E2F for ; Mon, 17 Jun 2013 20:37:39 +0000 (UTC) Received: by mail-pd0-f175.google.com with SMTP id 4so3152925pdd.34 for ; Mon, 17 Jun 2013 13:37:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=V3bo8qAieh1hW2kw2wReUJ3ZYRgpaS5j/u9qzhqlBmA=; b=RHxFnEkoliIY9PMfGohnTMalgoci/4ORI4ngAKoX419mbShOV7kdlmbx1QWJcVVZL4 MXDVAOR1IJGmDLtwegydyCTm8LP9Pehc5q7xLdlsoiFbKSB671azqgSCxkOiebpe7Jrq SkAj68sLYT3TPdldqrCfP19rfqOEzb3R0Wlg4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=V3bo8qAieh1hW2kw2wReUJ3ZYRgpaS5j/u9qzhqlBmA=; b=Lj+Rvn4jrxFX6RpXE9d5Yq27ictVE3IdEffnUGapeW3IVlD35IcHY4ycZJ8lVG5OzI GfmzIF06CZiLVY03X6xZz6s10MPcbm5+rgAGXF2I++GUEEQMa+c25sEB5vKdSevE/o4Y 0ea2NkBoT7yVaTcpzMoq6ikZyCkjlbqT21McmF6EG9y9rlmI/5L7OqmB4J08Lu35m2S0 rTd4bE7B5pDHxljWgwd1d+VFEzkhVBGu9ShvuholU10Zj6dHFtJnfEjL9drDJLklwc2C lQ9/1E54ba/NGq1ErfTKqSWvX+Zdv53/dfrK/1YGVHzLAYMVsWsiPyvJFBTLpPVnGqjC yR/g== X-Received: by 10.68.219.130 with SMTP id po2mr14532863pbc.68.1371501453761; Mon, 17 Jun 2013 13:37:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.70.45.33 with HTTP; Mon, 17 Jun 2013 13:37:03 -0700 (PDT) In-Reply-To: References: <51BECE5E.7020406@gmx.com> From: Eitan Adler Date: Mon, 17 Jun 2013 22:37:03 +0200 Message-ID: Subject: Re: -Wheader-guard To: dt71@gmx.com Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQmERZ6mLt+vXSfpfE/ADK6KDr9GpmoIyqgSCELA9OSBfqgUsXqRb2Pk0QZxT1GodRyIXilL Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jun 2013 20:37:39 -0000 On Mon, Jun 17, 2013 at 10:35 PM, Eitan Adler wrote: > On Mon, Jun 17, 2013 at 10:52 AM, 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