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

Attachment: 0003-Rewriting-of-some-code-as-modern-C.patch
Description: Binary data

Attachment: 0001-Missing-include-at-least-according-to-VC19.patch
Description: Binary data

Attachment: 0002-Deprecated-elements-from-stdlib-removed-in-C-17.patch
Description: Binary data

Attachment: 0004-requires-becomes-a-keyword-in-C-20.patch
Description: Binary data

-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to