Am Donnerstag, 28. Februar 2019 08:50:04 CET schrieb Daniel <xraco...@gmx.de>: > Compiling on Windows 10 with VS 2017 used to work. But now I get an > error message when trying to compile LyX: > > Error C2146 > syntax error: missing ')' before identifier 'or' > LyX (applications\LyX\LyX) > C:\Users\Daniel\lyx\devel\lyx\src\BufferParams.cpp > 3293 > > The line in question reads: > > if (inputenc == "default" or features.isRequired("japanese")) {
Git blame gives 32e4a85e4 src/BufferParams.cpp (Günter Milde 2019-02-03 22:04:17 +0100 3293) > Manually replacing the "or" with "||" seems to fix the problem. But next > I get: > > Error C2672 > 'std::isalnum': no matching overloaded function found > LyX (applications\LyX\LyX) > C:\Users\Daniel\lyx\devel\lyx\src\lyxfind.cpp > 2866 > > The line in question reads: > > if (std::isalnum(t[pos+1])) { Probably missing #include <ctype.h> Could you please test? > Any idea what is going? Yes, you are not fast enough in compiling :) > Daniel > Kornel
signature.asc
Description: This is a digitally signed message part.