From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1A626A04BC; Thu, 8 Oct 2020 12:48:48 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 512CC1BF5D; Thu, 8 Oct 2020 12:48:40 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by dpdk.org (Postfix) with ESMTP id F2DB11BF4A for ; Thu, 8 Oct 2020 12:48:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1602154117; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3GIdEYtXkyGkFvceaxfONMPdgZFaoJfew1gXTEhppEU=; b=XNVEJ3K9B6OTEK9s8BiLIgwKi0IjWmtOqOL58SOtcS7sngEX5CjD2g++GhhBCUPleZuWpP UDMGxzU85ICCXaPcwnmWT4d2LtlBLFXNwLOU9Z+eKorzQyoxejoAL/OSTe/HSGOUH+myLu 3FRrpRCOSYwU98y8hDQXnJvMULUq7YU= Received: from mail-vk1-f197.google.com (mail-vk1-f197.google.com [209.85.221.197]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-513-tpSPum_zNUyE1VDDeJT97A-1; Thu, 08 Oct 2020 06:48:35 -0400 X-MC-Unique: tpSPum_zNUyE1VDDeJT97A-1 Received: by mail-vk1-f197.google.com with SMTP id t139so805493vkd.13 for ; Thu, 08 Oct 2020 03:48:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=3GIdEYtXkyGkFvceaxfONMPdgZFaoJfew1gXTEhppEU=; b=alUK6VoYwjNbuqGfO72hXOY0g/6SF6rDUCp12B77qZgzd9OFDtqWGg84Du+LH7jU9Y QSQhWiNbvjsqaOdiXcnx0Q1Z05qW4nUKGgjbVhDjbpSjnQMsGBIsXl8D++Fs0TyesZZx LENW0/A5mzPm8AH6W7c6yeVtEyyIiWqKJALp3Ob5JvOk9k33/pdJqbyj/Q0MRkgRBJCs 2MHG1bUg7dGl+AXdvWvnSxB7GFRdl6ZzKsdzCsGfE0vwyJMDnwNYGYfCy9XHVAaTE+mb SUYoMjtbmE1gRERDsXkqeuWJmGyiQabEYUHxkOJr3l4rEBvW9u5IMI7U42UYNDWABMSj sUZQ== X-Gm-Message-State: AOAM532ZF4fKaTBNazAJqeDFFszPdvkh5fx9Y8SP4p6l9ujHHK9yoLPC TsJ9wg6uVhSl/uEqPjgPduqbk67jbCj0425ratMiQmnAoEZ7JzqUU1OfeOwEEvwVYwJPnfQUQ92 x3JrWeT2V+zmS54HzXug= X-Received: by 2002:a67:fd7a:: with SMTP id h26mr4276210vsa.27.1602154115166; Thu, 08 Oct 2020 03:48:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+tMusTl6kwvKudYahXNauTca2rmaKciB+wHopmwONDQMFQEfvCKup5W5IaJYQ2YYvFTa5pz0Xmp3B/HxX13A= X-Received: by 2002:a67:fd7a:: with SMTP id h26mr4276201vsa.27.1602154114919; Thu, 08 Oct 2020 03:48:34 -0700 (PDT) MIME-Version: 1.0 References: <20200921133830.1575872-1-ferruh.yigit@intel.com> <20200921133830.1575872-4-ferruh.yigit@intel.com> In-Reply-To: From: David Marchand Date: Thu, 8 Oct 2020 12:48:24 +0200 Message-ID: To: Ferruh Yigit Cc: Neil Horman , dev Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-dev] [PATCH 4/4] pmdinfogen: fix build with gcc 11 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, Sep 24, 2020 at 11:32 AM David Marchand wrote: > On Mon, Sep 21, 2020 at 3:39 PM Ferruh Yigit wro= te: > > > > Error observed with gcc 11 under development > > gcc (GCC) 11.0.0 20200920 (experimental) > > > > build error: > > In file included from ../buildtools/pmdinfogen/pmdinfogen.c:17: > > ../buildtools/pmdinfogen/pmdinfogen.c: In function =E2=80=98parse_elf= =E2=80=99: > > ../buildtools/pmdinfogen/pmdinfogen.h:78:1: > > warning: this =E2=80=98else=E2=80=99 clause does not guard... > > [-Wmisleading-indentation] > > 78 | else \ > > | ^~~~ > > ../buildtools/pmdinfogen/pmdinfogen.h:83:35: > > note: in expansion of macro =E2=80=98CONVERT_NATIVE=E2=80=99 > > 83 | #define TO_NATIVE(fend, width, x) CONVERT_NATIVE(fend, width, x= ) > > | ^~~~~~~~~~~~~~ > > ../buildtools/pmdinfogen/pmdinfogen.c:152:28: > > note: in expansion of macro =E2=80=98TO_NATIVE=E2=80=99 > > 152 | hdr->e_type =3D TO_NATIVE(endian, 16, hdr->e_type)= ; > > | ^~~~~~~~~ > > ../buildtools/pmdinfogen/pmdinfogen.h:80:9: > > note: ...this statement, but the latter is misleadingly indente= d > > as if it were guarded by the =E2=80=98else=E2=80=99 > > 80 | ___x; \ > > | ^~~~ > > > > > Fixes: 98b0fdb0ffc6 ("pmdinfogen: add buildtools and pmdinfogen utility") > Cc: stable@dpdk.org > > > Signed-off-by: Ferruh Yigit > Reviewed-by: David Marchand Applied, thanks. --=20 David Marchand