Patches to improve compatibility with modern C++ standard

Thibaut Cuvelier dourouc05 at gmail.com
Thu May 7 23:05:39 UTC 2020


On Wed, 6 May 2020 at 11:42, Kornel Benko <kornel at lyx.org> wrote:

> Am Tue, 5 May 2020 20:35:30 +0200
> schrieb Thibaut Cuvelier <dourouc05 at gmail.com>:
>
> > Well, it has a couple of different versions…
> > The compiler itself: 19.2x.xxxx, like 19.25.28614
> > The toolchain: 16.x.x, like 16.5.4
> > The _MSC_VER macro: 192x, like 1925 (it looks like the one used by CMake
> for
> > MSVC_VERSION) The _MSC_FULL_VER: 192xxxxxx, like 192027508
> >
> > Thibaut Cuvelier
>
> I am interested in the version you are using.
> It should start with 192x, while 'x' presumably is > 5 (e.g. '6' in your
> case)
>

My version is 1925.

With the changes now on master, I can now compile without problems, with
just a definition of "set(CMAKE_CXX_STANDARD 17)" in CMakeLists.

Please try the same as Eugene. Insert
>         message(STATUS "MSVC_VERSION = ${MSVC_VERSION}")
> somewhere in the CMakeLists.txt (for instance before line 322)
>
>         Kornel
>
> P.S.
>
> Please try to answer according to our etiquette.
> (That is neither top-posting nor bottom-posting, but inline)
>

I'll keep that in mind.


> --
> 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/20200508/3f12282b/attachment.html>


More information about the lyx-devel mailing list