[plt-scheme] 4.2.5.7 compilation error under SGI IRIX 6.

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Mon May 10 08:34:07 EDT 2010

At Sat, 08 May 2010 02:21:36 +0300, Valery Niamkovich wrote:
> cc-1065 c99: ERROR File = gcc/libffi/include/ffitarget.h, Line = 140
>   A semicolon is expected at this point.
> 
>   typedef unsigned int     ffi_arg __attribute__((__mode__(__DI__)));
>                                    ^
> [...]
> cc-1070 c99: ERROR File = ../../foreign/foreign.c, Line = 1799
>   The indicated type is incomplete.
> 
>       if (intsize==0 && stars>0) RETSIZE(void);
>                                  ^

I'm not sure about these two. I see that there are have been patches
for libffi to support IRIX, so we will have to look into that more.

> cc-1117 c99: ERROR File = ../../../mzscheme/src/salloc.c, Line = 382
>   An expression appears after a "return" in a "void" function.
> 
>     return scheme_init_os_thread_like(NULL);
>            ^

This bug has been fixed for the next version. You can just delete the
`return'.



Posted on the users mailing list.