From owner-freebsd-current@FreeBSD.ORG Tue May 19 18:56:45 2015 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A855050F for ; Tue, 19 May 2015 18:56:45 +0000 (UTC) Received: from mail-ie0-x22b.google.com (mail-ie0-x22b.google.com [IPv6:2607:f8b0:4001:c03::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7397B1643 for ; Tue, 19 May 2015 18:56:45 +0000 (UTC) Received: by iebgx4 with SMTP id gx4so21420356ieb.0 for ; Tue, 19 May 2015 11:56:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=bWdV6Cg5kBmK6gZrt9uV4cpa4T+GLNwhJ/QqgzMLpSg=; b=TOrloBNhmPSQ3TZm8S5GT/AvyFgxlJPHbiSyIjrvxoN4K08KN/RKEzJVuI3tm1tiIJ ZMNpvwyD2bpwrVJUFt64hrxWaVBLBYpXHvNjINNMALbK7Ho3dAFdSmSbEfLZnrfHuRR1 WjJrD3rtfJkwbenHe9Fau8H5+6AlA4HwM9Fr5dF7Goli1dKFzqalUqxGeqfhfMch3eeY P/tGrFlYBMTtVb+bh5ewGpH0Ux5wcEzsau6CE5IZunKI2QVh73TrjkiSKDhLuQe+toYn 19eTwuuLFdiU8B/x3ksMLqv/vwDNdmwMPaCaoHsCZ81wukfuGR10pJ3wifKQy0sJX+sz c+WQ== MIME-Version: 1.0 X-Received: by 10.50.79.167 with SMTP id k7mr23267561igx.32.1432061804679; Tue, 19 May 2015 11:56:44 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.38.133 with HTTP; Tue, 19 May 2015 11:56:44 -0700 (PDT) In-Reply-To: <20150519184252.GB66725@onelab2.iet.unipi.it> References: <20150519184252.GB66725@onelab2.iet.unipi.it> Date: Tue, 19 May 2015 11:56:44 -0700 X-Google-Sender-Auth: SEM8tcq5tghulrdR2XslqSfTbpA Message-ID: Subject: Re: pedantic compiler warnings: double semicolons, function to data pointers From: Adrian Chadd To: Luigi Rizzo Cc: "current@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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: Tue, 19 May 2015 18:56:45 -0000 On 19 May 2015 at 11:42, Luigi Rizzo wrote: > While trying to compile some of my (kernel) code in different environments, > i noticed a couple of errors that perhaps might be worth fixing > > - extra semicolons. These come either from explicit repetitions in the code > (see the output of a grep at the end of this message), > or sometimes from the epansion of macros such as BITSET_DEFINE() I think removing double-semicolons isn't a bad task.. -a