From nobody Sun Feb 8 06:04:36 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) client-ip=207.211.31.81; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1596473931; cv=none; d=zohomail.com; s=zohoarc; b=ZjWNfQUhRaAhKqpbUVX5bf5E9qH+IdSFAJlIp1C9YAS7wqCMnwtpu+couNl7zqRKw80MfJqC3Eu7fQSs5kURnSlEgfxJSBO0OtoStuGItE/t9Mk+SxrOCLqMvog/5Q7k0DJSPfAiLjJ3bmFom7H5U594WJvehrUjTvIBzTVsskk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1596473931; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=9da0jkVPuaWubtRkSbY/0AR14aicYqrKbNmIUUQH77g=; b=VMZe0vDa19kZUoHMLbdMRbyYTsYdK+PFkMjDWoIsdlRTs3O2q2vwN+5wKs8oV9poq03CsR8NzfEYdRejlwVuHeo1UUkWKiazCUFemnYCkb+0n6269e05eoF5pLYgEdKktZRQHrvXI6dMR07gbOrfiMNUQUT2bSED28qSqkIVmvM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) by mx.zohomail.com with SMTPS id 1596473931873547.2299660995502; Mon, 3 Aug 2020 09:58:51 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-195-GLD0M0jIOke8CYCG65kfwQ-1; Mon, 03 Aug 2020 12:58:46 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 485EE800474; Mon, 3 Aug 2020 16:58:38 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2363069322; Mon, 3 Aug 2020 16:58:38 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id E878DA35B3; Mon, 3 Aug 2020 16:58:37 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 073GvgGb007941 for ; Mon, 3 Aug 2020 12:57:43 -0400 Received: by smtp.corp.redhat.com (Postfix) id F1FC87177A; Mon, 3 Aug 2020 16:57:42 +0000 (UTC) Received: from lpt.redhat.com (unknown [10.40.208.14]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3A8AF71779 for ; Mon, 3 Aug 2020 16:57:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1596473930; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=9da0jkVPuaWubtRkSbY/0AR14aicYqrKbNmIUUQH77g=; b=Cw+pE2YIDDKlub8oUOWxPSolR5hZTfgzcZ0dKj25vcJKPrczPX2Xtg7wAgAJj6Vc6XVcSY bQiyjhBNwwfsJIYSGVLj3pIhdEJy9N04l0XvLyjoDCZZKTmh7bQF/lLnVtXC6ZBwDgyDrx UkH6VuOZYa9+ELjvHkPvU6TDl6472GI= X-MC-Unique: GLD0M0jIOke8CYCG65kfwQ-1 From: =?UTF-8?q?J=C3=A1n=20Tomko?= To: libvir-list@redhat.com Subject: [libvirt PATCH 19/19] build: add -Wdeclaration-after-statement Date: Mon, 3 Aug 2020 18:56:56 +0200 Message-Id: <46eb5e6863db2de82383fd1d495eaa66050778cc.1596473604.git.jtomko@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Now that all the users have been converted or silenced, let's enable this warning. Signed-off-by: J=C3=A1n Tomko --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 48b937d6bb..fe75718cac 100644 --- a/meson.build +++ b/meson.build @@ -236,6 +236,7 @@ cc_flags +=3D [ '-Wcpp', '-Wdangling-else', '-Wdate-time', + '-Wdeclaration-after-statement', '-Wdeprecated-declarations', '-Wdesignated-init', '-Wdiscarded-array-qualifiers', @@ -555,7 +556,6 @@ cc_flags_disabled =3D [ # We might fundamentally need some of these disabled forever, but # ideally we'd turn many of them on '-Wfloat-equal', - '-Wdeclaration-after-statement', '-Wpacked', '-Wunused-macros', '-Woverlength-strings', --=20 2.26.2