[LyX/master] Cmake build: Start demanding at least version 5.1 if compiling with gcc

Jean-Marc Lasgouttes lasgouttes at lyx.org
Thu Oct 24 14:05:37 UTC 2024


Le 24/10/2024 à 15:43, Pavel Sanda a écrit :
> On Thu, Oct 24, 2024 at 12:43:49PM +0000, Kornel Benko wrote:
>> commit d6fba3b94e54ac58806d7cb65584edfdbe6d515e
>> Author: Kornel Benko <kornel at lyx.org>
>> Date:   Thu Oct 24 14:52:22 2024 +0200
>>
>>      Cmake build: Start demanding at least version 5.1 if compiling with gcc
> 
> We just agreed on GCC >= 8.
> Pavel


It may be that we still compile with gcc 6, which has bits of C++17. I 
feel a bit lazy to check this, but I could in principle. I would say 
that we allow ourselves to use every C++17 feature and see afterward 
what compiler supports it (provided that it is not later than gcc 8). Is 
that a clear policy?

I just checked the status, it seems that we need gcc 7 for <any>.
https://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html#status.iso.2017

What about requiring gcc 7?

JMarc


More information about the lyx-devel mailing list