From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 0EB9C3858CDB for ; Tue, 28 May 2024 18:27:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0EB9C3858CDB Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 0EB9C3858CDB Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1716920865; cv=none; b=MGH5nd8gpAQpHsrkHvaa7j8W3GxXifVnYxRjs3g/xbbW2eIgfxj7/bLm+N5IAF1/jUAf0zVcB3VsMUqjegSTARxqY9oJWyzmdyI6oIcW9Gze4/C6XW1WIqpinr4AVSCuqSvOTjkfN04PGCK7fuj7Wc+FBN/BthU87CQ9NntccDo= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1716920865; c=relaxed/simple; bh=TOBeagzTg5A6YemIt8u3QFTVJKsDLEdSrdhsd/44dhM=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=kB/UCOZ57LT4jPM1yVR4HNXNlypDuNaBAx9Sk2xjtf9dam3Zuk5wGOYhre/WA+IdSN/Izgf0kKovyqvoUA7zg5mHRWAYX/lnfAVLNgPL5FmWfNVsz10lHeXxFWeNTc6oKv7vSv5cBzZOiBvEcwEV59o1snwh7O+JBznRUjYgUUc= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1716920863; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=tbKzZyonRJNZLUy2xfJGsk2bstD9dvPGwnH+zKrir8s=; b=ikjoduZ+Vf525vLSnX976C+QWQYF5yHByCm6Romks4WOM1y980MzfgChBmOazAMrQUIo6Z 5i9WectG9xGlhhy4SOOBJXkNYq/iJE6c5Wk3f22uBbQTkas74uvZgx8fgf2XBbLgs6oCbp mTnrrgBvNyen7JWCQulgFRapbneqR/w= Received: from mail-il1-f197.google.com (mail-il1-f197.google.com [209.85.166.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-596-3ltID0xoPoC2G25POOf3bw-1; Tue, 28 May 2024 14:27:40 -0400 X-MC-Unique: 3ltID0xoPoC2G25POOf3bw-1 Received: by mail-il1-f197.google.com with SMTP id e9e14a558f8ab-3737b3db665so11343535ab.3 for ; Tue, 28 May 2024 11:27:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716920859; x=1717525659; h=content-transfer-encoding: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=tbKzZyonRJNZLUy2xfJGsk2bstD9dvPGwnH+zKrir8s=; b=bMxQ6bhAd1Vvn00aDtBo+UuAEQCEPKRD2LuKVhdRrsLc+VGmM11sjYRO6s4Lxaspfj QwLTB/DvruWniIR81J3P7sIC4N9z+bkPTVILoHaweKbaaqH/UHZEf+crhA9S9W1PpAp4 GdwhC9uuP8d1tdrSjMp/EQkLtbn9QiX3OzfitBrUklYEutoUQO1OL70uhZXi3H+t386g abfKH/Ue7JVbQcA5v4/BG6iMJRsp1z0I7RaclLwTiYNKYJvekFgYlr+WZQMpctLXD2cd YWEvq6SqiCnYJlzUXCd14E4MRgOSB4SoClxzcIymS0mJzTG2HCWlQyWPxXmhwPQ7tW7Z s7Wg== X-Forwarded-Encrypted: i=1; AJvYcCXk7CZV6IlY0ts0oZ+3Cm8DCnFmZUTAAZSnkftplIHZfenayoLmxSeeS88j6WHS3VS1D3lQ1msYPvrE8ZIxuuI= X-Gm-Message-State: AOJu0Yxg7EKv8kkvvm9tz7ce8+BGx5y03zMTVAozBjlC+FF10b7uBKmZ O8BDQs4XWrm550nBaCBhXVz0VebpfQNr1ep3NSauLHCLSjqO1jc5RI1RyZpUE64Adu8KwzVJBlj XJKaM6EgjOIm75sODc/54++FyqHJAzUbAdED8r90yCMKEFwYtSzEccpbCAwRZ8nIj1manOaD/F6 EhASa9N8Ouge2eHwij+Uk= X-Received: by 2002:a05:6e02:1b05:b0:36a:ed0:ca0d with SMTP id e9e14a558f8ab-3737b32c5fdmr145902725ab.25.1716920859487; Tue, 28 May 2024 11:27:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IExni52aZt9IGDtfkLmPYcyHSnQs+Ft4WUcKOM3F8oDLMgFAHgFQrU8BAbahV4LEgUqRmrahedLUjnKMUzag4A= X-Received: by 2002:a05:6e02:1b05:b0:36a:ed0:ca0d with SMTP id e9e14a558f8ab-3737b32c5fdmr145902605ab.25.1716920859192; Tue, 28 May 2024 11:27:39 -0700 (PDT) MIME-Version: 1.0 References: <00dc6e30-2e12-4b29-951b-d600097b38d0@gmail.com> <80bf1a5a-63a3-4da4-8721-88c760243add@cs.ucla.edu> <878qzv1r13.fsf@oldenburg.str.redhat.com> <3e852f76-9508-4c2e-bef3-7af8a10b626e@cs.ucla.edu> <25aee7da-bdd5-4a2a-b6ac-fa1a4aa11cc7@cs.ucla.edu> <6c8175d0-a1ba-438f-9f45-57a73790a1d6@cs.ucla.edu> In-Reply-To: <6c8175d0-a1ba-438f-9f45-57a73790a1d6@cs.ucla.edu> From: Jason Merrill Date: Tue, 28 May 2024 14:27:28 -0400 Message-ID: Subject: Re: configure adds -std=gnu++11 to CXX variable To: Paul Eggert Cc: Jakub Jelinek , Jonathan Wakely , Florian Weimer , Peter Johansson , Zack Weinberg , Autoconf , "gcc@gcc.gnu.org" X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-5.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE 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: On Tue, May 28, 2024 at 12:49=E2=80=AFPM Paul Eggert w= rote: > > On 2024-05-28 08:02, Jakub Jelinek wrote: > > even for C GCC updates the default > > True, but C seems to be different, in that using a later-than-default > -std=3Dwhatever is more likely to help than hurt, because the C > standardization folks are more careful about compatibility. That's what > I've been experiencing with -std=3Dgnu23, for example, even though C23 ha= s > lots of changes from C17. > > > >> > Autoconf should go back to its 2.69 behavior and not mess with the C= ++ > >> > version as that's more likely to hurt than help. > > > > Yes. > > OK, thanks, I installed the attached. Thanks, though I don't think all that code needs to go; AC_PROG_CXX_STDCXX_EDITION_TRY still looks useful for a project that relies on features from a particular standard. We just don't want AC_PROG_CXX to invoke it. Jason