> Trying to install the Wx module through CPANPLUS on FreeBSD 7, I get > the following error > > c++ -c -I. -I. -I/usr/local/include/wx-2.6/gtk2-unicode-release-2.6 > -I/usr/local/include/wx-2.6 -O2 -fno-strict-aliasing -pipe > -DVERSION=\"0.80\" -DXS_VERSION=\"0.80\" -DPIC -fPIC > "-I/usr/local/lib/perl5/5.8.8/mach/CORE" -DGTK_NO_CHECK_CASTS > -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA Wx.c > In file included from Wx.c:66: > cpp/helpers.cpp: In function 'wxVariant wxPli_sv_2_wxvariant(SV*)': > cpp/helpers.cpp:1292: error: call of overloaded 'wxVariant(IV)' is ambiguous
Here, please try changing the code from: ... wxVariant( ... ); to ... wxVariant( (long) ... ); > /usr/local/include/wx-2.6/wx/variant.h:91: note: > wxVariant::wxVariant(long int, const wxString&) HTH Mattia
