Le 05/05/2020 à 12:36, Yu Jin a écrit :
Still same errors, unary_function was removed in the newer c++ standards, and the patch sets language standard to latest (Vorschau – Features aus dem aktuellen C++-Arbeitsentwurf (/std:c++latest)) for me, where it's just "standard" whithout it. I attached the message line at the end of CMakeLists, it says "MSVC_VERSION = 1925".
Kornel, what is the purpose of your patch? I see things like /std:c++20 in there.
I thought the purpose was to enforce preferably C++14 and then C++11 if not available. That's what is done in autotools in any case.
Until we use some C++17/20 feature, I do not see the point to ask the compiler to use them. Of course, it is important to get away progressively from obsolete features use as we already do, but this is a different issue.
JMarc -- lyx-devel mailing list [email protected] http://lists.lyx.org/mailman/listinfo/lyx-devel
