Deps for LyX 2.5: GCC 8.5, Qt 5.12, Python 3.8 (was: GCC >= 5?)

Jean-Marc Lasgouttes lasgouttes at lyx.org
Tue Oct 22 14:34:29 UTC 2024


Le 22/10/2024 à 16:30, Pavel Sanda a écrit :
> On Tue, Oct 22, 2024 at 03:52:40PM +0200, Jean-Marc Lasgouttes wrote:
>>> Do you plan to do the clenaup wrt ifdefs?
>>
>> I can. Instead of compiler versions, we could check for the features we want
>> (like we do now in LYX_CXX_CXX11_FLAGS (config/lyxinclude.m4)) from C++17.
>> Would you have a snippet for me to add in there (and rename to
>> LYX_CXX_CXX17_FLAGS)?
> 
> Well, I am not pushing for specific C++17 features, we can stay with
> the current style (only gcc 11 will default to C++17).
> If ppl start using them, we can add it later.
> 
> 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 and one for C++17 (any.h). We can get rid of 
them if we require C++17.

I will add a test for <any> header and maybe some code.

JMarc



More information about the lyx-devel mailing list