← Back to team overview

cuneiform team mailing list archive

[Bug 476602] Re: Try compile refactoring branch

 

I'll look into merging changes from the refactoring branch into the main
branch. However I'll be offline for the next week or so, so there
probably won't be much happening until then.

-- 
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