[Kde-pim] Akonadi-Calendar build is broken

Aleix Pol aleixpol at kde.org
Wed Mar 11 16:11:45 GMT 2015


Hi Sergio & pim'ers,
An abstract method was added a class that is instantiated on the tests
was moved into CalendarBase.

Sergio, can you please fix this? [1]

Thanks,
Aleix

PS: It would be good to make sure you compile and run the tests before pushing.

[1]
[9/10] Linking CXX executable autotests/incidencechangertest
compiling calendarbasetest.cpp (c++)
/home/kde-devel/frameworks/akonadi-calendar/autotests/calendarbasetest.cpp:
In member function ‘void CalendarBaseTest::initTestCase()’:
/home/kde-devel/frameworks/akonadi-calendar/autotests/calendarbasetest.cpp:130:34:
error: invalid new-expression of abstract class type
‘Akonadi::CalendarBase’
     mCalendar = new CalendarBase();
                                  ^
In file included from
/home/kde-devel/frameworks/akonadi-calendar/autotests/calendarbasetest.cpp:22:0:
/home/kde-devel/frameworks/akonadi-calendar/autotests/../src/calendarbase.h:49:31:
note:   because the following virtual functions are pure within
‘Akonadi::CalendarBase’:
 class AKONADI_CALENDAR_EXPORT CalendarBase : public KCalCore::MemoryCalendar
                               ^
In file included from
/home/kde-devel/frameworks/akonadi-calendar/autotests/calendarbasetest.cpp:22:0:
/home/kde-devel/frameworks/akonadi-calendar/autotests/../src/calendarbase.h:229:18:
note: virtual bool Akonadi::CalendarBase::isLoaded() const
     virtual bool isLoaded() const = 0;
                  ^
ninja: build stopped: subcommand failed.
*** Failure: Exit code 1 ***
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list