From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from knopi.disroot.org (knopi.disroot.org [178.21.23.139]) by sourceware.org (Postfix) with ESMTPS id E91E33856DE2 for ; Thu, 11 May 2023 15:21:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E91E33856DE2 Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=disroot.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=disroot.org Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 8F498405E9; Thu, 11 May 2023 17:21:22 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ttzbVudeFjV3; Thu, 11 May 2023 17:21:21 +0200 (CEST) Date: Thu, 11 May 2023 16:21:19 +0100 (GMT+01:00) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1683818481; bh=RWRCehieHHU/6OKl2LZls3Je52lZGea40X+Tt7Gvnrw=; h=Date:From:To:In-Reply-To:Subject; b=cAQOVZ7SENfOvGvA6u+aYf9M1HuuTkieDEspVy8BXXSJeygs3xYVoImT+L8SAs4Tl x7s+P0wxtFIioPgmlUbReZqnUX+nT8XzZAzE4YEC3aQuJFdy/Ry0Xer7xk76b6sKCr qeYJF/Gvf1zmdtXPu+3LVGcxuuOWOIlpB1q/XaKUoVXWOLx5ZSq+6hCy9Sqv8lP2lM nZx0VlRxywo0TWkkQY0do5iA5B/AK6GrP7OS6k+Wrm4Tqz9Sd01GFAxVv//22NGYzP ti+PpUUXTxAdioMyKUXOW8HilfOTBeqU0qQQjCZucuMB4jNwmujXKITWLjHxsvihsL erWNJWq0NJzwg== From: Peter0x44 To: fweimer@redhat.com, gcc@gcc.gnu.org Message-ID: <67f2e892-1038-4932-a9e7-549283788a0b@disroot.org> In-Reply-To: <877cth66qb.fsf@oldenburg.str.redhat.com> Subject: Re: Re: More C type errors by default for GCC 14 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_8_258502582.1683818479936" X-Correlation-ID: <67f2e892-1038-4932-a9e7-549283788a0b@disroot.org> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_20,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HTML_MESSAGE,KAM_NUMSUBJECT,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: ------=_Part_8_258502582.1683818479936 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi, After reading some of this discussion, I figured I should add my own support for this proposal. It seems to me very few (none?) of the people arguing against this change actually have a "horse in the race", and instead are appealing to some theoretical ancient legacy code maintainer who is both too lazy to fix usage of these 30 year invalid constructs, or add one build option to CFLAGS. The very worst consequence this has to anyone is a minor irritation, and the benefits are definitely significant. I find the amount of misguided arguing here to be really immense. C has enough "foot guns" as is, and I'm sure the improvement will be appreciated by numerous C beginners. I will admit I used to have the tendency of ignoring warnings when code appeared to function fine, as a beginner. I don't think I'm saying anything that isn't self evident, so I'll end this by saying the efforts expended to argue for this change are appreciated greatly, by me. Along with the rest of the work occurring on the compiler. Safer and friendlier defaults are a goal worth pursuing. Thanks! Peter D. ------=_Part_8_258502582.1683818479936--