cuneiform team mailing list archive
-
cuneiform team
-
Mailing list archive
-
Message #00441
[Bug 476602] Re: Try compile refactoring branch
Не все :), rev 985
[ 63%] Built target loc32
[ 63%] Building CXX object src/exc/CMakeFiles/exc.dir/compdata.cpp.o
[ 64%] Building CXX object src/exc/CMakeFiles/exc.dir/compkit.cpp.o
[ 64%] Building CXX object src/exc/CMakeFiles/exc.dir/extrcomp.cpp.o
/home/mgraf/refactoring/src/exc/extrcomp.cpp: In function ‘uint16_t push_comp_to_container(ExtComponent*)’:
/home/mgraf/refactoring/src/exc/extrcomp.cpp:399: предупреждение: отсутствует инициализатор для элемента ‘tagRecVersions::lnAltMax’
/home/mgraf/refactoring/src/exc/extrcomp.cpp:399: предупреждение: отсутствует инициализатор для элемента ‘tagRecVersions::Alt’
/home/mgraf/refactoring/src/exc/extrcomp.cpp: In function ‘Bool image_file_open()’:
/home/mgraf/refactoring/src/exc/extrcomp.cpp:670: предупреждение: отсутствует инициализатор для элемента ‘tagImxs_ImageInfo::wImageWidth’
/home/mgraf/refactoring/src/exc/extrcomp.cpp:670: предупреждение: отсутствует инициализатор для элемента ‘tagImxs_ImageInfo::wImageByteWidth’
/home/mgraf/refactoring/src/exc/extrcomp.cpp:670: предупреждение: отсутствует инициализатор для элемента ‘tagImxs_ImageInfo::wImageDisplacement’
/home/mgraf/refactoring/src/exc/extrcomp.cpp:670: предупреждение: отсутствует инициализатор для элемента ‘tagImxs_ImageInfo::wResolutionX’
/home/mgraf/refactoring/src/exc/extrcomp.cpp:670: предупреждение: отсутствует инициализатор для элемента ‘tagImxs_ImageInfo::wResolutionY’
/home/mgraf/refactoring/src/exc/extrcomp.cpp:670: предупреждение: отсутствует инициализатор для элемента ‘tagImxs_ImageInfo::bFotoMetrics’
/home/mgraf/refactoring/src/exc/extrcomp.cpp:670: предупреждение: отсутствует инициализатор для элемента ‘tagImxs_ImageInfo::bUnused’
/home/mgraf/refactoring/src/exc/extrcomp.cpp:670: предупреждение: отсутствует инициализатор для элемента ‘tagImxs_ImageInfo::wAddX’
/home/mgraf/refactoring/src/exc/extrcomp.cpp:670: предупреждение: отсутствует инициализатор для элемента ‘tagImxs_ImageInfo::wAddY’
/home/mgraf/refactoring/src/exc/extrcomp.cpp: In function ‘Bool process_comp(void*, uint32_t)’:
/home/mgraf/refactoring/src/exc/extrcomp.cpp:817: предупреждение: the address of ‘cache’ will always evaluate as ‘true’
/home/mgraf/refactoring/src/exc/extrcomp.cpp: In function ‘Bool32 REXC_GetExportData(uint32_t, void*)’:
/home/mgraf/refactoring/src/exc/extrcomp.cpp:914: ошибка: cast from ‘Bool32 (*)(ExcControl, Bool16 (*)(Imxs_ImageInfo*), Bool16 (*)(), int16_t (*)(uchar*, uint16_t), Bool (*)(void*, uint32_t))’ to ‘uint32_t’ loses precision
/home/mgraf/refactoring/src/exc/extrcomp.cpp:917: ошибка: cast from ‘Bool32 (*)(ExcControl, uchar*, int32_t, Bool32, int32_t, int32_t, int32_t, int32_t, int32_t, int32_t, int32_t, int32_t, Bool32)’ to ‘uint32_t’ loses precision
/home/mgraf/refactoring/src/exc/extrcomp.cpp:920: ошибка: cast from ‘Bool32 (*)(ExcControl, uchar*, int32_t, int32_t, int32_t, int32_t)’ to ‘uint32_t’ loses precision
/home/mgraf/refactoring/src/exc/extrcomp.cpp:924: ошибка: cast from ‘void* (*)()’ to ‘uint32_t’ loses precision
/home/mgraf/refactoring/src/exc/extrcomp.cpp:928: ошибка: cast from ‘Bool32 (*)(RecRaster*, uchar*, int16_t*, int16_t*)’ to ‘uint32_t’ loses precision
/home/mgraf/refactoring/src/exc/extrcomp.cpp:935: ошибка: cast from ‘CCOM_comp* (*)(void*, void*)’ to ‘uint32_t’ loses precision
/home/mgraf/refactoring/src/exc/extrcomp.cpp:938: ошибка: cast from ‘Bool32 (*)(uchar*)’ to ‘uint32_t’ loses precision
/home/mgraf/refactoring/src/exc/extrcomp.cpp:942: ошибка: cast from ‘Bool32 (*)(ExcControl, Bool16 (*)(Imxs_ImageInfo*), Bool16 (*)(), int16_t (*)(uchar*, uint16_t))’ to ‘uint32_t’ loses precision
/home/mgraf/refactoring/src/exc/extrcomp.cpp: At global scope:
/home/mgraf/refactoring/src/exc/extrcomp.cpp:1002: предупреждение: параметр ‘hStorage’ не используется
/home/mgraf/refactoring/src/exc/extrcomp.cpp: In function ‘int16_t big_merge(MN*)’:
/home/mgraf/refactoring/src/exc/extrcomp.cpp:1055: предупреждение: сравнение знакового и беззнакового целых выражений
/home/mgraf/refactoring/src/exc/extrcomp.cpp: In function ‘Bool16 scaleMN2work_raster(MN*, int16_t, int16_t, int16_t, int)’:
/home/mgraf/refactoring/src/exc/extrcomp.cpp:1549: предупреждение: сравнение знакового и беззнакового целых выражений
/home/mgraf/refactoring/src/exc/extrcomp.cpp: In function ‘Bool16 check_long_intervals(MN*, int)’:
/home/mgraf/refactoring/src/exc/extrcomp.cpp:1649: предупреждение: сравнение знакового и беззнакового целых выражений
/home/mgraf/refactoring/src/exc/extrcomp.cpp: In function ‘int32_t sizeMN(MN*)’:
/home/mgraf/refactoring/src/exc/extrcomp.cpp:1691: предупреждение: сравнение знакового и беззнакового целых выражений
/home/mgraf/refactoring/src/exc/extrcomp.cpp: In function ‘Bool16 longMN2container(MN*, int16_t, int16_t, int16_t, int16_t, int)’:
/home/mgraf/refactoring/src/exc/extrcomp.cpp:1755: предупреждение: сравнение знакового и беззнакового целых выражений
/home/mgraf/refactoring/src/exc/extrcomp.cpp: In function ‘int32_t mn_sum(MN*)’:
/home/mgraf/refactoring/src/exc/extrcomp.cpp:1808: предупреждение: сравнение знакового и беззнакового целых выражений
make[2]: *** [src/exc/CMakeFiles/exc.dir/extrcomp.cpp.o] Ошибка 1
make[1]: *** [src/exc/CMakeFiles/exc.dir/all] Ошибка 2
make: *** [all] Ошибка 2
--
Try compile refactoring branch
https://bugs.launchpad.net/bugs/476602
You received this bug notification because you are a member of Cuneiform
Linux, which is the registrant for Cuneiform for Linux.
Status in Linux port of Cuneiform: Fix Committed
Bug description:
I try compile refactoring branch. I get error
[ 5%] Built target alphabets
[ 5%] Building CXX object src/ccom/CMakeFiles/ccom.dir/ccom.cpp.o
/home/mgraf/refactoring/src/ccom/ccom.cpp: In function ‘Bool32 CCOM_GetExportData(uint32_t, void*)’:
/home/mgraf/refactoring/src/ccom/ccom.cpp:1167: Error: cast from ‘CCOM_comp* (*)(void*, int32_t, int32_t, int32_t, int32_t)’ to ‘uint32_t’ loses precision
/home/mgraf/refactoring/src/ccom/ccom.cpp:1170: Error: cast from ‘Bool32 (*)(CCOM_comp*, int16_t, int32_t, uchar*, int16_t, uchar, uchar, RecVersions*, CCOM_USER_BLOCK*)’ to ‘uint32_t’ loses precision
/home/mgraf/refactoring/src/ccom/ccom.cpp:1173: Error: cast from ‘Bool32 (*)(CCOM_comp*, CCOM_comp*)’ to ‘uint32_t’ loses precision
/home/mgraf/refactoring/src/ccom/ccom.cpp:1176: Error: cast from ‘Bool32 (*)(void*, CCOM_comp*)’ to ‘uint32_t’ loses precision
/home/mgraf/refactoring/src/ccom/ccom.cpp:1179: Error: cast from ‘CCOM_comp* (*)(void*, Bool32 (*)(int32_t, int32_t, int32_t, int32_t))’ to ‘uint32_t’ loses precision
/home/mgraf/refactoring/src/ccom/ccom.cpp:1182: Error: cast from ‘CCOM_comp* (*)(CCOM_comp*, Bool32 (*)(int32_t, int32_t, int32_t, int32_t))’ to ‘uint32_t’ loses precision
/home/mgraf/refactoring/src/ccom/ccom.cpp:1185: Error: cast from ‘int16_t (*)(CCOM_comp*, CCOM_linerep*)’ to ‘uint32_t’ loses precision
/home/mgraf/refactoring/src/ccom/ccom.cpp:1188: Error: cast from ‘Bool32 (*)(CCOM_comp*, RecRaster*)’ to ‘uint32_t’ loses precision
/home/mgraf/refactoring/src/ccom/ccom.cpp:1191: Error: cast from ‘Bool32 (*)(CCOM_comp*, RecVersions*)’ to ‘uint32_t’ loses precision
/home/mgraf/refactoring/src/ccom/ccom.cpp:1194: Error: cast from ‘Bool32 (*)(CCOM_comp*, CCOM_USER_BLOCK*)’ to ‘uint32_t’ loses precision
/home/mgraf/refactoring/src/ccom/ccom.cpp:1197: Error: cast from ‘void* (*)()’ to ‘uint32_t’ loses precision
/home/mgraf/refactoring/src/ccom/ccom.cpp:1200: Error: cast from ‘Bool32 (*)(void*)’ to ‘uint32_t’ loses precision
/home/mgraf/refactoring/src/ccom/ccom.cpp:1203: Error: cast from ‘Bool32 (*)(CCOM_comp*, RecRaster*)’ to ‘uint32_t’ loses precision
/home/mgraf/refactoring/src/ccom/ccom.cpp:1206: Error: cast from ‘Bool32 (*)(RecRaster*, uchar*, int16_t*, int16_t*)’ to ‘uint32_t’ loses precision
/home/mgraf/refactoring/src/ccom/ccom.cpp:1209: Error: cast from ‘Bool32 (*)(CCOM_comp*, CCOM_USER_BLOCK*)’ to ‘uint32_t’ loses precision
/home/mgraf/refactoring/src/ccom/ccom.cpp:1212: Error: cast from ‘int32_t (*)()’ to ‘uint32_t’ loses precision
/home/mgraf/refactoring/src/ccom/ccom.cpp:1218: Error: cast from ‘Bool32 (*)(void*)’ to ‘uint32_t’ loses precision
/home/mgraf/refactoring/src/ccom/ccom.cpp:1221: Error: cast from ‘void* (*)()’ to ‘uint32_t’ loses precision
/home/mgraf/refactoring/src/ccom/ccom.cpp:1224: Error: cast from ‘void (*)()’ to ‘uint32_t’ loses precision
/home/mgraf/refactoring/src/ccom/ccom.cpp:1227: Error: cast from ‘CCOM_comp* (*)(void*, int32_t, int32_t, int32_t, int32_t, int32_t)’ to ‘uint32_t’ loses precision
/home/mgraf/refactoring/src/ccom/ccom.cpp:1230: Error: cast from ‘Bool32 (*)(CCOM_comp*, CCOM_lnhead**)’ to ‘uint32_t’ loses precision
/home/mgraf/refactoring/src/ccom/ccom.cpp:1233: Error: cast from ‘Bool32 (*)(CCOM_comp*, int16_t, int16_t)’ to ‘uint32_t’ loses precision
/home/mgraf/refactoring/src/ccom/ccom.cpp:1236: Error: cast from ‘void (*)(CCOM_comp*)’ to ‘uint32_t’ loses precision
/home/mgraf/refactoring/src/ccom/ccom.cpp:1239: Error: cast from ‘Bool32 (*)(Bool32)’ to ‘uint32_t’ loses precision
/home/mgraf/refactoring/src/ccom/ccom.cpp:1242: Error: cast from ‘Bool32 (*)(CCOM_comp*)’ to ‘uint32_t’ loses precision
/home/mgraf/refactoring/src/ccom/ccom.cpp:1245: Error: cast from ‘Bool32 (*)(CCOM_comp*, RecRaster*)’ to ‘uint32_t’ loses precision
/home/mgraf/refactoring/src/ccom/ccom.cpp:1248: Error: cast from ‘Bool32 (*)(void*)’ to ‘uint32_t’ loses precision
/home/mgraf/refactoring/src/ccom/ccom.cpp:1251: Error: cast from ‘Bool32 (*)(CCOM_comp*, RecRaster*, int32_t)’ to ‘uint32_t’ loses precision
/home/mgraf/refactoring/src/ccom/ccom.cpp:1254: Error: cast from ‘Bool32 (*)(void*)’ to ‘uint32_t’ loses precision
/home/mgraf/refactoring/src/ccom/ccom.cpp:1257: Error: cast from ‘Bool32 (*)(void*, int16_t)’ to ‘uint32_t’ loses precision
/home/mgraf/refactoring/src/ccom/ccom.cpp:1260: Error: cast from ‘Bool32 (*)(void*, int16_t*)’ to ‘uint32_t’ loses precision
/home/mgraf/refactoring/src/ccom/ccom.cpp:1263: Error: cast from ‘Bool32 (*)(void*)’ to ‘uint32_t’ loses precision
/home/mgraf/refactoring/src/ccom/ccom.cpp:1269: Error: cast from ‘Bool32 (*)(CCOM_comp*)’ to ‘uint32_t’ loses precision
/home/mgraf/refactoring/src/ccom/ccom.cpp:1272: Error: cast from ‘Bool32 (*)(CCOM_comp*, int16_t, int16_t, RecRaster*)’ to ‘uint32_t’ loses precision
make[2]: *** [src/ccom/CMakeFiles/ccom.dir/ccom.cpp.o] Error 1
make[1]: *** [src/ccom/CMakeFiles/ccom.dir/all] Error 2
make: *** [all] Error 2
I use gcc 4.4.2
References