Re: 2.3.x does not compile on Windows

2024-05-02 Thread Richard Kimberly Heck
On 5/2/24 08:53, Pavel Sanda wrote: On Wed, May 01, 2024 at 09:10:17PM +0200, Jean-Marc Lasgouttes wrote: Le 01/05/2024 ?? 20:55, Yu Jin a écrit : Am Mi., 1. Mai 2024 um 18:53 Uhr schrieb Jean-Marc Lasgouttes: Le 01/05/2024 ?? 17:50, Yu Jin a écrit : > You are right, simply adding

Re: 2.3.x does not compile on Windows

2024-05-02 Thread Pavel Sanda
On Wed, May 01, 2024 at 09:10:17PM +0200, Jean-Marc Lasgouttes wrote: > Le 01/05/2024 ?? 20:55, Yu Jin a écrit : > >Am Mi., 1. Mai 2024 um 18:53 Uhr schrieb Jean-Marc Lasgouttes: > > > >Le 01/05/2024 ?? 17:50, Yu Jin a écrit : > > > You are right, simply adding > > > #include > >

Re: 2.3.x does not compile on Windows

2024-05-01 Thread Jean-Marc Lasgouttes
Le 01/05/2024 à 20:55, Yu Jin a écrit : Am Mi., 1. Mai 2024 um 18:53 Uhr schrieb Jean-Marc Lasgouttes: Le 01/05/2024 à 17:50, Yu Jin a écrit : > You are right, simply adding > #include > to Format.cpp resolves the errors. Great! May I push it into the 2.3.x branch?

Re: 2.3.x does not compile on Windows

2024-05-01 Thread Yu Jin
Am Mi., 1. Mai 2024 um 18:53 Uhr schrieb Jean-Marc Lasgouttes: > Le 01/05/2024 à 17:50, Yu Jin a écrit : > > You are right, simply adding > > #include > > to Format.cpp resolves the errors. > > Great! > May I push it into the 2.3.x branch? -- Eugene -- lyx-devel mailing list

Re: 2.3.x does not compile on Windows

2024-05-01 Thread Jean-Marc Lasgouttes
Le 01/05/2024 à 17:50, Yu Jin a écrit : You are right, simply adding #include to Format.cpp resolves the errors. Great! JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: 2.3.x does not compile on Windows

2024-05-01 Thread Yu Jin
Am Mi., 1. Mai 2024 um 13:36 Uhr schrieb Jean-Marc Lasgouttes: > Le 01/05/2024 à 13:32, Jean-Marc Lasgouttes a écrit : > > Le 01/05/2024 à 11:54, Yu Jin a écrit : > >> 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

Re: 2.3.x does not compile on Windows

2024-05-01 Thread Jean-Marc Lasgouttes
Le 01/05/2024 à 13:32, Jean-Marc Lasgouttes a écrit : Le 01/05/2024 à 11:54, Yu Jin a écrit : 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

Re: 2.3.x does not compile on Windows

2024-05-01 Thread Jean-Marc Lasgouttes
Le 01/05/2024 à 11:54, Yu Jin a écrit : 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. Reading this:

Re: 2.3.x does not compile on Windows

2024-05-01 Thread Yu Jin
Am Fr., 19. Apr. 2024 um 11:00 Uhr schrieb Kornel Benko : > 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

Re: 2.3.x does not compile on Windows

2024-04-19 Thread Pavel Sanda
On Fri, Apr 19, 2024 at 12:52:06PM +0200, Jean-Marc Lasgouttes wrote: > Le 19/04/2024 ?? 11:12, Pavel Sanda a écrit : > >On Fri, Apr 19, 2024 at 11:03:55AM +0200, Kornel Benko wrote: > >>Looks like not so easy. The changes in are > >>development/cmake/modules/LyXMacros.cmake: easy managable >

Re: 2.3.x does not compile on Windows

2024-04-19 Thread Jean-Marc Lasgouttes
Le 19/04/2024 à 11:12, Pavel Sanda a écrit : On Fri, Apr 19, 2024 at 11:03:55AM +0200, Kornel Benko wrote: Looks like not so easy. The changes in are development/cmake/modules/LyXMacros.cmake: easy managable development/cmake/modules/FindCXX11Compiler.cmake: looks not difficult

Re: 2.3.x does not compile on Windows

2024-04-19 Thread Kornel Benko
Am Fri, 19 Apr 2024 11:12:41 +0200 schrieb Pavel Sanda : > On Fri, Apr 19, 2024 at 11:03:55AM +0200, Kornel Benko wrote: > > Looks like not so easy. The changes in are > > development/cmake/modules/LyXMacros.cmake: easy managable > > development/cmake/modules/FindCXX11Compiler.cmake:

Re: 2.3.x does not compile on Windows

2024-04-19 Thread Pavel Sanda
On Fri, Apr 19, 2024 at 11:03:55AM +0200, Kornel Benko wrote: > 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 I thought the

Re: 2.3.x does not compile on Windows

2024-04-19 Thread Kornel Benko
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 > >

Re: 2.3.x does not compile on Windows

2024-04-18 Thread 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

Re: 2.3.x does not compile on Windows

2024-04-17 Thread Kornel Benko
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. > > >

Re: 2.3.x does not compile on Windows

2024-04-16 Thread Yu Jin
Am Di., 16. Apr. 2024 um 14:14 Uhr schrieb Kornel Benko: > Am Fri, 12 Apr 2024 21:50:28 +0200 > schrieb Yu Jin: > > > Am Fr., 12. Apr. 2024 um 09:56 Uhr schrieb Kornel Benko: > > > > > Am Thu, 11 Apr 2024 17:13:20 +0200 > > > schrieb Yu Jin: > > > > > > > Am Do., 11. Apr. 2024 um 10:17 Uhr

