From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by sourceware.org (Postfix) with ESMTPS id 0D3B93857713 for ; Tue, 9 May 2023 16:13:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0D3B93857713 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-50bc0ced1d9so9260505a12.0 for ; Tue, 09 May 2023 09:13:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683648826; x=1686240826; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=c9JPGnymZf+AvwKtNxMfsr9ydGO8xEko6FthN3NN+Cs=; b=Rp8YY+SDJ7Xx/1ciq/E7zLiL1cP7165eNLBApdlaJ4q5U8D2BsCXlt4t22B2L9ZNu2 XfpMm4n/kxrGS5C21tLC0kRy+AlQ54Avuy4nrMBl7G3uhdoKjPNgzh7VPCyBX5J2g2w+ SAXyu4yAhNSSzu94xInlTeoLZ3ElbkGUPpqrBQFWS+jHs8VoeOnQmCAgC3E+vHpM05iD OCrd/QzvnCXwwqRgkTJGRCxRue0dXcpts9mX6KZiimSNzMVuR+pGWZaxCTJQzvajHVx5 fClccGVtNKrirzjrPhITL/d+qtn+EnQG/aT7Xe7SyL5xNtGkvgYsfteYGqSa0/xRs/Wk q8Ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683648826; x=1686240826; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=c9JPGnymZf+AvwKtNxMfsr9ydGO8xEko6FthN3NN+Cs=; b=Dk/Ag9E1vAhWbULeCpQwEE/x0U+6kGGEKPDp8M1faAsvzOOt4JwCL2fp6WY67SB15o X7Qlo+wEzUZ3CoufzdpXYexRNdXd/JV13DxTSHDBSpqjbfpzNeJp8Z0LErN886LJmbSZ mGiTBnEE/TOkfDmtsnrmqB/rxmHHIE4DZEyicNi736KYJZjfrTFxYek/mTpewLzBXAZh tYqJ8beqTFS9ibfmvo3Baqffjg4RIJCnisuW2pebp0bJ00Pbu0QWoPtJPkgez7eHZH6G rTEdKkWuvYOg6KxqbnemNnUWMRcvOfEDk43MubnrhbhZTJCX1nGBjqUtlpalZ4HQs3jQ ljdA== X-Gm-Message-State: AC+VfDzyqFyxyQh/YPYiR6ww+K3VbbIsSXHjYs2ribGFuqQaYOyK57/i 0PavTyN9i7n7gRMw+b9juUSV1tqSUViBduDonlHCNNuKg7E= X-Google-Smtp-Source: ACHHUZ5oddlMXCOrNmTPYkbmsDeYqjag5JK9nmwUcpL+W4K1dHz5tHKyuqCQisDvbZsVHH4meluzHuYZScugDnheR+s= X-Received: by 2002:aa7:d901:0:b0:50b:d1a6:116a with SMTP id a1-20020aa7d901000000b0050bd1a6116amr12568016edr.32.1683648825898; Tue, 09 May 2023 09:13:45 -0700 (PDT) MIME-Version: 1.0 References: <877cth66qb.fsf@oldenburg.str.redhat.com> <97CCB305-9ECD-4B3C-B13E-4F2790FE0543@gmail.com> In-Reply-To: From: David Edelsohn Date: Tue, 9 May 2023 12:13:33 -0400 Message-ID: Subject: Re: More C type errors by default for GCC 14 To: Jakub Jelinek Cc: Richard Biener , Florian Weimer , gcc@gcc.gnu.org, c-std-porting@lists.linux.dev Content-Type: multipart/alternative; boundary="00000000000031be9e05fb450a2c" X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,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: --00000000000031be9e05fb450a2c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, May 9, 2023 at 12:07=E2=80=AFPM Jakub Jelinek via Gcc wrote: > On Tue, May 09, 2023 at 05:16:19PM +0200, Richard Biener via Gcc wrote: > > > > > > > Am 09.05.2023 um 14:16 schrieb Florian Weimer via Gcc >: > > > > > > =EF=BB=BFTL;DR: This message is about turning implicit-int, > > > implicit-function-declaration, and possibly int-conversion into errors > > > for GCC 14. > > > > I suppose the goal is to not need to rely on altering CFLAGS but change > the default behavior with still being able to undo this using -Wno-error= =3D > or -Wno-? > > Can't people just compile C89/K&R code with -std=3Dc89/-std=3Dgnu89 and n= ot get > these errors that way? > As Florian mentioned: "Presently, we cannot use -std=3Dgnu89 etc. to opt out because there are packages which require both C89-only language features and C99-style inlining, which is currently not a combination supported by GCC (but maybe that could be changed). " David --00000000000031be9e05fb450a2c--