<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[What is build error meaning and what is proper solution to solve this error]]></title><description><![CDATA[<p dir="auto">Hi all,</p>
<p dir="auto">I tried to build static libraries of qt.4.3.3 with following steps</p>
<ol>
<li>
<p dir="auto">I downloaded a open source of qt-all-opensource-src-4.3.3. I built static libraries using following steps.</p>
</li>
<li>
<p dir="auto">cd qt-all-opensource-src-4.3.3 or commercial src</p>
</li>
<li>
<p dir="auto">./configure -release -static -largefile -qt3support -qt-libpng -qt-libmng -qt-libtiff -qt-libjpeg -glib -platform linux-g++-64 -confirm-license -no-openssl -no-qdbus -prefix ./static_new -prefix-install -opengl -sm -lSM -lICE -xshape -lX11 -xinerama -lXinerama -xcursor -lXcursor -xfixes -lXfixes -xrandr -lXrandr -xrender -lXrender -fontconfig -lfontconfig -tablet -lXi -xkb -glib -lglib-2.0 -lXext -lz -lgthread-2.0</p>
</li>
<li>
<p dir="auto">gmake</p>
</li>
<li>
<p dir="auto">gmake install</p>
</li>
</ol>
<p dir="auto">And I am getting following error in</p>
<p dir="auto">from ../../corelib/codecs/qsimplecodec_p.h:36,<br />
from ../../corelib/codecs/qsimplecodec.cpp:22:<br />
../../../include/QtCore/../../src/corelib/thread/qatomic.h: In instantiation of ?QAtomicPointer&lt;T&gt;::QAtomicPointer(T*) [with T = QByteArray]?:<br />
../../corelib/codecs/qsimplecodec.cpp:592:74:   required from here<br />
../../../include/QtCore/../../src/corelib/thread/qatomic.h:190:7: error: ?init? was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]<br />
../../../include/QtCore/../../src/corelib/thread/qatomic.h:190:7: note: declarations in dependent base ?QBasicAtomicPointer&lt;QByteArray&gt;? are not found by unqualified lookup<br />
../../../include/QtCore/../../src/corelib/thread/qatomic.h:190:7: note: use ?this-&gt;init? instead<br />
gmake[1]: *** [.obj/release-static/qsimplecodec.o] Error 1<br />
gmake[1]: Leaving directory `/in/inndt69/Projects/oasys/QT/QT/qt-x11-commercial-src-4.3.3/qt-x11-commercial-src-4.3.3/src/tools/rcc'<br />
gmake: *** [sub-rcc-make_default-ordered] Error 2</p>
<p dir="auto">When I added</p>
<p dir="auto">QMakeVar add QMAKE_CXXFLAGS -fpermissive<br />
X11TESTS_FLAGS="$X11TESTS_FLAGS -fpermissive"</p>
<p dir="auto">in configure file , then build error goes way</p>
<ol>
<li>I am not sure , Why this error is coming and If someone can guide me in detail on what the error is</li>
<li>What is correct solution to solve this</li>
</ol>
<p dir="auto">Please note the gcc version I am using is gcc /5.2.0/</p>
]]></description><link>https://forum.qt.io/topic/71904/what-is-build-error-meaning-and-what-is-proper-solution-to-solve-this-error</link><generator>RSS for Node</generator><lastBuildDate>Sun, 17 May 2026 02:47:06 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/71904.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 03 Oct 2016 23:17:53 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to What is build error meaning and what is proper solution to solve this error on Tue, 04 Oct 2016 08:50:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/qt-enthusiast">@<bdi>Qt-Enthusiast</bdi></a></p>
<p dir="auto">The only thing is this from GCC manual:<br />
<em>-fpermissive<br />
Downgrade some diagnostics about nonconformant code from errors to warnings.<br />
Thus, using ‘-fpermissive’ allows some nonconforming code to compile.</em></p>
<p dir="auto">Qt 4.3 is probably about a 10 years old and there have been some updates and redefinitions for the different C++ standard during that time. Therefore, my personal guess is that the reasons have to be found there. When starting to use a new compiler version especially when based on newer standards, you have to expect new warning and even new error messages. That seems to have happened here. However, the developer's of gcc have been aware of this and took already precaution and basically guided you through the incompatibility. The result is that you can successfully compile and I personally would not expect that there should be major problems with the compilation. However, nobody can give you a gurantee. At the day's end you have to make the decision if you want to move forward with the compilation.</p>
<p dir="auto">Otherwise I can only refer to my previous post. Check it out, if you are happy with the results.</p>
<p dir="auto">By having doubts, I would either go with a gcc version as it was used originally for compiling Qt or would switch to a newer version of Qt anyhow.</p>
]]></description><link>https://forum.qt.io/post/351768</link><guid isPermaLink="true">https://forum.qt.io/post/351768</guid><dc:creator><![CDATA[koahnig]]></dc:creator><pubDate>Tue, 04 Oct 2016 08:50:59 GMT</pubDate></item><item><title><![CDATA[Reply to What is build error meaning and what is proper solution to solve this error on Tue, 04 Oct 2016 06:59:03 GMT]]></title><description><![CDATA[<p dir="auto">Can u explain a little bit what the error is</p>
<p dir="auto">rom ../../corelib/codecs/qsimplecodec_p.h:36,<br />
from ../../corelib/codecs/qsimplecodec.cpp:22:<br />
../../../include/QtCore/../../src/corelib/thread/qatomic.h: In instantiation of ?QAtomicPointer&lt;T&gt;::QAtomicPointer(T*) [with T = QByteArray]?:<br />
../../corelib/codecs/qsimplecodec.cpp:592:74: required from here<br />
../../../include/QtCore/../../src/corelib/thread/qatomic.h:190:7: error: ?init? was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]<br />
../../../include/QtCore/../../src/corelib/thread/qatomic.h:190:7: note: declarations in dependent base ?QBasicAtomicPointer&lt;QByteArray&gt;? are not found by unqualified lookup<br />
../../../include/QtCore/../../src/corelib/thread/qatomic.h:190:7: note: use ?this-&gt;init? instead<br />
gmake[1]: *** [.obj/release-static/qsimplecodec.o] Error 1<br />
gmake[1]: Leaving directory `/in/inndt69/Projects/oasys/QT/QT/qt-x11-commercial-src-4.3.3/qt-x11-commercial-src-4.3.3/src/tools/rcc'</p>
]]></description><link>https://forum.qt.io/post/351739</link><guid isPermaLink="true">https://forum.qt.io/post/351739</guid><dc:creator><![CDATA[Qt Enthusiast]]></dc:creator><pubDate>Tue, 04 Oct 2016 06:59:03 GMT</pubDate></item><item><title><![CDATA[Reply to What is build error meaning and what is proper solution to solve this error on Tue, 04 Oct 2016 06:40:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/qt-enthusiast">@<bdi>Qt-Enthusiast</bdi></a></p>
<p dir="auto">I guess you are aware that you are using a very old Qt version even on Qt4?<br />
Since you are using a much more recent GCC version, you need to compile everything yourself anyhow. You should ask yourself, why are you not using at least a more recent Qt4 version?<br />
If you really have good reasons to stay with your chosen versions, probably the best is to check if it is working correctly.</p>
]]></description><link>https://forum.qt.io/post/351736</link><guid isPermaLink="true">https://forum.qt.io/post/351736</guid><dc:creator><![CDATA[koahnig]]></dc:creator><pubDate>Tue, 04 Oct 2016 06:40:45 GMT</pubDate></item></channel></rss>