[Kde-bindings] smoke and gcc 4.9

Jonathan Riddell jr at jriddell.org
Tue Aug 26 10:01:01 UTC 2014


We've had Smoke break very badly since we changed to GCC 4.9 in Kubuntu.

/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;
                                            ^

/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=;


And many other such errors.
https://launchpadlibrarian.net/183039881/buildlog_ubuntu-utopic-amd64.smokeqt_4%3A4.14.0-0ubuntu1_FAILEDTOBUILD.txt.gz

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.

Does anyone have similar experiences or thoughts?

Jonathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20140826/0fe4149a/attachment.html>


More information about the Kde-bindings mailing list