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
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel