From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.killthe.net (mail.killthe.net [207.126.114.3]) by sourceware.org (Postfix) with ESMTP id 314FC3858D37 for ; Tue, 9 May 2023 15:20:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 314FC3858D37 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=killthe.net Authentication-Results: sourceware.org; spf=none smtp.mailfrom=killthe.net Received: from magic (unknown [172.58.155.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.killthe.net (Postfix) with ESMTPSA id BBC30126697; Tue, 9 May 2023 11:20:09 -0400 (EDT) Date: Tue, 9 May 2023 10:22:01 -0500 From: Dave Blanchard To: gcc@gcc.gnu.org Cc: Jonathan Wakely Subject: Re: More C type errors by default for GCC 14 Message-Id: <20230509102201.6aa2a7d14fdb2f1e7abff449@killthe.net> In-Reply-To: References: <877cth66qb.fsf@oldenburg.str.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,KAM_LAZY_DOMAIN_SECURITY,KAM_NUMSUBJECT,SPF_HELO_NONE,SPF_NONE,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: On Tue, 9 May 2023 16:14:28 +0100 Jonathan Wakely via Gcc wrote: > This isn't "be like Clang", this is "diagnose things that have been > invalid C since 1999". And in the process, break half of my system, and make it even more of a pain in the ass to compile old software. With no real gain or benefit whatsoever. To hell with that bullshit. > Accepting invalid code by default is a disservice to users. Those who > need to compile invalid C code can use an extra option to allow it, > the default should be to tell users their code is doing something bad. The default ALREADY IS to tell users their code is doing something bad. It's called a "warning." Hello? -- Dave Blanchard