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 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


You are right, simply adding
#include <functional>
to Format.cpp resolves the errors.
-- 
  Eugene
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to