Updating and recompiling I got this warning:
/home/jamatos/lyx/lyx.anon/src/support/mutex.cpp: In constructor 
‘lyx::Mutex::Private::Private()’:
/home/jamatos/lyx/lyx.anon/src/support/mutex.cpp:25:21: warning: 
‘QMutex::QMutex(RecursionMode)’ is deprecated: Use QRecursiveMutex instead of a 
recursive QMutex [-Wdeprecated-declarations]
   25 |         Private() : qmutex_(QMutex::Recursive)
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt5/QtCore/QMutex:1,
                 from /home/jamatos/lyx/lyx.anon/src/support/mutex.cpp:15:
/usr/include/qt5/QtCore/qmutex.h:159:14: note: declared here
  159 |     explicit QMutex(RecursionMode mode);
      |              ^~~~~~

Is this useful?

FWIW the only other warnings were about "possibly dangling reference to
a temporary" that were deemed wrong before.

Best regards,
-- 
José Abílio
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to