Hello,

I get this with a clean build of up-to-date master:

/ext/lyx/master/src/support/FileMonitor.cpp: In member function ‘void lyx::support::FileMonitorGuard::refresh(bool)’: /ext/lyx/master/src/support/FileMonitor.cpp:115:6: error: no matching function for call to ‘QTimer::singleShot(int, lyx::support::FileMonitorGuard*, lyx::support::FileMonitorGuard::refresh(bool)::<lambda()>)’
     });
      ^
/ext/lyx/master/src/support/FileMonitor.cpp:115:6: note: candidates are:
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QTimer:1:0,
                 from /ext/lyx/master/src/support/FileMonitor.cpp:22:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qtimer.h:81:17: note: static void QTimer::singleShot(int, const QObject*, const char*)
     static void singleShot(int msec, const QObject *receiver, const char 
*member);
                 ^
/usr/include/x86_64-linux-gnu/qt5/QtCore/qtimer.h:81:17: note: no known conversion for argument 3 from ‘lyx::support::FileMonitorGuard::refresh(bool)::<lambda()>’ to ‘const char*’ /usr/include/x86_64-linux-gnu/qt5/QtCore/qtimer.h:82:17: note: static void QTimer::singleShot(int, Qt::TimerType, const QObject*, const char*) static void singleShot(int msec, Qt::TimerType timerType, const QObject *receiver, const char *member);
                 ^
/usr/include/x86_64-linux-gnu/qt5/QtCore/qtimer.h:82:17: note: candidate expects 4 arguments, 3 provided src/support/CMakeFiles/support.dir/build.make:557: recipe for target 'src/support/CMakeFiles/support.dir/FileMonitor.cpp.o' failed

--
Jean-Pierre

Reply via email to