After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 666227 - [Gtk2-1.241] perl-5.8.0 doesn't know what Newx is.
[Gtk2-1.241] perl-5.8.0 doesn't know what Newx is.
Status: RESOLVED FIXED
Product: gnome-perl
Classification: Bindings
Component: Gtk2
unspecified
Other Windows
: Normal normal
: ---
Assigned To: gtk2-perl-bugs
gtk2-perl-bugs
Depends on:
Blocks:
 
 
Reported: 2011-12-15 08:11 UTC by sisyphus1
Modified: 2012-01-07 16:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description sisyphus1 2011-12-15 08:11:05 UTC
The xs/GdkPixbuf.xs file contains a call to the Newx (perl API) function.
But perl-5.8.0 predates the defining of Newx.
If we wish to continue supporting 5.8.0 then, near the beginning of that file, we need to insert something like:

/* copied from ppport.h */
#ifndef Newx
#  define Newx(v,n,t) New(0,v,n,t)
#endif

Cheers,
Rob
Comment 1 Torsten Schoenfeld 2012-01-07 16:52:27 UTC
Now fixed on master, together with another compatibility problem.  Thanks for
the report.