[pyicu-dev] pyicu with python 2.3 under windows
Wolfgang Langner
wl at flexis.de
Fri Mar 2 02:07:00 PST 2007
Andi Vajda wrote:
>
> 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.
Python 2.3 is build with msvc 6. It is not recommended to build extensions
for this version with a newer msvc compiler.
You can get into trouble with incompatible object signatures. See file object.
I hope I can switch to a newer python version in near future.
Thanks for your help.
--
Wolfgang Langner
Dipl.-Ing.(FH) phone: +49 711 782380 43
flexis AG fax: +49 711 782380 78
More information about the pyicu-dev
mailing list