[pyicu-dev] pyicu with python 2.3 under windows
Andi Vajda
vajda at osafoundation.org
Wed Feb 21 10:45:19 PST 2007
On Wed, 21 Feb 2007, Wolfgang Langner wrote:
> I tried building version 0.6 (I need ICU 3.6) against python 2.3.
> It doesn't build. The makefile seems ok, but I get compile errors.
> I have installed cygwin and msvc6.
>
> I get the following error. (german system!)
>
> bases.cpp
> bases.cpp(2468) : error C2440: 'type cast' : 'enum ' kann nicht in 'void *'
> konvertiert werden
> Es gibt keinen Kontext, in dem diese Konvertierung moeglich ist
>
> Can't convert enum to void *. No context to do this conversion.
It looks like msvc 6 is not happy with casting the UObject_ID enum value to
UClassID. Try using a newer msvc compiler. There is a free one now (called
msvc express ?). Maybe there is a compiler flag you can use to let that cast
through ? This code compiles fine with msvc 7.1.
Andi..
More information about the pyicu-dev
mailing list