Patches to improve compatibility with modern C++ standard

Thibaut Cuvelier dourouc05 at gmail.com
Tue May 5 19:22:02 UTC 2020


No, nothing requires C++20, it's just that VC19 is not C++11-compliant
enough when set in C++11 mode to build LyX, you have to enable C++17 to
enable some features like designated initialiser, if my memory serves me
right.

Thibaut Cuvelier


On Tue, 5 May 2020 at 21:07, Jean-Marc Lasgouttes <lasgouttes at lyx.org>
wrote:

> Le 05/05/2020 à 13:02, Kornel Benko a écrit :
> > As Thibaut needs /std:c++20, we have to check if it is valid flag.
>
> This is where our interpretation diverges. Thibaut, could you clarify
> the situation about C++20 again? If your code requires C++20 we will
> sooner or later be in a bad position, won't we?
>
> I propose that we activate C++17/20 on compilers that handle it once we
> have code that can use it. Bit for now, we are at C++11, we can go to
> C++14 in 2.5, for example.
>
> JMarc
> --
> lyx-devel mailing list
> lyx-devel at lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200505/3a9d3dcb/attachment.html>


More information about the lyx-devel mailing list