Am Fr., 19. Apr. 2024 um 11:00 Uhr schrieb Kornel Benko <kor...@lyx.org>:

> Am Thu, 18 Apr 2024 16:43:25 +0200
> schrieb Pavel Sanda:
>
> > 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:
> > >
> > > > > 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

Yes I am.

> then I'd still like to know the
> differences of the used cxx parameters.

2.4 compiles with c++20 standard. The Problem with 2.3 are the
"unary_function"s, which seem to require c++11(?) and as far as I can see
the current Visual Studio just can not do that, c++14 is minimum.

> Seems easier to make a patch then (at least for
> Eugene's compiler)

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

Reply via email to