Re: 533: error: syntax error before "void"



I wrote:
: > GD.c
: >
: > GD.c:533: error: syntax error before "void"
: > GD.xs: In function `XS_GD__Image_trueColor':
: > GD.xs:545: error: `dMY_CXT' undeclared (first use in this function)

Rob Sysiphus wrote:
: Try GD-2.30. It doesn't use those (perl) macros - which are defined in
: perl.h on perl 5.8, but apparently missing in perl 5.6.
:
: I'm not sure when they first appeared - probably with 5.8.0. Imho if the
: author wants to write code that works only on perl 5.8, he should make that
: fact clear - eg by placing code in the Makefile.PL that dies with an
: appropriate error message if 5.6 or earlier is used.
:
: Or update to perl 5.8 :-)
:
: Cheers,
: Rob

Thanks. It worked.

--
-ken rich "art may imitate life but life
imitates t.v." --ani difranco kenneth.rich(at)rochester.edu

.



Relevant Pages

  • Re: 533: error: syntax error before "void"
    ... Sun V880 ... No Sun compiler, but I am considering installing one and ... going back and compiling perl and libs and EVERYthing using Sun C. ... fact clear - eg by placing code in the Makefile.PL that dies with an ...
    (comp.lang.perl.modules)
  • Re: 533: error: syntax error before "void"
    ... Sun V880 ... No Sun compiler, but I am considering installing one and ... going back and compiling perl and libs and EVERYthing using Sun C. ... fact clear - eg by placing code in the Makefile.PL that dies with an ...
    (comp.lang.perl.misc)