Hi,

Indeed there are some missing specs in the typemap template.

Strange that yours is the only report where this bug manifests itself ( that is, 'make' decides the typemap needs to be rebuilt. )

Anyhow, attached patch for 0.9921 fixes it.

There are a few other things I wish to complete before releasing 0.9922 but that should be in the next couple of days.

Regards

Mark


On 28/04/2013 16:12, Bjørn Forsman wrote:
Hi,

I have build errors with Wx >= 0.9918. They all fail because of a
missing typemap:

0.9918 => Could not find a typemap for C type 'wxPlFontEnumerator *'
0.9919 => Could not find a typemap for C type 'wxRegionIterator *'
0.9920 => Could not find a typemap for C type 'wxRegionIterator *'
0.9921 => Could not find a typemap for C type 'wxRegionIterator *'

0.9917 builds fine.

Here is a bit more build context, with Wx 0.9921 (don't mind the weird
path names, I'm on NixOS):

building Wx.c
/nix/store/clfzsf6gi7qh5i9c0vks1ifjam47rijn-perl-5.16.2/bin/perl
/nix/store/clfzsf6gi7qh5i9c0vks1ifjam47rijn-perl-5.16.2/lib/perl5/5.16.2/ExtUtils/xsubpp
  -nolinenumbers -noprototypes  -typemap
/nix/store/clfzsf6gi7qh5i9c0vks1ifjam47rijn-perl-5.16.2/lib/perl5/5.16.2/ExtUtils/typemap
-typemap typemap  Wx.xs > Wx.xsc && mv Wx.xsc Wx.c
Could not find a typemap for C type 'wxRegionIterator *'.

Please put me in Cc, I'm not subscribed to the list.

Best regards,
Bjørn Forsman

Index: /builder/Wx/trunk/typemap.tmpl
===================================================================
--- typemap.tmpl        (revision 3477)
+++ typemap.tmpl        (revision 3478)
@@ -5,7 +5,7 @@
 ## Modified by:
 ## Created:     29/10/2000
 ## RCS-ID:      $Id$
-## Copyright:   (c) 2000-2010 Mattia Barbon
+## Copyright:   (c) 2000-2013 Mattia Barbon
 ## Licence:     This program is free software; you can redistribute it and/or
 ##              modify it under the same terms as Perl itself
 #############################################################################
@@ -158,6 +158,7 @@
 wxDialog *              O_WXOBJECT
 wxControl *             O_WXOBJECT
 wxButton *              O_WXEVTHANDLER
+wxCommandLinkButton *   O_WXEVTHANDLER
 wxStaticText *          O_WXEVTHANDLER
 wxStaticLine *          O_WXEVTHANDLER
 wxTextCtrl *            O_WXOBJECT
@@ -365,9 +366,11 @@
 wxAnimation *           O_WXOBJECT_THR
 wxFontMapper *          O_NON_WXOBJECT
 wxFontEnumerator *      O_NON_WXOBJECT_THR
+wxPlFontEnumerator *    O_NON_WXOBJECT_VXSP_THR
 wxNativeFontInfo *      O_NON_WXOBJECT_THR
 wxFont *                O_WXOBJECT_THR
 wxRegion *              O_WXOBJECT_THR
+wxRegionIterator *      O_WXOBJECT_THR
 wxIcon *                O_WXOBJECT_THR
 wxIconBundle *          O_NON_WXOBJECT
 wxIconLocation *        O_NON_WXOBJECT

Reply via email to