Deps for LyX 2.5: GCC 8.5, Qt 5.12, Python 3.8

Jean-Marc Lasgouttes lasgouttes at lyx.org
Tue Oct 22 16:04:57 UTC 2024


Le 22/10/2024 à 16:50, Pavel Sanda a écrit :
> On Tue, Oct 22, 2024 at 04:34:29PM +0200, Jean-Marc Lasgouttes wrote:
>>> What I meant was mainly that we could delete specific ifdefs for gcc < 8 if
>>> there any in the code.
>>
>> We have a test for C++14
> 
> IMHO we can drop C++14 test as it's default since GCC 6.1.
> 
>> one for C++17 (any.h). We can get rid of them if we require C++17.
> 
> Whether we require C++17 is somewhat separated from GCC>=8 version and
> I do not have opinion about it actually. It's really whether people
> are enthusiastic about the new features to actually use them(?).

Structured bindings look good, I have all these foo.first foo.second in 
the code. But converting the code to use them tales time.

We still do not use range-based for() loops consistently.

JMarc



More information about the lyx-devel mailing list