Hello!<br><br>I'm trying to build KDE 4.9 from SVN branch and found the following error during kdepim building:<br><br clear="all">[ 97%] Building CXX object kmail/CMakeFiles/kmailprivate.dir/kmreaderwin.o<br>/data/build/usr/ports/deskutils/kdepim4/work/kdepim-4.9.0/kmail/kmreaderwin.cpp: In member function 'bool KMReaderWin::printSelectedText(bool)':<br>
/data/build/usr/ports/deskutils/kdepim4/work/kdepim-4.9.0/kmail/kmreaderwin.cpp:673: error: reference to 'Message' is ambiguous<br>/data/build/usr/ports/deskutils/kdepim4/work/kdepim-4.9.0/messagecomposer/util.h:38: error: candidates are: namespace Message { }<br>
/usr/local/kde4/include/kmime/kmime_message.h:82: error: class KMime::Message<br>/data/build/usr/ports/deskutils/kdepim4/work/kdepim-4.9.0/kmail/kmreaderwin.cpp:673: error: reference to 'Message' is ambiguous<br>
/data/build/usr/ports/deskutils/kdepim4/work/kdepim-4.9.0/messagecomposer/util.h:38: error: candidates are: namespace Message { }<br>/usr/local/kde4/include/kmime/kmime_message.h:82: error: class KMime::Message<br>
/data/build/usr/ports/deskutils/kdepim4/work/kdepim-4.9.0/kmail/kmreaderwin.cpp: In member function 'void KMReaderWin::slotPrintComposeResult(KJob*)':<br>/data/build/usr/ports/deskutils/kdepim4/work/kdepim-4.9.0/kmail/kmreaderwin.cpp:693: error: reference to 'Message' is ambiguous<br>
/data/build/usr/ports/deskutils/kdepim4/work/kdepim-4.9.0/messagecomposer/util.h:38: error: candidates are: namespace Message { }<br>/usr/local/kde4/include/kmime/kmime_message.h:82: error: class KMime::Message<br>
/data/build/usr/ports/deskutils/kdepim4/work/kdepim-4.9.0/kmail/kmreaderwin.cpp:693: error: reference to 'Message' is ambiguous<br>/data/build/usr/ports/deskutils/kdepim4/work/kdepim-4.9.0/messagecomposer/util.h:38: error: candidates are: namespace Message { }<br>
/usr/local/kde4/include/kmime/kmime_message.h:82: error: class KMime::Message<br>/data/build/usr/ports/deskutils/kdepim4/work/kdepim-4.9.0/kmail/kmreaderwin.cpp:694: error: reference to 'Message' is ambiguous<br>
/data/build/usr/ports/deskutils/kdepim4/work/kdepim-4.9.0/messagecomposer/util.h:38: error: candidates are: namespace Message { }<br>/usr/local/kde4/include/kmime/kmime_message.h:82: error: class KMime::Message<br>
<br>I've commented out "using namespace KMime;" entry since everywhere in this file KMime namespace is used explicitly and now kdepim builds without errors.<br><br>The patch is attached.<br><br>Thanks<br>-- <br>
Oleg Sidorkin<div style="display:inline"></div><br>