Patches to improve compatibility with modern C++ standard

Kornel Benko kornel at lyx.org
Tue May 5 11:49:19 UTC 2020


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200505/6fb97c1a/attachment-0001.asc>


More information about the lyx-devel mailing list