From nobody Fri Jul 7 23:18:09 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QyTpj21H8z4lLMH; Fri, 7 Jul 2023 23:18:21 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QyTpj1ZQjz3kf0; Fri, 7 Jul 2023 23:18:21 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688771901; 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: in-reply-to:in-reply-to:references:references; bh=lpE1jGZJ6ujC+xhhADDu1Ik3cEn8C8BOWq8gI9sDjsk=; b=jLiawMWrmQt0OI1UyEe+oPOWJFES935RVz2IZPP3H5PjJLxyIjbFq0B3BzX5SddXeUVxy2 00AzHsw5XeRtHEUz79M0BLZkZV/MZQ57ZdvIn6UEQtVDSpezyMx8PYWTswIJWA2mwK9ZCu 3GgVjY2DVNTK5bCcgFJ0INLXgoZTU+tf1tJW4bigdRohKQVGuR7p0ia41pfCmifucx8gG8 kbXoXXPAzfb2trjylTgQMPPfn3kn+xtfMFIQQ4ajzPgBEXHgNd6kiMGB9ineq9d6EQWr7c ztekW3Q8mqUsTpQUhRAdaBqFjuQyMPjynU7GzqnCS39PnRUmK+WT/4ZPlVLyWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688771901; 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: in-reply-to:in-reply-to:references:references; bh=lpE1jGZJ6ujC+xhhADDu1Ik3cEn8C8BOWq8gI9sDjsk=; b=lxQ079zOrkA+s1Q6VwS1fHw8hxL32CFZZ6yUjiENFNxJoQAKttU/CLLmGnECrysPTXWK3p Jq1fGdIPznYSYZrQKNBr9A83my+1vU+IpnpMHrAAUWS2AvrhdmPF6y2ZHNnONd5QHe2PCZ qBzzkZ4kxUB1TMb1LiJj2J2VmTKiuFctPJNUGcynzu03ieN1aFXcTM3CYoCNKNY9KggWx+ WukfV2twTK90q/Q+7He3AoalG0muwAKe+1Ex7KbfBNh66xmyj/Gy72ywK+cUosKz5a4yb1 Og4UHuxr4C0ifXUCy1xP356C9c/oEbiAnSfXuaaluhEzcrKbjDJWeVWQ/jhquQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688771901; a=rsa-sha256; cv=none; b=g6P/pjYxQRU4maE/oLs3wAwfPlM9B+RHe8RVb9Z8FPo/kE7V1BGm736za3Kz3agzkHPO7e ATSvAIclUwEXrewu0YhNp7AWSWCxO5wPg7qx5sh5t+RWOjxQC1bL5r6ORRfOQ1L82k4We9 JDH3+z8On+CnvRK7X+oWXhzG4BqZQVsToJmYJWCuYcJx/yX5QTXv4NQA7aUhad2SXZ6S/E cK03VyuMNtA6KRCycrWNtQW3lOtvnibgIPAW/pIMJERZ5fZwZ7Sc7I+Vlah5sciiFp+0lT NFE2I8npsjrTzCCijKrNH+FJ2tByCEK+uqY8D6Ei/rsqK5NHpAx61v4M1HL8Ng== Received: from mail-qk1-f174.google.com (mail-qk1-f174.google.com [209.85.222.174]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4QyTpj0MsyzvSM; Fri, 7 Jul 2023 23:18:21 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-qk1-f174.google.com with SMTP id af79cd13be357-76571dae5feso224340385a.1; Fri, 07 Jul 2023 16:18:21 -0700 (PDT) X-Gm-Message-State: ABy/qLbnDCX1IcsIW9pSJCz2fGWHsde4RZeyrwvAXog+sB/ce2Qs7FK2 T8QSUECWW8QzgWJQFfSk4UDCwN0Zui91N69mBD8= X-Google-Smtp-Source: APBJJlGglWItkSfzcQ6rK5EXZd50rK7zFhgW0gFlKLEc0KiTcQ6zImLJN7d0Zp1/Hkuh3tBxKYr842f5ZzuimdNY8t0= X-Received: by 2002:a05:622a:513:b0:3fb:26e5:24fe with SMTP id l19-20020a05622a051300b003fb26e524femr7107179qtx.25.1688771900496; Fri, 07 Jul 2023 16:18:20 -0700 (PDT) List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 References: <202307050850.3658oPOA049562@gitrepo.freebsd.org> <6cf6a5eb00dfac8358dfcb1e1d5b69f293c3e85a.camel@FreeBSD.org> <4701f862-7a0b-afab-48fd-a62b6f5ec308@gwdg.de> <4cc5665f-a4ef-a4ef-226a-a9a59b29f3a0@gwdg.de> <45470f65-48c3-9a18-b7bd-26ce17160afd@gwdg.de> <34ea7315-6e9b-ebe4-6be8-5e0518cf969c@gwdg.de> In-Reply-To: <34ea7315-6e9b-ebe4-6be8-5e0518cf969c@gwdg.de> From: Nuno Teixeira Date: Sat, 8 Jul 2023 00:18:09 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: git: b56d0bc41af7 - main - devel/libcutl: Explain why USE_CXXSTD=c++11 is used To: "Hurling, Rainer" Cc: Raphael Kubo da Costa , ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Content-Type: multipart/alternative; boundary="0000000000003c642a05ffedd96e" X-ThisMailContainsUnwantedMimeParts: N --0000000000003c642a05ffedd96e Content-Type: text/plain; charset="UTF-8" > Which version, gnu++14 or c++14, should we use here in terms of being as > universal as possible? Probably gnu++14, since clang treats both the > same ... > After some googling: C++14 (ISO standard) - Language standard released in 2014 with various improvements over C++11. GNU++14 (GCC extension) - Extension of the GCC compiler that implements C++14 with additional features specific to GCC. But it seems that upstream will know whats best. Anyway, this is a good topic to discuss because it must be a lot of failing builds because of c++17 being default on clang 16. I have another case in hands about a dependency 'graphics/libemf' (3 years old release) blocking a port of "mine", 'graphics/pstoedit'. It was easy to just use std c++14 to fix it. I'm afraid of being so easy method to fix things :) Tomorrow I will open an PR at upstream to check their opinion. Cheers, --0000000000003c642a05ffedd96e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Which version, gnu++14 or c++14, should we use here in terms of being as universal as possible? Probably gnu++14, since clang treats both the
same ...

After some googling:
=

C++14 (ISO standard) - Language standard released in 20= 14 with various improvements over C++11.
GNU++14 (GCC extension) - Exten= sion of the GCC compiler that implements C++14 with additional features spe= cific to GCC.

But it seems t= hat upstream will know whats best.

Anyway, this is a good= topic to discuss because it must be a lot of failing builds because of c++= 17 being default on clang 16.

I have another case in hand= s about a dependency 'graphics/libemf' (3 years old release) blocki= ng a port of "mine", 'graphics/pstoedit'.
I= t was easy to just use std c++14 to fix it.

I'= m afraid of being so easy method to fix things :)

<= div>Tomorrow I will open an PR at upstream to check their opinion.

Cheers,
--0000000000003c642a05ffedd96e--