|
From: Tom T. <te...@us...> - 2010-03-25 22:42:00
|
Running command line compile of ICU4C 4.4 download on Windows X64. 32 bit
compile works fine, but with 64 bit environment, one of the files contains
a compile error. Please advise.
Thanks
cl -DU_RELEASE=1 -D_CRT_SECURE_NO_DEPRECATE -I. -I../i18n
"-DDEFAULT_ICU_PLUGINS=\"/usr/local/lib/icu\" " -DWIN32 -DCYGWINMSVC -
DU_COMMON_IMPLEMENTATION
-DHAVE_CONFIG_H /Gy /MD /W4 /GF /nologo /EHsc /Zc:wchar_t /c /Folocid.o
locid.cpp
locid.cpp
locid.cpp(391) : error C2666:
'icu_44::MaybeStackArray<T,stackCapacity>::operator []' : 2 overloads
have similar conversions
with
[
T=char,
stackCapacity=157
]
c:\cygwin\opt\wfo_pioneer\icu4c4x4_upgrade\icu4x4_cmvc_extract
\icu\source\common\cmemory.h(204): could be 'char &icu_44::May
beStackArray<T,stackCapacity>::operator [](ptrdiff_t)'
with
[
T=char,
stackCapacity=157::
]
or 'built-in C++ operator[(char *, int)'
while trying to match the argument list
'(icu_44::MaybeStackArray<T,stackCapacity>, int)'
with
[
T=char,
stackCapacity=157
]
locid.cpp(627) : warning C4127: conditional expression is constant
make[1]: *** [locid.o] Error 2:
make[1]: Leaving directory
`/opt/wfo_pioneer/icu4c4x4_upgrade/icu4x4_cmvc_extract/icu/source/common'
make: *** [all-recursive] Error 2
|