Unicon doesn't build out-of-the-box on gcc 4.0.1.
The compiler complains about the definition of
gzlongread in init.r.  The patch below fixes
that (at least on my system).

Wendell

--- unicon/src/runtime/init.r   2005-09-29 22:00:24.000000000 -0400
+++ xx-unicon/src/runtime/init.r        2005-09-28 22:01:16.000000000 -0400
@@ -577,6 +577,8 @@
   struct header hdr;
#endif                                 /* !COMPILER */

+word gzlongread();
+
#if COMPILER
void init(name, argcp, argv, trc_init)
char *name;
@@ -594,7 +596,7 @@
#if !COMPILER
   int fdname = -1;
   FILE *fname = 0;
-   word cbread, longread(), gzlongread();
+   word cbread, longread();
#endif                                 /* COMPILER */

#if OS2



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Unicon-group mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unicon-group

Reply via email to