Patches to improve compatibility with modern C++ standard

Yu Jin technikmagma at gmail.com
Thu Jun 4 13:03:28 UTC 2020


Am Di., 5. Mai 2020 um 13:49 Uhr schrieb Kornel Benko <kornel at lyx.org>:

> 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.


Sorry for the trouble, I just updated Visual Studio to version 16.6.1
(always try to work with the latest software). My MVSC version according to
CMake is now 1926, and now I can't compile, because the standard is set to
latest again.

Eugene
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200604/3e39c80e/attachment.html>


More information about the lyx-devel mailing list