Re: Using C++20 in Plasma

2021-08-18 Thread Aurélien COUDERC



Le 6 août 2021 13:06:27 GMT+02:00, Nicolas Fella  a écrit 
:
>Hi,
>
>I would like to explore whether it would be feasible from a distribution
>POV to use C++20 in Plasma (and other non-Frameworks projects).
>
>In practical terms this would mean something like requiring gcc 10 or
>clang 10 (the exact version that supports a given standard is hard to
>define precisely, but these versions seem to have a reasonable coverage).

Hi Nicolas,

Debian 11 / bullseye that we're about to release already has gcc 10 as a 
default so no objection either.


Cheers,
--
Aurélien


Re: Using C++20 in Plasma

2021-08-07 Thread Rik Mills
On 06/08/2021 12:06, Nicolas Fella wrote:
> Hi,
> 
> I would like to explore whether it would be feasible from a distribution
> POV to use C++20 in Plasma (and other non-Frameworks projects).
> 
> In practical terms this would mean something like requiring gcc 10 or
> clang 10 (the exact version that supports a given standard is hard to
> define precisely, but these versions seem to have a reasonable coverage).
> 
> Is there any distro planning to ship future Plasma releases that does
> not have gcc 10 or clang 10?
> 
> Cheers
> 
> Nico
> 

No problem with this from K/Ubuntu



Re: Using C++20 in Plasma

2021-08-07 Thread Neal Gompa
On Fri, Aug 6, 2021 at 7:06 AM Nicolas Fella  wrote:
>
> Hi,
>
> I would like to explore whether it would be feasible from a distribution
> POV to use C++20 in Plasma (and other non-Frameworks projects).
>
> In practical terms this would mean something like requiring gcc 10 or
> clang 10 (the exact version that supports a given standard is hard to
> define precisely, but these versions seem to have a reasonable coverage).
>
> Is there any distro planning to ship future Plasma releases that does
> not have gcc 10 or clang 10?
>

>From the Red Hat family side, Fedora 34 uses GCC 11, so we're fine
there. Red Hat Enterprise Linux 8 uses GCC 8 by default, but GCC 10 is
available with the gcc-toolset-10 metapackage.

>From the SUSE family side, openSUSE Leap 15 uses GCC 7 by default, but
offers GCC 10 as an alternative with the gcc10 package.




-- 
真実はいつも一つ!/ Always, there's only one truth!


Re: Using C++20 in Plasma

2021-08-06 Thread Ahmad Samir

On 06/08/2021 13:06, Nicolas Fella wrote:

Hi,

I would like to explore whether it would be feasible from a distribution
POV to use C++20 in Plasma (and other non-Frameworks projects).

In practical terms this would mean something like requiring gcc 10 or
clang 10 (the exact version that supports a given standard is hard to
define precisely, but these versions seem to have a reasonable coverage).



I came across this some time ago: https://clang.llvm.org/cxx_status.html (maybe that's what you 
meant by 'reasonable' coverage? i.e. not all features, but most of the important/useful ones?).



Is there any distro planning to ship future Plasma releases that does
not have gcc 10 or clang 10?

Cheers

Nico




--
Ahmad Samir


Re: Using C++20 in Plasma

2021-08-06 Thread Adriaan de Groot
> On Fri, 6 Aug 2021 at 12:06, Nicolas Fella  wrote:
> > I would like to explore whether it would be feasible from a distribution
> > POV to use C++20 in Plasma (and other non-Frameworks projects).

>From the FreeBSD side of things, the "oldest" version of the distribution 
still supported is 11.4 (released June 23, 2020), which says in the release 
notes:

The clang, llvm, lld, lldb, and compiler-rt utilities as well as libc++ have 
been updated to upstream version 10.0.0.

FreeBSD 11 is on its way out, though; 12 has clang 10.0.1, while 13 -- let's 
call this the most "relevant" release for current use -- has clang 11.0.1. So 
there's no practical issue for us.

[ade]

signature.asc
Description: This is a digitally signed message part.


Re: Using C++20 in Plasma

2021-08-06 Thread Jonathan Riddell
By default neon (which uses Ubuntu 20.04 as a base) uses gcc 9.  But I see
gcc 10 is available in the archive so it's probably not hard to switch the
packaging to use that.

Jonathan


On Fri, 6 Aug 2021 at 12:06, Nicolas Fella  wrote:

> Hi,
>
> I would like to explore whether it would be feasible from a distribution
> POV to use C++20 in Plasma (and other non-Frameworks projects).
>
> In practical terms this would mean something like requiring gcc 10 or
> clang 10 (the exact version that supports a given standard is hard to
> define precisely, but these versions seem to have a reasonable coverage).
>
> Is there any distro planning to ship future Plasma releases that does
> not have gcc 10 or clang 10?
>
> Cheers
>
> Nico
>
>


Using C++20 in Plasma

2021-08-06 Thread Nicolas Fella

Hi,

I would like to explore whether it would be feasible from a distribution
POV to use C++20 in Plasma (and other non-Frameworks projects).

In practical terms this would mean something like requiring gcc 10 or
clang 10 (the exact version that supports a given standard is hard to
define precisely, but these versions seem to have a reasonable coverage).

Is there any distro planning to ship future Plasma releases that does
not have gcc 10 or clang 10?

Cheers

Nico