This is a patch for glib 1.2.0 so that it compiles a bit more cleanly
(less warnings with the HP ANSI C compiler) on HP-UX 10.20.
You can find this modified source code and pre-built HP-UX 10.20 binaries
here:
http://hpux.csc.liv.ac.uk/hppd/hpux/X11/Toolkits/glib-1.2.0/
Richard K. Lloyd, E-mail:
[email protected]
Connect, WWW:
http://www.connect.org.uk/
3, Brownlow Street,
Liverpool University,
Merseyside, UK. L69 3GL
Files changed:
* glib.h:
- Use of "struct tm;" annoyingly generates a warning, so #include <time.h>
instead if HP-UX.
* gmain.c:
- Cast RHS of an assignment to a GSourceFunc variable.
- Fourth param of g_source_add() is a gpointer, so add a cast to that
param.
* gthread/testgthread.c:
- Use of #warning as a directive is illegal in ANSI C, so #if 0'ed it out
and changed the "#warning" to just "warning".