Re: 2.3.x does not compile on Windows

2024-04-16 Thread Kornel Benko
Am Fri, 12 Apr 2024 21:50:28 +0200 schrieb Yu Jin : > Am Fr., 12. Apr. 2024 um 09:56 Uhr schrieb Kornel Benko : > > > Am Thu, 11 Apr 2024 17:13:20 +0200 > > schrieb Yu Jin: > > > > > Am Do., 11. Apr. 2024 um 10:17 Uhr schrieb Kornel Benko: > > > > > > > Am Wed, 10 Apr 2024 21:02:40 +0200 > > > >

Re: 2.3.x does not compile on Windows

2024-04-12 Thread Yu Jin
Am Fr., 12. Apr. 2024 um 09:56 Uhr schrieb Kornel Benko : > Am Thu, 11 Apr 2024 17:13:20 +0200 > schrieb Yu Jin: > > > Am Do., 11. Apr. 2024 um 10:17 Uhr schrieb Kornel Benko: > > > > > Am Wed, 10 Apr 2024 21:02:40 +0200 > > > schrieb Yu Jin: > > > > > [snip] > > > > Please check

Re: 2.3.x does not compile on Windows

2024-04-12 Thread Kornel Benko
Am Thu, 11 Apr 2024 17:13:20 +0200 schrieb Yu Jin : > Am Do., 11. Apr. 2024 um 10:17 Uhr schrieb Kornel Benko : > > > Am Wed, 10 Apr 2024 21:02:40 +0200 > > schrieb Yu Jin : > > [snip] > > Please check ./development/cmake/modules/LyXMacros.cmake:471 > > > > On the 2.3.x branch there

Re: 2.3.x does not compile on Windows

2024-04-11 Thread Yu Jin
Am Do., 11. Apr. 2024 um 10:17 Uhr schrieb Kornel Benko : > Am Wed, 10 Apr 2024 21:02:40 +0200 > schrieb Yu Jin : > > > Am Mi., 10. Apr. 2024 um 16:02 Uhr schrieb Jean-Marc Lasgouttes : > > > > > Le 09/04/2024 à 06:30, Yu Jin a écrit : > > > > Normally, unary_function and binary_function only

Re: 2.3.x does not compile on Windows

2024-04-11 Thread Kornel Benko
Am Wed, 10 Apr 2024 21:02:40 +0200 schrieb Yu Jin : > Am Mi., 10. Apr. 2024 um 16:02 Uhr schrieb Jean-Marc Lasgouttes : > > > Le 09/04/2024 à 06:30, Yu Jin a écrit : > > > Normally, unary_function and binary_function only disappeared in > > C++17. > > > Does C++14 work? > > > > > >

Re: 2.3.x does not compile on Windows

2024-04-10 Thread Yu Jin
Am Mi., 10. Apr. 2024 um 16:02 Uhr schrieb Jean-Marc Lasgouttes : > Le 09/04/2024 à 06:30, Yu Jin a écrit : > > Normally, unary_function and binary_function only disappeared in > C++17. > > Does C++14 work? > > > > Unfortunately not. > > Do you select the C++ level in Visual Studio or in

Re: 2.3.x does not compile on Windows

2024-04-10 Thread Jean-Marc Lasgouttes
Le 09/04/2024 à 06:30, Yu Jin a écrit : Normally, unary_function and binary_function only disappeared in C++17. Does C++14 work? Unfortunately not. Do you select the C++ level in Visual Studio or in cmake? JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org

Re: 2.3.x does not compile on Windows

2024-04-08 Thread Yu Jin
Am Mo., 8. Apr. 2024 um 22:05 Uhr schrieb Jean-Marc Lasgouttes: > Le 08/04/2024 à 19:36, Yu Jin a écrit : > > Can you try to enforce C++11 mode to see whether it works better? > > > > > > That's a problem, I am not able to select C++11: > > image.png > > even installed an older Windows SDK

Re: 2.3.x does not compile on Windows

2024-04-08 Thread Jean-Marc Lasgouttes
Le 08/04/2024 à 19:36, Yu Jin a écrit : Can you try to enforce C++11 mode to see whether it works better? That's a problem, I am not able to select C++11: image.png even installed an older Windows SDK and ran CMake reconfigure completely new. Normally, unary_function and binary_function

Re: 2.3.x does not compile on Windows

2024-04-08 Thread Yu Jin
Am So., 7. Apr. 2024 um 20:40 Uhr schrieb Jean-Marc Lasgouttes < lasgout...@lyx.org>: > Le 05/04/2024 à 22:12, Yu Jin a écrit : > > Hi, > > > > Since 2.3.8 is around the corner I thought to try compiling the 2.3.x > > branch but failed on Format.cpp, get these errors: > > > > Build started at

Re: 2.3.x does not compile on Windows

2024-04-07 Thread Jean-Marc Lasgouttes
Le 05/04/2024 à 22:12, Yu Jin a écrit : Hi, Since 2.3.8 is around the corner I thought to try compiling the 2.3.x branch but failed on Format.cpp, get these errors: Build started at 22:05... 1>-- Build started: Project: LyX (applications\LyX\LyX), Configuration: Debug x64 --

2.3.x does not compile on Windows

2024-04-05 Thread Yu Jin
Hi, Since 2.3.8 is around the corner I thought to try compiling the 2.3.x branch but failed on Format.cpp, get these errors: Build started at 22:05... 1>-- Build started: Project: LyX (applications\LyX\LyX), Configuration: Debug x64 -- 1>Format.cpp 1>C:\lyx\master\src\Format.cpp(61,33):