Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Jul 2023 05:58:02 +0000
From:      Alexey Dokuchaev <danfe@freebsd.org>
To:        Nuno Teixeira <eduardo@freebsd.org>
Cc:        "Hurling, Rainer" <rhurlin@freebsd.org>, Raphael Kubo da Costa <rakuco@freebsd.org>, ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org
Subject:   Re: git: b56d0bc41af7 - main - devel/libcutl: Explain why USE_CXXSTD=c++11 is used
Message-ID:  <ZKj66vvAQ6itMnu7@FreeBSD.org>
In-Reply-To: <CAFDf7ULKhd%2BZMEi3920sntmy1UPygsRWkqyQ%2B1j9BWPGsNOJKQ@mail.gmail.com>
References:  <e56d377d0985b86be2291b64bb3c686742283dde.camel@FreeBSD.org> <6cf6a5eb00dfac8358dfcb1e1d5b69f293c3e85a.camel@FreeBSD.org> <4701f862-7a0b-afab-48fd-a62b6f5ec308@gwdg.de> <CAFDf7UKJh%2BscZ-zkmwWUNeQbVB%2B42TQSN8-m102iChi8wg0WoA@mail.gmail.com> <4cc5665f-a4ef-a4ef-226a-a9a59b29f3a0@gwdg.de> <CAFDf7ULoQfRo4S45Fpwm9Ve4h0E%2Bd82z5SYrFopmcKFLOShrdw@mail.gmail.com> <45470f65-48c3-9a18-b7bd-26ce17160afd@gwdg.de> <CAFDf7UJ90-hVX3WePtD--tHb0HEeUrq6Y0mRezZ8kYYoDQL69g@mail.gmail.com> <34ea7315-6e9b-ebe4-6be8-5e0518cf969c@gwdg.de> <CAFDf7ULKhd%2BZMEi3920sntmy1UPygsRWkqyQ%2B1j9BWPGsNOJKQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 08, 2023 at 12:18:09AM +0100, Nuno Teixeira wrote:
> ...
> It was easy to just use std c++14 to fix it.
> 
> I'm afraid of being so easy method to fix things :)

As I've said before, try to fix the code before lowering the standard
or silencing warnings the build chocks on.  C++17 had deprecated and
removed quite a few things*, but luckily, it's usually not too hard to
patch the code in a correct (both C++11 and C++17) way.  You can "git
log" and search for what other people had done (as you're right, lots
of ports had broken) to learn from.

./danfe

*) https://mariusbancila.ro/blog/2018/07/05/c17-removed-and-deprecated-features/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZKj66vvAQ6itMnu7>