From: Mattia B. <mat...@li...> - 2006-08-20 09:51:34
|
On Sun, 20 Aug 2006 11:35:23 +0200 Jouke Visser <jo...@pv...> wrote: Hi, > I tried to build wxPerl from cvs (after first successfully installing > Alien::wxWidgets from cvs), because I wanted to test my wrapping of > Wx::StaticText::Wrap, but it fails, ending the output with the following: > ..\..\cpp/helpers.h(276) : warning C4510: 'wxPliPrototype' : default > constructor > could not be generated > ..\..\cpp/helpers.h(272) : see declaration of 'wxPliPrototype' > ..\..\cpp/helpers.h(276) : warning C4610: struct 'wxPliPrototype' can > never be i > nstantiated - user defined constructor required Stupid VC++, you have no business issuing this warning. > XRC.c(372) : error C2664: 'bool (struct interpreter *,const struct > wxPliPrototyp > e &,int,bool)' : cannot convert parameter 2 from 'const unsigned char > []' to 'co > nst struct wxPliPrototype &' > Reason: cannot convert from 'const unsigned char []' to 'const > struct wx > PliPrototype' > No constructor could take the source type, or constructor > overload resol > ution was ambiguous > XRC.c(373) : error C2664: 'bool (struct interpreter *,const struct > wxPliPrototyp > e &,int,bool)' : cannot convert parameter 2 from 'const unsigned char > []' to 'co > nst struct wxPliPrototype &' > Reason: cannot convert from 'const unsigned char []' to 'const > struct wx > PliPrototype' > No constructor could take the source type, or constructor > overload resol > ution was ambiguous > Is there something that I'm doing wrong, or is the cvs HEAD not > buildable? ;-) No, and no :-) just the build system is not as smart as it could be. Just "rm overload" and remake. Or (better) nmake distclean and remake. HTH Mattia |