64 lines
2.5 KiB
Diff
64 lines
2.5 KiB
Diff
Subject: fix undefined reference to ~atomic()
|
|
Bug: 151685
|
|
Tags: lcc
|
|
|
|
diff -rupN a/src/shared/qbs/src/lib/corelib/tools/launchersocket.cpp b/src/shared/qbs/src/lib/corelib/tools/launchersocket.cpp
|
|
--- a/src/shared/qbs/src/lib/corelib/tools/launchersocket.cpp 2024-05-30 02:12:02.463847903 +0300
|
|
+++ b/src/shared/qbs/src/lib/corelib/tools/launchersocket.cpp 2024-05-30 02:12:38.603505945 +0300
|
|
@@ -50,7 +50,11 @@
|
|
namespace qbs {
|
|
namespace Internal {
|
|
|
|
+#if defined(__LCC__) && (__LCC__ >= 128)
|
|
+LauncherSocket::LauncherSocket(QObject *parent) : QObject(parent), m_socket{nullptr}
|
|
+#else
|
|
LauncherSocket::LauncherSocket(QObject *parent) : QObject(parent)
|
|
+#endif
|
|
{
|
|
qRegisterMetaType<qbs::Internal::LauncherPacketType>();
|
|
qRegisterMetaType<quintptr>("quintptr");
|
|
|
|
diff -rupN a/src/plugins/coreplugin/locator/javascriptfilter.cpp b/src/plugins/coreplugin/locator/javascriptfilter.cpp
|
|
--- a/src/plugins/coreplugin/locator/javascriptfilter.cpp 2024-05-30 03:14:55.091384762 +0300
|
|
+++ b/src/plugins/coreplugin/locator/javascriptfilter.cpp 2024-05-30 03:15:47.126881987 +0300
|
|
@@ -35,6 +35,9 @@ namespace Internal {
|
|
enum class EngineAction { Reset = 1, Abort };
|
|
|
|
JavaScriptFilter::JavaScriptFilter()
|
|
+#if defined(__LCC__) && (__LCC__ >= 128)
|
|
+ : m_aborted{false}
|
|
+#endif
|
|
{
|
|
setId("JavaScriptFilter");
|
|
setDisplayName(tr("Evaluate JavaScript"));
|
|
|
|
diff -rupN a/src/plugins/help/helpindexfilter.cpp b/src/plugins/help/helpindexfilter.cpp
|
|
--- a/src/plugins/help/helpindexfilter.cpp 2024-05-30 16:04:29.675206154 +0300
|
|
+++ b/src/plugins/help/helpindexfilter.cpp 2024-05-30 16:04:56.910949895 +0300
|
|
@@ -59,6 +59,9 @@ using namespace Help;
|
|
using namespace Help::Internal;
|
|
|
|
HelpIndexFilter::HelpIndexFilter()
|
|
+#if defined(__LCC__) && (__LCC__ >= 128)
|
|
+ : m_needsUpdate{true}
|
|
+#endif
|
|
{
|
|
setId("HelpIndexFilter");
|
|
setDisplayName(tr("Help Index"));
|
|
|
|
diff -rupN a/src/plugins/autotoolsprojectmanager/makefileparser.cpp b/src/plugins/autotoolsprojectmanager/makefileparser.cpp
|
|
--- a/src/plugins/autotoolsprojectmanager/makefileparser.cpp 2024-05-30 17:14:45.464205143 +0300
|
|
+++ b/src/plugins/autotoolsprojectmanager/makefileparser.cpp 2024-05-30 17:15:12.831898903 +0300
|
|
@@ -37,7 +37,11 @@
|
|
|
|
using namespace AutotoolsProjectManager::Internal;
|
|
|
|
+#if defined(__LCC__) && (__LCC__ >= 128)
|
|
+MakefileParser::MakefileParser(const QString &makefile) : m_cancel{false}, m_makefile(makefile)
|
|
+#else
|
|
MakefileParser::MakefileParser(const QString &makefile) : m_makefile(makefile)
|
|
+#endif
|
|
{ }
|
|
|
|
MakefileParser::~MakefileParser(
|