Dear list,

I just tried to recompile LyX on MSVC 19, this is the error I get:

[ 40%] Building CXX object
src/frontends/qt/CMakeFiles/frontend_qt.dir/GuiApplication.cpp.obj
GuiApplication.cpp
D:\LyX\lyx-unstable\3rdparty\nod\nod.hpp(272): error C2653: 'result_of': is
not a class or namespace name
D:\LyX\lyx-unstable\3rdparty\nod\nod.hpp(323): note: see reference to class
template instantiation 'nod::signal_accumulator<S,T,F,A...>' being compiled
D:\LyX\lyx-unstable\3rdparty\nod\nod.hpp(272): error C2146: syntax error:
missing ';' before identifier 'type'
D:\LyX\lyx-unstable\3rdparty\nod\nod.hpp(272): error C4430: missing type
specifier - int assumed. Note: C++ does not support default-int

It looks like it's due to bda45704005d6b328e18457a07d05e56883c2874, with
the replacement of boost::signals2 (a heavy library) by nod (an
unmaintained library). It's about things that are getting deleted in the
latest versions of C++, meaning that it will probably bite other compilers
at some point in the future.

As the author of the library did not answer to PRs in the last two years,
I'm not sure it's possible to upstream changes to it… What would be best in
this case?
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to