GCC >= 5?
Jean-Marc Lasgouttes
lasgouttes at lyx.org
Mon Oct 21 14:29:19 UTC 2024
Le 20/10/2024 à 21:25, Pavel Sanda a écrit :
> On Fri, Oct 18, 2024 at 03:28:05PM +0200, Jean-Marc Lasgouttes wrote:
>>> So I would suggest to go the second option.
>>
>> I bet you do! But it was such a careful decision with Pavel to see whether
>> we should go from gcc 4.9 to gcc 5 that it does not feels completely right.
>
> Actually this python blurb reminded me that we already had this discussion about 2.5!
> We just forgot about it :) (Date: Fri, 31 May 2024, [LyX/ next] Prepare the removal of Python 2 support).
> I read that you had some musings about start using constexpr instead of static docstring foo = from_ascii("foo");
My conclusion is that it would only be nice to use with C++20 where one
can use constinit to force a function to be computed at compilation
time. Then we would be able to have:
docstring const var = "sôme ascii text"_asc;
This would not compile. Forcing the use of constexpr is annoying IMO.
> tl;dr: the lower intersection for LyX 2.5 gives GCC 8.5, Qt 5.12, Python 3.6.
So shall we enforce these gcc/qt versions?
Isn't it Python 3.8?
> IIRC Jose then pushed P3.8 and I was tired to push against it.
I know this feeling ;)
JMarc
More information about the lyx-devel
mailing list