2.3.x does not compile on Windows
Yu Jin
technikmagma at gmail.com
Wed Apr 10 19:02:40 UTC 2024
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 cmake?
>
I don't see any option in CMake regarding c++ level, I just execute
configure and as far as I can see it does not set any explicit c++ level
and default in the current Visual Studio is c++14 and there seems no way to
use c++11.
https://developercommunity.visualstudio.com/t/Need-C11-in-visual-studio-not-C11-or/10081597?space=8&ftype=idea&q=visualizer
Manually setting '/std:c++11' command line switch also does not work, it
actually says that this switch is unknown and will be ignored -> so again
c++14 is used. And installing an older Visual Studio (Community) is also
not an option, because Microsoft does not offer that (only Professional and
Enterprise), so rip lyX 2.3.8 on Windows I guess, unless someone decides to
cross compile it using MinGW or so.
--
Eugene
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20240410/0ab7af1c/attachment.html>
More information about the lyx-devel
mailing list