<div dir="ltr"><div><div>Hi, <br><br>that's bad news. I pushed this commit to KDE/4.11 just now to fix the error (other branches are fine):<br><br>  <a href="http://quickgit.kde.org/?p=umbrello.git&a=commit&h=5f9f6a68716a8aced2c5f962247d9b05b326fcf5">http://quickgit.kde.org/?p=umbrello.git&a=commit&h=5f9f6a68716a8aced2c5f962247d9b05b326fcf5</a><br>
</div><br></div><div></div><div>Doing a non-debug build of 4.11 worked without warnings on my system, that's how the error got in <br>4.11 unnoticed. I hope to prevent that in the future but I'm not sure what compiler version/options make<br>
the difference in allowing this error without warning, and complete failure.<br><br>Eric, could you tell me what compiler version you are using? And did you do a "debugfull" cmake build<br></div><div>or just a regular build?<br>
</div><div><br></div>Regards,<br><br>Joris.<br><div><div><div><br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Nov 30, 2013 at 1:17 AM, Albert Astals Cid <span dir="ltr"><<a href="mailto:aacid@kde.org" target="_blank">aacid@kde.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Joris, Ralph, Umbrello KDE/4.11 is broken, can you please guys fix it?<br>
<br>
Cheers,<br>
  Albert<br>
<br>
El Divendres, 29 de novembre de 2013, a les 13:03:44, Eric Hameleers va<br>
escriure:<br>
> On Fri, 29 Nov 2013, Torgny Nyblom wrote:<br>
> > Hi,<br>
> ><br>
> > The tarballs for the 4.11.4 release are now available in the usual<br>
> > location.<br>
> ><br>
> > I've not compiled them so please report any issues you find.<br>
> ><br>
> > sha1 sums and revisions/hashes are attached.<br>
> ><br>
> > /Regards<br>
> > Torgny<br>
><br>
> When compiling umbrello (part of our Slackware kdesdk module), I run<br>
> into this error:<br>
><br>
> [ 11%] Building CXX object<br>
> umbrello/CMakeFiles/umbrello.dir/dialogs/classoptionspage.cpp.o<br>
> [ 11%] Building CXX object<br>
> umbrello/CMakeFiles/umbrello.dir/dialogs/classpropdlg.cpp.o<br>
> /tmp/kde-build/kdesdk/umbrello-4.11.4/umbrello/dialogs/classifierlistpage.cp<br>
> p: In member function 'void<br>
> ClassifierListPage::slotActivateItem(QListWidgetItem*)':<br>
> /tmp/kde-build/kdesdk/umbrello-4.11.4/umbrello/dialogs/classifierlistpage.cp<br>
> p:349:9: error: 'listItem' was not declared in this scope listItem =<br>
> getItemList().at( itemIndex );<br>
>           ^<br>
> /tmp/kde-build/kdesdk/umbrello-4.11.4/umbrello/dialogs/classifierlistpage.cp<br>
> p:354:74: error: cannot dynamic_cast 'listItem' (of type '<type error>') to<br>
> type 'class UMLOperation*' (source is not a pointer)<br>
>               m_pCodeTE->setPlainText(<br>
> dynamic_cast<UMLOperation*>(listItem)->get<br>
> SourceCode() );<br>
><br>
> ^<br>
> make[2]: ***<br>
> [umbrello/CMakeFiles/umbrello.dir/dialogs/classifierlistpage.cpp.o]<br>
>   Error 1<br>
> make[2]: *** Waiting for unfinished jobs....<br>
> [  0%] Built target umbrello_automoc<br>
> [  0%] Building CXX object<br>
> umbrello/CMakeFiles/umbrello.dir/dialogs/classifierlistpage.cpp.o<br>
> /tmp/kde-build/kdesdk/umbrello-4.11.4/umbrello/dialogs/classifierlistpage.cp<br>
> p: In member function 'void<br>
> ClassifierListPage::slotActivateItem(QListWidgetItem*)':<br>
> /tmp/kde-build/kdesdk/umbrello-4.11.4/umbrello/dialogs/classifierlistpage.c<br>
> pp:349:9: error: 'listItem' was not declared in this scope<br>
>           listItem = getItemList().at( itemIndex );<br>
>           ^<br>
> /tmp/kde-build/kdesdk/umbrello-4.11.4/umbrello/dialogs/classifierlistpage.cp<br>
> p:354:74: error: cannot dynamic_cast 'listItem' (of type '<type error>') to<br>
> type 'class UMLOperation*' (source is not a pointer)<br>
>               m_pCodeTE->setPlainText(<br>
> dynamic_cast<UMLOperation*>(listItem)->getSourceCode() );<br>
><br>
> ^<br>
> make[2]: ***<br>
> [umbrello/CMakeFiles/umbrello.dir/dialogs/classifierlistpage.cpp.o]<br>
> Error 1<br>
> make[1]: *** [umbrello/CMakeFiles/umbrello.dir/all] Error 2<br>
> make: *** [all] Error 2<br>
> kdesdk failed to build.<br>
><br>
> Any clue?<br>
><br>
> Cheers, Eric<br>
<br>
</blockquote></div><br></div>