[Bug 288736] New: kdepim-4.7.4 fails to compile, error in messagecomposer
Alexey Chernov
4ernov at gmail.com
Sun Dec 11 16:25:39 GMT 2011
https://bugs.kde.org/show_bug.cgi?id=288736
Summary: kdepim-4.7.4 fails to compile, error in
messagecomposer
Product: kdepim
Version: unspecified
Platform: Unlisted Binaries
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: messagecomposer
AssignedTo: kdepim-bugs at kde.org
ReportedBy: 4ernov at gmail.com
Version: unspecified (using KDE 4.7.3)
OS: Linux
There's compilation error during kdepim-4.7.4 compilation:
[ 35%] Building CXX object
messagecomposer/CMakeFiles/messagecomposer.dir/akonadisender.o
/usr/src/packages/kde4/4.7.4/kdepim-4.7.4/messagecomposer/akonadisender.cpp: In
member function 'void AkonadiSender::sendOrQueueMessage(const
boost::shared_ptr<KMime::Message>&, MessageSender::SendMethod)':
/usr/src/packages/kde4/4.7.4/kdepim-4.7.4/messagecomposer/akonadisender.cpp:138:
error: reference to 'Message' is ambiguous
/usr/src/packages/kde4/4.7.4/kdepim-4.7.4/messagecomposer/util.h:35: error:
candidates are: namespace Message { }
/usr/include/kmime/kmime_message.h:82: error: class
KMime::Message
make[2]: *** [messagecomposer/CMakeFiles/messagecomposer.dir/akonadisender.o]
Error 1
make[1]: *** [messagecomposer/CMakeFiles/messagecomposer.dir/all] Error 2
I believe an error says itself, small ambiguous call:
if ( !Message::Util::sendMailDispatcherIsOnline() )
Making an explicit reference to global namespace is enough to fix it:
if ( !::Message::Util::sendMailDispatcherIsOnline() )
But I think it's better to sort out this name collision.
Reproducible: Didn't try
Steps to Reproduce:
1. Start the compilation of kdepim-4.7.4.
2. Notice some strange behavior during compilation.
Actual Results:
The package fails to compile.
Expected Results:
The package compiles successfully.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list