Patches to improve compatibility with modern C++ standard
Thibaut Cuvelier
dourouc05 at gmail.com
Mon May 4 04:05:51 UTC 2020
Dear list,
During my work on DocBook (which started at www.lyx.org/trac/ticket/8444),
I switched to Visual C++ 2019 as a compiler. The only way I found to make
it compile large parts of LyX was to switch to recent C++ standards, so
that all features are available. Unfortunately, some deprecated parts of
C++ have been removed in the latest versions of the standard… These changes
are probably not required for now with other compilers, but some form will
be required in the future when switching to newer C++ versions.
This series of patches allow LyX to be built with VC 19, when switching to
the latest C++ version, more specifically using the following CMake command:
set(CMAKE_CXX_STANDARD 20)
>
These patches have already been revised by Guillaume Munch:
https://gitlab.com/gadmm/lyx-unstable/-/merge_requests/2. One of the
largest changes is due to the addition of requires to the list of keywords,
which is currently replaced by requirements, which is close in meaning.
Would it be possible to have them merged into LyX' main Git repository?
Thanks in advance!
Thibaut Cuvelier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200504/dc91beee/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Rewriting-of-some-code-as-modern-C.patch
Type: application/octet-stream
Size: 17166 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200504/dc91beee/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Missing-include-at-least-according-to-VC19.patch
Type: application/octet-stream
Size: 661 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200504/dc91beee/attachment-0005.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Deprecated-elements-from-stdlib-removed-in-C-17.patch
Type: application/octet-stream
Size: 7937 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200504/dc91beee/attachment-0006.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-requires-becomes-a-keyword-in-C-20.patch
Type: application/octet-stream
Size: 16526 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200504/dc91beee/attachment-0007.obj>
More information about the lyx-devel
mailing list