plasma-desktop build error on RPi2

David Rosca nowrep at gmail.com
Tue Jan 26 21:51:21 UTC 2016


Hi,

> /usr/include/boost/type_traits/is_reference.hpp:24:16: fatal error:
> recursive template instantiation exceeded maximum depth of 256
>       ::boost::is_lvalue_reference<T>::value ||
> ::boost::is_rvalue_reference<T>::value>

That means this check for clang [1] is not working. Would be great if
you can try to fix it and send patch :)

As for your issue, it should be enough to just remove the if check
(preferably fix it), so that "-ftemplate-depth=512" is used with
clang.
For gcc, I guess you are out of luck.

But maybe it's worth adding a build switch to disable/enable building
keyboard layout geometry preview.

Regards,
David

[1] https://quickgit.kde.org/?p=plasma-desktop.git&a=blob&h=af47a94ffaa5bb203bddd690640dc3719258b54c&hb=295bf76b2624b253a7c785a87722de615c68ab20&f=kcms%2Fkeyboard%2FCMakeLists.txt#l103

>
>
> --
> Regards,
> Nicolas Lécureuil
> Mageia KDE Team
> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel at kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel


More information about the Plasma-devel mailing list