On Sun, 20 Aug 2006 11:35:23 +0200
Jouke Visser <jouke@xxxxxxxxxx> 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
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
|