Am Mon, 4 May 2020 06:05:51 +0200 schrieb Thibaut Cuvelier <dourou...@gmail.com>:
> 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 How can we test if the standard is valid on different Visual C++? (For instance we test if the compile flag "--std=c++14" is accepted by gcc) Kornel
pgpq29VDoeXFT.pgp
Description: Digitale Signatur von OpenPGP
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel