From koffice Wed Jan 30 05:58:00 2008 From: Moinak Ghosh Date: Wed, 30 Jan 2008 05:58:00 +0000 To: koffice Subject: [Bug 156950] New: Koffice compilation fails in kross module on Message-Id: <20080130065759.156950.moinakg () gmail ! com> X-MARC-Message: https://marc.info/?l=koffice&m=120167772716424 ------- 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 koffice@kde.org To unsubscribe please visit: https://mail.kde.org/mailman/listinfo/koffice