I wrote:

> Test results for Solaris and Irix may (or may not, if they hang too) be
> forthcoming!  If they don't show up on the CPAN-testers website in the
> next few days, assume it didn't work.

The module passed on Solaris, failed on FreeBSD, and failed to even
build on Irix:

cc-1077 cc: ERROR File = mma_alloc.c, Line = 216
  The indicated declaration has no storage class or type specifier.
  inline int mma_alloc_mask(void) {return sizeof(union mem_chunk_mc_u)-1;}
  ^

inline is a C99-ism.  SGI's compiler is C89 by default - you need to cc
-c99 to make it understand stuff like that (and I have no idea how to do
that when building XS, or even whether it's a good idea - the binaries
resulting might not be compatible with a perl built with plain old cc
for all I know).

As a workaround, you could do something like ...

#if defined(_SGIAPI) || defined( __sgi )
  #define inline 1;
#endif

or whatever the syntax is for making inline into a null-op.  Or you
could turn mma_alloc_mask into a macro so it gets inlined without the
inline keyword.

Note that if you release another version, I don't normally report build
failures.  It can't be done reliably enough to automate.  If you want me
to check that any new version builds, let me know and I'll check manually.

-- 
David Cantrell | top google result for "topless karaoke murders"

    Immigration: making Britain great since AD43

Reply via email to