From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from albireo.enyo.de (albireo.enyo.de [37.24.231.21]) by sourceware.org (Postfix) with ESMTPS id E7C483858C5F for ; Tue, 28 Mar 2023 18:50:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E7C483858C5F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=deneb.enyo.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=deneb.enyo.de Received: from [172.17.203.2] (port=38615 helo=deneb.enyo.de) by albireo.enyo.de ([172.17.140.2]) with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) id 1phEP3-00FleH-13; Tue, 28 Mar 2023 18:50:41 +0000 Received: from fw by deneb.enyo.de with local (Exim 4.96) (envelope-from ) id 1phEP2-002h5V-2t; Tue, 28 Mar 2023 20:50:40 +0200 From: Florian Weimer To: Andreas Schwab via Libc-alpha Cc: Andreas Schwab , Cyril Hrubis , Paul Eggert , Zack Weinberg Subject: Re: Bad interaction between signal constants and -Wsign-conversion References: <280b4afe-d080-4be5-a296-ec914b0b5439@app.fastmail.com> <87h6u5udut.fsf@mid.deneb.enyo.de> Date: Tue, 28 Mar 2023 20:50:40 +0200 In-Reply-To: (Andreas Schwab via Libc-alpha's message of "Tue, 28 Mar 2023 17:04:15 +0200") Message-ID: <87fs9ou2v3.fsf@mid.deneb.enyo.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-5.8 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: * Andreas Schwab via Libc-alpha: > On M=E4r 28 2023, Florian Weimer wrote: > >> I suggest to write out the negative constants explicitly, as a decimal >> integer. > > That doesn't work either, because you cannot write a negative literal. Oh. Yes, then the more complicated expression is actually needed.