[Kde-bindings] smoke and gcc 4.9

Ben Cooksley bcooksley at kde.org
Tue Aug 26 10:04:29 UTC 2014


On Tue, Aug 26, 2014 at 10:01 PM, Jonathan Riddell <jr at jriddell.org> wrote:
> 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?

Smokegen has been extremely unreliable on the CI system since we
enabled debug mode in Qt. Most of the time it triggers asserts in
QList and promptly dies.

Given the lack of response to my requests to kde-bindings at kde.org to
have this fixed I suspect Smokegen and everything dependent on it is
defacto unmaintained.

>
> Jonathan

Thanks,
Ben

>
>
> _______________________________________________
> Kde-packager mailing list
> Kde-packager at kde.org
> https://mail.kde.org/mailman/listinfo/kde-packager
>


More information about the Kde-bindings mailing list