[Psi-Devel] Fix svn compilation error on Solaris
Thomas Frauendorfer
thomas.frauendorfer at googlemail.com
Wed May 7 08:22:57 PDT 2008
Hi,
When compiling psi-svn on a Solaris 10 box I ran into an compilation
error in advwidget.cpp
(Please don't ask me about the exact version of Solaris, I can't tell.
It's a bit confusing with all those versioned patches in Solaris)
The build fails because of a solaris bug: on the box, Xutils.h doesn't
include Xlib.h but uses some of the types declared there. Thus as a
workaround, psi compiles fine if Xlib.h is included before Xutils.h in
advwidget.cpp. The attached patch does that.
The bug in Solaris might be fixed in a more recent version, so I don't
know whether the patch should be included or not.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: psi-solaris-workaround.diff
Type: application/octet-stream
Size: 504 bytes
Desc: not available
URL: <http://lists.affinix.com/pipermail/psi-devel-affinix.com/attachments/20080507/6fdaf737/attachment.obj>
More information about the Psi-Devel
mailing list