[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 69013] New: kopete compilation syntax errors with Sun C++
From:       grant mcdorman <grant.mcdorman () cedara ! com>
Date:       2003-11-25 17:15:34
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
     
http://bugs.kde.org/show_bug.cgi?id=69013     
           Summary: kopete compilation syntax errors with Sun C++
                    (SunPro/Forte)
           Product: kopete
           Version: 0.7.3
          Platform: Compiled Sources
        OS/Version: Solaris
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kopete-devel@kde.org
        ReportedBy: grant.mcdorman@cedara.com


Version:           0.7.3 (using KDE KDE 3.1.4)
Installed from:    Compiled From Sources
Compiler:          CC: Sun WorkShop 6 update 2 C++ 5.3 Patch 111685-13 2003/02/04 
OS:          Solaris

Kopete will not compile with Sun's C++ compiler (Forte). A full patch to correct \
syntax errors is attached; in summary:

  * Pure virtual methods were defined as virtual f() = 0L; - this is not correct.
  * A number of methods had different signatures between declaration and definition, \
where a parameter such as a int was const in one case and not the other (apparently \
                gcc doesn't check this)
  * A kdDebug output line reported a conversion error (I simply commented it out; \
                however an explict conversion should work as well)
  * Forte does not allow nested structures or classes access to the parent's class \
private items; it is necessary to declare these as 'friend' classes.

There was also a problem with the autoconf/automake, in that some of the build steps \
created static libraries (.a) and, in a later step, created a shared library using \
these static libraries; it appears that gcc will incorporate the entire .a library. \
Sun Forte, however, will not; it is necessary to use a workaround (not supplied in \
the patch).


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic