Le 17/10/2025 à 17:46, Thibaut Cuvelier a écrit :
The devs have been thinking about removing the class, but they couldn't do it due to bugs in GCC 9 and 10, apparently: https://bugreports.qt.io/ browse/QTBUG-117850 <https://bugreports.qt.io/browse/QTBUG-117850>. They are preparing the code base for its removal, it seems: https:// codereview.qt-project.org/c/qt/qtbase/+/192881 <https://codereview.qt- project.org/c/qt/qtbase/+/192881>.

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83562

From what I see, the issue is with i686 (32 bits) compiler mingw-w64. Enrico, is this thing relevant these days? In particular, can a newer fixed compiler be used for the old targets with a 32 bits architecture ?

Note also that the issue is only for types that need a destructor, if I read correctly the bug report. And indeed the warning says "QThreadStorage used with a trivial non-pointer type; consider using thread_local".

As a first step, I'll try to remove these calls (but I'll have delays to do so). It should be enough to replace the "static QThreadStorage<int>" by "thread_local static int".

Yes, I think it is the way to go.

JMarc
--
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to