From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by passt.top (Postfix) with ESMTPS id A2AB75A0265 for ; Thu, 13 Oct 2022 06:09:46 +0200 (CEST) Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4Mnwyb3VZvz4xGv; Thu, 13 Oct 2022 15:09:43 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=201602; t=1665634183; bh=gpvzPhs1pZYcC3rl7wjVsJAfHMui56JxbzBfx7/Hc3Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=oWJI04k3djqunnnItTm1cxfFV3nJeoot9NlWBsrh3E5zdVaPqDHQ2bodnMP+Byavr CkXQa+GQxvAZNXhAKdexymsitUuG+dzWPxXjN/CAiAxZ7TnW+eFeGdrryTv8Bueocz ay3IYIjlHGCli6Yd0aVp3mB8Fi/iw+8A5a/kN0sg= Date: Thu, 13 Oct 2022 12:14:49 +1100 From: David Gibson To: Stefano Brivio Subject: Re: [PATCH] util.h: Add missing gcc pragma push before pragma pop Message-ID: References: <20221012154540.1650617-1-sbrivio@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="W3a1EPNOWnnLIeg1" Content-Disposition: inline In-Reply-To: <20221012154540.1650617-1-sbrivio@redhat.com> Message-ID-Hash: JSMMSJW44DJKJA3PAO2DCHBJSCGYF6JR X-Message-ID-Hash: JSMMSJW44DJKJA3PAO2DCHBJSCGYF6JR X-MailFrom: dgibson@gandalf.ozlabs.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: passt-dev@passt.top X-Mailman-Version: 3.3.3 Precedence: list List-Id: Development discussion and patches for passt Archived-At: <> Archived-At: List-Archive: <> List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --W3a1EPNOWnnLIeg1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 12, 2022 at 05:45:40PM +0200, Stefano Brivio wrote: > While building with clang: >=20 > ./util.h:176:24: warning: pragma diagnostic pop could not pop, no match= ing push [-Wunknown-pragmas] >=20 > Signed-off-by: Stefano Brivio Reviewed-by: David Gibson > --- > util.h | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/util.h b/util.h > index b1eadfd..4d1b375 100644 > --- a/util.h > +++ b/util.h > @@ -165,6 +165,7 @@ > struct ctx; > =20 > struct ipv6hdr { > +#pragma GCC diagnostic push > #pragma GCC diagnostic ignored "-Wpedantic" > #if __BYTE_ORDER =3D=3D __BIG_ENDIAN > uint8_t version:4, --=20 David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson --W3a1EPNOWnnLIeg1 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoULxWu4/Ws0dB+XtgypY4gEwYSIFAmNHZoEACgkQgypY4gEw YSIy2BAAgajPHPwzyyqiewPZb0Jo8tK4nvnYGZJoY3UcdKcchcWBqESrIQjrXRfq loRhBcTxt2eb6RLY4jYrklMWTtNel/lAVOlC/Lu6VVzmB23V4AHmCOqOga1MgZkl QrJnyVndtY3Ak9jCle6ujlnwmav7Mvv2UpHAWErGQPD92ZjYRLLOBooSiaEzcOMV 8W+AKNk2rPb5eksXIN+/Yq/zJFkqJNwz9BbWqP+dJg8+0j8wl31rqRH7qJZMKQ0B MpS1/KkWo1Epx4zhw4hNcPV6nn/wva5Iddzi8jeE5UlSXgGXeGJKmu6iMxVDF4Fr bWd9TWkKAmNdSomgJfjSG65tPlQqsdC+sjtX6BPHEEPvqZW8e723d5vEK1QBlKWI oZ042QuSowd3dFHlXeT93VCmqOCWaWG4oAou2YsMkBKyR+6XDB9ZiWWJ8Lcoh5ad N5alrM1+wnyOSCkoB+xnD+JJM+E27EeRTLzeJm58TAKUtXNfVDk/XSHC48m4VP3b bFHz9tkGIOQ5UX8wFv1aeCYHqz7RcZzEz2E0+n/t1IR9pDLF3mth/950RryDpENA OVGMtbQXnlkWxYYEbKWTSHqI3JOobe11tI1cQJ0D0rL9UHNFjeMchYQt96KjadZ3 jwsfgbkCxDBke85U8zIyF+YE1tYACys2J3+Tq1mRLulCLxFU+hY= =5bu5 -----END PGP SIGNATURE----- --W3a1EPNOWnnLIeg1--