[Bug 249797] New: constness issue in kcalcore

tropikhajma tropikhajma at gmail.com
Wed Sep 1 22:01:30 BST 2010


https://bugs.kde.org/show_bug.cgi?id=249797

           Summary: constness issue in kcalcore
           Product: kdepimlibs
           Version: SVN trunk
          Platform: Compiled Sources
        OS/Version: Solaris
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: kcal
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: tropikhajma at gmail.com


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

-- 
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