Failures on non-C99 compilers.
jrh at zeppelin.net
Wed Jun 9 09:36:39 CEST 2004
(I apologize if anyone gets this twice, I sent it to the xfce-dev
list not realizing that it seems dead.)
On my system, (FreeBSD 4.8 with gcc2.95.4) I'm unable to compile
several of the xfce4 components out of cvs. I tracked down almost all
of the issues to the use of declarations and statements being
intermixed, which I assume is allowed by gcc 3.x, but not by older
compilers. The fixes are pretty simple, so I'll put a link to the fixes.
In addition, there's an issue with compiling
xfce4-session/xfce4-session/xfsm-shutdown-helper.c due to resource.h
requiring time.h I put this little patch together in order to get it
to compile, but I'm not sure what sort of issues this would cause on
diff -u -r1.2 xfsm-shutdown-helper.c
--- xfce4-session/xfce4-session/xfsm-shutdown-helper.c 21 May 2004
20:06:33 -0000 1.2
+++ xfce4-session/xfce4-session/xfsm-shutdown-helper.c 8 Jun 2004
@@ -27,6 +27,9 @@
Anyway, thank you for your time.
Josh Howard <jrh at zeppelin.net>
More information about the Xfce4-dev