Version: SVN trunk (using Devel) OS: Solaris while kcalcore/exceptions.cpp uses Exception::Exception( ErrorCode code, const QStringList &arguments ) the kcalcore/exceptions.h uses explicit Exception( const ErrorCode code, const QStringList &arguments = QStringList() ); Note the const at ErrorCode. This causes problems with the Sun Studio compiler, which, to keep compatibility with some ages old bug, distinguishes between const and nonconst variables. Reproducible: Always
SVN commit 1170702 by winterz: add missing 'const' to the ctor implementation. found by the Sun Studio compiler. BUG: 249797 M +1 -1 exceptions.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1170702