On Thursday, 8 September 2016 09:55:50 CEST Hannah von Reth wrote:

> Git commit 94448217b42812f0b4dc063024b9b26915241d86 by Hannah von Reth.

> Committed on 08/09/2016 at 09:55.

> Pushed by vonreth into branch 'master'.

>

> Use more correct and with c++11 avalible std::remove_pointer

>

> M +1 -11 src/kdeui/k4style.h

>

Unfortunately, this change now breaks the build with the following error :

 

[ 271s] /home/abuild/rpmbuild/BUILD/kdelibs4support-5.26.0git.20160908T130410~75897d2/src/kdeui/k4style.h:1590:80: error: dependent-name 'std::remove_pointer<T>::type' is parsed as a non-type, but instantiation yields a type

[ 271s] if (qstrcmp(typeid(*option).name(), typeid(std::remove_pointer<T>::type()).name()) == 0) {

[ 271s] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~

[ 271s] /home/abuild/rpmbuild/BUILD/kdelibs4support-5.26.0git.20160908T130410~75897d2/src/kdeui/k4style.h:1590:80: note: say 'typename std::remove_pointer<T>::type' if a type is meant

[ 271s] /home/abuild/rpmbuild/BUILD/kdelibs4support-5.26.0git.20160908T130410~75897d2/src/kdeui/k4style.h: In instantiation of 'static T K4Style::extractOption(K4Style::Option*) [with T = K4Style::TitleButtonOption*]':

[ 271s] /home/abuild/rpmbuild/BUILD/kdelibs4support-5.26.0git.20160908T130410~75897d2/src/kdeui/k4style.cpp:679:65: required from here

[ 271s] /home/abuild/rpmbuild/BUILD/kdelibs4support-5.26.0git.20160908T130410~75897d2/src/kdeui/k4style.h:1590:80: error: dependent-name 'std::remove_pointer<T>::type' is parsed as a non-type, but instantiation yields a type

[ 271s] /home/abuild/rpmbuild/BUILD/kdelibs4support-5.26.0git.20160908T130410~75897d2/src/kdeui/k4style.h:1590:80: note: say 'typename std::remove_pointer<T>::type' if a type is meant


Regards

 

Raymond