2.3.x does not compile on Windows

Jean-Marc Lasgouttes lasgouttes at lyx.org
Wed May 1 11:36:11 UTC 2024


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 minimum.
> 
> Reading this:
>    https://en.cppreference.com/w/cpp/utility/functional/unary_function
> I would think that it works with C++14 and was remove din C++17 only.

Actually, the function is in <functional>, which is not included in 
Format.cpp.

https://learn.microsoft.com/en-us/answers/questions/1348183/std-binary-function-is-missing-in-msvc-14-37-32822

JMarc



More information about the lyx-devel mailing list