Patches to improve compatibility with modern C++ standard

Thibaut Cuvelier dourouc05 at gmail.com
Tue May 5 18:35:30 UTC 2020


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


On Tue, 5 May 2020 at 13:49, Kornel Benko <kornel at lyx.org> wrote:

> Am Tue, 5 May 2020 13:39:35 +0200
> schrieb Yu Jin <technikmagma at gmail.com>:
>
> > Am Di., 5. Mai 2020 um 13:10 Uhr schrieb Kornel Benko <kornel at lyx.org>:
> >
> > > Am Tue, 5 May 2020 12:36:03 +0200
> > > schrieb Yu Jin <technikmagma at gmail.com>:
> > >
> > > > Am Di., 5. Mai 2020 um 09:16 Uhr schrieb Kornel Benko <
> kornel at lyx.org>:
> > > >
> > > > > Am Tue, 5 May 2020 09:15:50 +0200
> > > > > schrieb Kornel Benko <kornel at lyx.org>:
> > > > > > Thanks Eugene. Please try the next patch.
> > > > > > If it also does not work, we have to decide on the msvc version
> > > > > > what to do.
> > > > > >
> > > > > > Could you also check the msvc-version (somewhere in the
> > > CMakeLists.txt)
> > > > > >
> > > > > >       message(STATUS "MSVC_VERSION = ${MSVC_VERSION}")
> > > > > >
> > > > > >       Kornel
> > > > >
> > > > > Forgot to attach.
> > > > >
> > > > Still same errors, unary_function was removed in the newer c++
> standards,
> > > > and the patch sets language standard to latest (Vorschau – Features
> aus
> > > dem
> > > > aktuellen C++-Arbeitsentwurf (/std:c++latest)) for me, where it's
> just
> > > > "standard" whithout it. I attached the message line at the end of
> > > > CMakeLists, it says  "MSVC_VERSION = 1925".
> > > >
> > > > Eugene
> > >
> > > Sorry, next try.
> > >
> > Worked.
> >
> > Eugene
>
> I will commit, but for sure this is not the last change.
>
> Thibaut, what is the MSVC version of VC 19?
>
>         Kornel
> --
> 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/618fd9d1/attachment.html>


More information about the lyx-devel mailing list