<div dir="ltr"><div><div>We've had Smoke break very badly since we changed to GCC 4.9 in Kubuntu.  <br><br><pre>/build/buildd/smokeqt-4.14.0/obj-x86_64-linux-gnu/qtcore/smokedata.cpp:933:43: error: expected primary-expression before ')' token
         case 157: return (void*)(iterator*)xptr;
                                           ^
/build/buildd/smokeqt-4.14.0/obj-x86_64-linux-gnu/qtcore/smokedata.cpp:933:44: error: expected ';' before 'xptr'
         case 157: return (void*)(iterator*)xptr;
                                            ^<br><br>/build/buildd/smokeqt-4.14.0/obj-x86_64-linux-gnu/qtcore/x_3.cpp: In member function 'void __smokeqtcore::x_QBitArray::x_36(Smoke::Stack)':
/build/buildd/smokeqt-4.14.0/obj-x86_64-linux-gnu/qtcore/x_3.cpp:1003:57: error: ISO C++ forbids taking the address of an unqualified or parenthesized non-static member function to form a pointer to member function.  Say '&__smokeqtcore::x_QBitArray::operator=' [-fpermissive]
         x[0].s_class = (void*)&this->QBitArray::operator=;<br><br></pre><pre><br></pre>And many other such errors.  <br><a href="https://launchpadlibrarian.net/183039881/buildlog_ubuntu-utopic-amd64.smokeqt_4%3A4.14.0-0ubuntu1_FAILEDTOBUILD.txt.gz">https://launchpadlibrarian.net/183039881/buildlog_ubuntu-utopic-amd64.smokeqt_4%3A4.14.0-0ubuntu1_FAILEDTOBUILD.txt.gz</a><br>
<br></div>Worse it doesn't get fixed by just setting the environment variable to CC=gcc-4.8 as I'd normally do, I suspect smokegen doesn't use the environment variables I'd expect it to use.<br><br></div>Does anyone have similar experiences or thoughts?<br>
<br>Jonathan<br><br></div>