[Bug 156950] New: Koffice compilation fails in kross module on OpenSolaris
Moinak Ghosh <[email protected]>
| Newsgroups | gmane.comp.kde.koffice |
|---|---|
| Message-ID | <[email protected]> |
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=156950
Summary: Koffice compilation fails in kross module on OpenSolaris
Product: koffice
Version: unspecified
Platform: Compiled Sources
OS/Version: Solaris
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: koffice kde org
ReportedBy: moinakg gmail com
Version: 1.6.3 (using KDE 3.5.8)
Installed from: Compiled From Sources
Compiler: Gcc 3.4.3
OS: Solaris
The Python scripting code in kross fails to build due to conflicting definitions of the swab function imported via pythonconfig.h -> Python.h. This happens due to a certain combination of macro definitions in effect that affects the OpenSolaris headers stdlib.h and unistd.h.
The solution is to undefine _XPG4 before including Python.h. A suggested patch is attached.
____________________________________
koffice mailing list
[email protected]
To unsubscribe please visit:
https://mail.kde.org/mailman/listinfo/koffice