Il Ven 18 Mar 2011 21:52:44, MSCHWERN ha scritto:
Show quoted text> Thanks! Trying it now. A couple notes:
>
> There's only a .zip file or .tar.bz2 available, so I had to change
> --wxWidgets-source.
>
> It didn't work, but failed differently. A complete report was sent to
> CPAN Testers (it was "unknown" rather than a fail) but here's the fail
> point:
>
> g++ -mmacosx-version-min=10.5 -UWX_PRECOMP -c -I. -I.
> -I/Users/schwern/perl5/perlbrew/perls/perl-v5.12.2/lib/site_perl/5.12.2/darwin-thread-
multi-2level/Alien/wxWidgets/osx_cocoa_2_9_1_uni/lib/wx/include/osx_cocoa-unicode-2.9
Show quoted text> -I/Users/schwern/perl5/perlbrew/perls/perl-v5.12.2/lib/site_perl/5.12.2/darwin-thread-
multi-2level/Alien/wxWidgets/osx_cocoa_2_9_1_uni/include/wx-2.9
Show quoted text> -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe
> -fstack-protector -I/usr/local/include -I/opt/local/include -O3
> -DVERSION=\"0.98\" -DXS_VERSION=\"0.98\"
> "-I/Users/schwern/perl5/perlbrew/perls/perl-v5.12.2/lib/5.12.2/darwin-
> thread-multi-2level/CORE"
> -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__
> -D__WXOSX_COCOA__ Controls.c
> Controls.c: In function ‘void
> XS_Wx__ComboBox_GetClientData(PerlInterpreter*, CV*)’:
> Controls.c:27806: error: request for member ‘GetClientObject’ is
> ambiguous
> /Users/schwern/perl5/perlbrew/perls/perl-
> v5.12.2/lib/site_perl/5.12.2/darwin-thread-multi-
> 2level/Alien/wxWidgets/osx_cocoa_2_9_1_uni/include/wx-
> 2.9/wx/ctrlsub.h:300:
> error: candidates are: wxClientData*
> wxItemContainer::GetClientObject(unsigned int) const
> /Users/schwern/perl5/perlbrew/perls/perl-
> v5.12.2/lib/site_perl/5.12.2/darwin-thread-multi-
> 2level/Alien/wxWidgets/osx_cocoa_2_9_1_uni/include/wx-
> 2.9/wx/event.h:3205:
> error: wxClientData* wxEvtHandler::GetClientObject()
> const
> Controls.c: In function ‘void
> XS_Wx__ComboBox_SetClientData(PerlInterpreter*, CV*)’:
> Controls.c:27838: error: request for member ‘SetClientObject’ is
> ambiguous
> /Users/schwern/perl5/perlbrew/perls/perl-
> v5.12.2/lib/site_perl/5.12.2/darwin-thread-multi-
> 2level/Alien/wxWidgets/osx_cocoa_2_9_1_uni/include/wx-
> 2.9/wx/ctrlsub.h:299:
> error: candidates are: void wxItemContainer::SetClientObject(unsigned
> int, wxClientData*)
> /Users/schwern/perl5/perlbrew/perls/perl-
> v5.12.2/lib/site_perl/5.12.2/darwin-thread-multi-
> 2level/Alien/wxWidgets/osx_cocoa_2_9_1_uni/include/wx-
> 2.9/wx/event.h:3204:
> error: void
> wxEvtHandler::SetClientObject(wxClientData*)
> make: *** [Controls.o] Error 1
Fix committed to Wx trunk (patch attached).
Regards,
Mattia