On Sun, 05 Nov 2006 13:13:50 +0000
Mark Dootson <mar...@zn...> wrote:
Hi,
> If I try to compile wxPerl CVS against wxWidgets 2.7.1 and also against
> the latest wxWidgets CVS (so 2.7.2):
>
> On Win32 with VC6 - I get following output
>
> .......
> Grid.c(6323) : warning C4189: 'CLASS' : local variable is initialized
> but not referenced
> Grid.c(6848) : error C2440: '=' : cannot convert from 'void (__cdecl
> *)(const struct wxPliEventDescription *)' to '<Unknown>'
> This conversion requires a reinterpret_cast, a C-style cast or
> function-style cast
> NMAKE : fatal error U1077: 'cl' : return code '0x2'
>
> Its the addition of the new event stuff in helpers.h / helpers.cpp that
> causes this. I've spent a fair amount of time trying to figure out how
> to fix but my very limited C++ / C means I'm defeated :-(
>
> It looks like some VC6 specific evil to me as I really can't see what is
> missing / wrong.
Should be fixed in CVS. FWIW I think this is a VC[567] bug.
Regards
Mattia
|