Am Thu, 18 Apr 2024 16:43:25 +0200 schrieb Pavel Sanda <sa...@lyx.org>:
> On Wed, Apr 17, 2024 at 09:22:34AM +0200, Kornel Benko wrote: > > Am Tue, 16 Apr 2024 15:54:26 +0200 > > schrieb Yu Jin <technikma...@gmail.com>: > > > > > > Alternatively you can try setting CMAKE_CXX_STANDARD directly. > > > > Like in CMakeLists.txt:646 > > > > -if(NOT MSVC) > > > > +if (MSVC) > > > > + set(CMAKE_CXX_STANDARD 11) > > > > +else() > > > > > > > > Since I cannot test for MSVC, it is untested. > > > > > > > Does not seem to do anything, the standard set in Visual Studio is still > > > "Default > > > (C++14)" and still the same error occurs. > > > > > > > Sorry Eugene, I would try to check for diff of the used cxx parameters in > > lyx2.3 and > > lyx2.5 compilation. Other than that, I am out of suggestions. > > If we run out of ideas how to compile 2.3 with the current win compilers, > how hard or complex patches would be backporting compilation fixes present > in 2.4? > > Pavel Looks like not so easy. The changes in are development/cmake/modules/LyXMacros.cmake: easy managable development/cmake/modules/FindCXX11Compiler.cmake: looks not difficult CMakeLists.txt: Huge If Eugene is able to compile lyx2.4 with qt5 then I'd still like to know the differences of the used cxx parameters. Seems easier to make a patch then (at least for Eugene's compiler) Kornel
pgpK8VMiGdsWO.pgp
Description: Digitale Signatur von OpenPGP
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel