=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for laszip-3.4.3 [ 8%] Building CXX object src/CMakeFiles/laszip.dir/arithmeticencoder.cpp.o [ 13%] Building CXX object src/CMakeFiles/laszip.dir/arithmeticdecoder.cpp.o [ 13%] Building C object dll/CMakeFiles/laszip_api.dir/laszip_api.c.o [ 17%] Linking C shared library ../lib/liblaszip_api.dylib [ 21%] Building CXX object src/CMakeFiles/laszip.dir/arithmeticmodel.cpp.o [ 26%] Building CXX object src/CMakeFiles/laszip.dir/integercompressor.cpp.o [ 30%] Building CXX object src/CMakeFiles/laszip.dir/lasindex.cpp.o [ 30%] Built target laszip_api [ 34%] Building CXX object src/CMakeFiles/laszip.dir/lasinterval.cpp.o [ 39%] Building CXX object src/CMakeFiles/laszip.dir/lasquadtree.cpp.o [ 43%] Building CXX object src/CMakeFiles/laszip.dir/lasreaditemcompressed_v1.cpp.o [ 47%] Building CXX object src/CMakeFiles/laszip.dir/lasreaditemcompressed_v2.cpp.o /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/lasreaditemcompressed_v1.cpp:291:30: warning: cast from 'const unsigned char *' to 'unsigned long long *' drops const qualifier [-Wcast-qual] last_gpstime.u64 = *((U64*)item); ^ [ 52%] Building CXX object src/CMakeFiles/laszip.dir/lasreaditemcompressed_v3.cpp.o /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/lasreaditemcompressed_v2.cpp:290:33: warning: cast from 'const unsigned char *' to 'unsigned long long *' drops const qualifier [-Wcast-qual] last_gpstime[0].u64 = *((U64*)item); ^ 1 warning generated. [ 56%] Building CXX object src/CMakeFiles/laszip.dir/lasreaditemcompressed_v4.cpp.o 1 warning generated. /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/lasreaditemcompressed_v3.cpp:324:49: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] contexts[context].last_Z[i] = ((LASpoint14*)item)->Z; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/lasreaditemcompressed_v3.cpp:343:57: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] contexts[context].last_intensity[i] = ((LASpoint14*)item)->intensity; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/lasreaditemcompressed_v3.cpp:368:57: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] contexts[context].last_gpstime[0].f64 = ((LASpoint14*)item)->gps_time; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/lasreaditemcompressed_v3.cpp:696:35: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] current_context = ((LASpoint14*)item)->scanner_channel; ^ [ 60%] Building CXX object src/CMakeFiles/laszip.dir/lasreadpoint.cpp.o /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/lasreaditemcompressed_v4.cpp:324:49: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] contexts[context].last_Z[i] = ((LASpoint14*)item)->Z; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/lasreaditemcompressed_v4.cpp:343:57: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] contexts[context].last_intensity[i] = ((LASpoint14*)item)->intensity; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/lasreaditemcompressed_v4.cpp:368:57: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] contexts[context].last_gpstime[0].f64 = ((LASpoint14*)item)->gps_time; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/lasreaditemcompressed_v4.cpp:696:35: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] current_context = ((LASpoint14*)item)->scanner_channel; ^ 4 warnings generated. [ 65%] Building CXX object src/CMakeFiles/laszip.dir/laswriteitemcompressed_v1.cpp.o [ 69%] Building CXX object src/CMakeFiles/laszip.dir/laswriteitemcompressed_v2.cpp.o 4 warnings generated. [ 73%] Building CXX object src/CMakeFiles/laszip.dir/laswriteitemcompressed_v3.cpp.o /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp:176:30: warning: cast from 'const unsigned char *' to 'LASpoint10 *' drops const qualifier [-Wcast-qual] I32 x_diff = ((LASpoint10*)item)->x - ((LASpoint10*)last_item)->x; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp:177:30: warning: cast from 'const unsigned char *' to 'LASpoint10 *' drops const qualifier [-Wcast-qual] I32 y_diff = ((LASpoint10*)item)->y - ((LASpoint10*)last_item)->y; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp:184:61: warning: cast from 'const unsigned char *' to 'LASpoint10 *' drops const qualifier [-Wcast-qual] ic_z->compress(((LASpoint10*)last_item)->z, ((LASpoint10*)item)->z, (k_bits < 19 ? k_bits : 19)); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp:187:79: warning: cast from 'const unsigned char *' to 'LASpoint10 *' drops const qualifier [-Wcast-qual] I32 changed_values = ((((LASpoint10*)last_item)->intensity != ((LASpoint10*)item)->intensity) << 5) | ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp:192:85: warning: cast from 'const unsigned char *' to 'LASpoint10 *' drops const qualifier [-Wcast-qual] ((((LASpoint10*)last_item)->point_source_ID != ((LASpoint10*)item)->point_source_ID)); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp:199:79: warning: cast from 'const unsigned char *' to 'LASpoint10 *' drops const qualifier [-Wcast-qual] ic_intensity->compress(((LASpoint10*)last_item)->intensity, ((LASpoint10*)item)->intensity); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp:244:91: warning: cast from 'const unsigned char *' to 'LASpoint10 *' drops const qualifier [-Wcast-qual] ic_point_source_ID->compress(((LASpoint10*)last_item)->point_source_ID, ((LASpoint10*)item)->point_source_ID); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp:296:30: warning: cast from 'const unsigned char *' to 'unsigned long long *' drops const qualifier [-Wcast-qual] last_gpstime.u64 = *((U64*)item); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp:303:30: warning: cast from 'const unsigned char *' to 'long long *' drops const qualifier [-Wcast-qual] this_gpstime.i64 = *((I64*)item); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp:456:55: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] U32 sym = ((((U16*)last_item)[0]&0x00FF) != (((U16*)item)[0]&0x00FF)) << 0; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp:457:52: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= ((((U16*)last_item)[0]&0xFF00) != (((U16*)item)[0]&0xFF00)) << 1; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp:458:52: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= ((((U16*)last_item)[1]&0x00FF) != (((U16*)item)[1]&0x00FF)) << 2; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp:459:52: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= ((((U16*)last_item)[1]&0xFF00) != (((U16*)item)[1]&0xFF00)) << 3; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp:460:52: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= ((((U16*)last_item)[2]&0x00FF) != (((U16*)item)[2]&0x00FF)) << 4; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp:461:52: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= ((((U16*)last_item)[2]&0xFF00) != (((U16*)item)[2]&0xFF00)) << 5; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp:463:72: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] if (sym & (1 << 0)) ic_rgb->compress(((U16*)last_item)[0]&255,((U16*)item)[0]&255, 0); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp:464:71: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] if (sym & (1 << 1)) ic_rgb->compress(((U16*)last_item)[0]>>8,((U16*)item)[0]>>8, 1); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp:465:72: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] if (sym & (1 << 2)) ic_rgb->compress(((U16*)last_item)[1]&255,((U16*)item)[1]&255, 2); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp:466:71: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] if (sym & (1 << 3)) ic_rgb->compress(((U16*)last_item)[1]>>8,((U16*)item)[1]>>8, 3); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp:467:72: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] if (sym & (1 << 4)) ic_rgb->compress(((U16*)last_item)[2]&255,((U16*)item)[2]&255, 4); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp:468:71: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] if (sym & (1 << 5)) ic_rgb->compress(((U16*)last_item)[2]>>8,((U16*)item)[2]>>8, 5); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:141:25: warning: cast from 'const unsigned char *' to 'LASpoint10 *' drops const qualifier [-Wcast-qual] U32 r = ((LASpoint10*)item)->return_number; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:142:25: warning: cast from 'const unsigned char *' to 'LASpoint10 *' drops const qualifier [-Wcast-qual] U32 n = ((LASpoint10*)item)->number_of_returns_of_given_pulse; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:150:62: warning: cast from 'const unsigned char *' to 'LASpoint10 *' drops const qualifier [-Wcast-qual] ((last_intensity[m] != ((LASpoint10*)item)->intensity) << 4) | ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:154:85: warning: cast from 'const unsigned char *' to 'LASpoint10 *' drops const qualifier [-Wcast-qual] (((LASpoint10*)last_item)->point_source_ID != ((LASpoint10*)item)->point_source_ID)); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:172:61: warning: cast from 'const unsigned char *' to 'LASpoint10 *' drops const qualifier [-Wcast-qual] ic_intensity->compress(last_intensity[m], ((LASpoint10*)item)->intensity, (m < 3 ? m : 3)); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:173:39: warning: cast from 'const unsigned char *' to 'LASpoint10 *' drops const qualifier [-Wcast-qual] last_intensity[m] = ((LASpoint10*)item)->intensity; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:190:55: warning: cast from 'const unsigned char *' to 'LASpoint10 *' drops const qualifier [-Wcast-qual] enc->encodeSymbol(m_scan_angle_rank[((LASpoint10*)item)->scan_direction_flag], U8_FOLD(item[16]-last_item[16])); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:207:91: warning: cast from 'const unsigned char *' to 'LASpoint10 *' drops const qualifier [-Wcast-qual] ic_point_source_ID->compress(((LASpoint10*)last_item)->point_source_ID, ((LASpoint10*)item)->point_source_ID); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:212:24: warning: cast from 'const unsigned char *' to 'LASpoint10 *' drops const qualifier [-Wcast-qual] diff = ((LASpoint10*)item)->x - ((LASpoint10*)last_item)->x; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:219:24: warning: cast from 'const unsigned char *' to 'LASpoint10 *' drops const qualifier [-Wcast-qual] diff = ((LASpoint10*)item)->y - ((LASpoint10*)last_item)->y; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:225:48: warning: cast from 'const unsigned char *' to 'LASpoint10 *' drops const qualifier [-Wcast-qual] ic_z->compress(last_height[l], ((LASpoint10*)item)->z, (n==1) + (k_bits < 18 ? U32_ZERO_BIT_0(k_bits) : 18)); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:226:34: warning: cast from 'const unsigned char *' to 'LASpoint10 *' drops const qualifier [-Wcast-qual] last_height[l] = ((LASpoint10*)item)->z; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:283:33: warning: cast from 'const unsigned char *' to 'unsigned long long *' drops const qualifier [-Wcast-qual] last_gpstime[0].u64 = *((U64*)item); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:293:30: warning: cast from 'const unsigned char *' to 'long long *' drops const qualifier [-Wcast-qual] this_gpstime.i64 = *((I64*)item); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:508:47: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] U32 sym = ((last_item[0]&0x00FF) != (((U16*)item)[0]&0x00FF)) << 0; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:509:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= ((last_item[0]&0xFF00) != (((U16*)item)[0]&0xFF00)) << 1; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:510:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= ((last_item[1]&0x00FF) != (((U16*)item)[1]&0x00FF)) << 2; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:511:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= ((last_item[1]&0xFF00) != (((U16*)item)[1]&0xFF00)) << 3; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:512:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= ((last_item[2]&0x00FF) != (((U16*)item)[2]&0x00FF)) << 4; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:513:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= ((last_item[2]&0xFF00) != (((U16*)item)[2]&0xFF00)) << 5; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:514:20: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:514:48: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:514:78: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:514:106: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:514:136: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:514:164: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:514:194: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:514:222: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:518:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] diff_l = ((int)(((U16*)item)[0]&255)) - (last_item[0]&255); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:523:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] diff_h = ((int)(((U16*)item)[0]>>8)) - (last_item[0]>>8); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:530:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] corr = ((int)(((U16*)item)[1]&255)) - U8_CLAMP(diff_l + (last_item[1]&255)); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:535:34: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] diff_l = (diff_l + (((U16*)item)[1]&255) - (last_item[1]&255)) / 2; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:536:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] corr = ((int)(((U16*)item)[2]&255)) - U8_CLAMP(diff_l + (last_item[2]&255)); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:541:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] corr = ((int)(((U16*)item)[1]>>8)) - U8_CLAMP(diff_h + (last_item[1]>>8)); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:546:34: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] diff_h = (diff_h + (((U16*)item)[1]>>8) - (last_item[1]>>8)) / 2; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:547:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] corr = ((int)(((U16*)item)[2]>>8)) - U8_CLAMP(diff_h + (last_item[2]>>8)); ^ 21 warnings generated. /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:310:49: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] contexts[context].last_Z[i] = ((LASpoint14*)item)->Z; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:329:57: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] contexts[context].last_intensity[i] = ((LASpoint14*)item)->intensity; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:354:57: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] contexts[context].last_gpstime[0].f64 = ((LASpoint14*)item)->gps_time; ^ 36 warnings generated. /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:459:35: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] current_context = ((LASpoint14*)item)->scanner_channel; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:490:39: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] U32 scanner_channel = ((LASpoint14*)item)->scanner_channel; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:504:45: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] BOOL point_source_change = (((LASpoint14*)item)->point_source_ID != ((LASpoint14*)last_item)->point_source_ID); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:505:41: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] BOOL gps_time_change = (((LASpoint14*)item)->gps_time != ((LASpoint14*)last_item)->gps_time); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:506:43: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] BOOL scan_angle_change = (((LASpoint14*)item)->scan_angle != ((LASpoint14*)last_item)->scan_angle); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:513:25: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] U32 n = ((LASpoint14*)item)->number_of_returns; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:514:25: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] U32 r = ((LASpoint14*)item)->return_number; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:626:24: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] diff = ((LASpoint14*)item)->X - ((LASpoint14*)last_item)->X; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:633:24: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] diff = ((LASpoint14*)item)->Y - ((LASpoint14*)last_item)->Y; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:642:95: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] contexts[current_context].ic_Z->compress(contexts[current_context].last_Z[l], ((LASpoint14*)item)->Z, (n==1) + (k_bits < 18 ? U32_ZERO_BIT_0(k_bits) : 18)); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:643:55: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] contexts[current_context].last_Z[l] = ((LASpoint14*)item)->Z; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:650:38: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] U32 classification = ((LASpoint14*)item)->classification; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:670:30: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:670:80: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:670:129: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:688:21: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] if (((LASpoint14*)item)->intensity != ((LASpoint14*)last_item)->intensity) ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:692:136: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] contexts[current_context].ic_intensity->compress(contexts[current_context].last_intensity[(cpr<<1) | gps_time_change], ((LASpoint14*)item)->intensity, cpr); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:693:88: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] contexts[current_context].last_intensity[(cpr<<1) | gps_time_change] = ((LASpoint14*)item)->intensity; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:702:107: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] contexts[current_context].ic_scan_angle->compress(((LASpoint14*)last_item)->scan_angle, ((LASpoint14*)item)->scan_angle, gps_time_change); // if the GPS time has changed ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:709:21: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] if (((LASpoint14*)item)->user_data != ((LASpoint14*)last_item)->user_data) ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:718:123: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] enc_user_data->encodeSymbol(contexts[current_context].m_user_data[((LASpoint14*)last_item)->user_data/4], ((LASpoint14*)item)->user_data); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:727:117: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] contexts[current_context].ic_point_source_ID->compress(((LASpoint14*)last_item)->point_source_ID, ((LASpoint14*)item)->point_source_ID); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:739:34: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] gps_time.f64 = ((LASpoint14*)item)->gps_time; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1291:47: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] U32 sym = ((last_item[0]&0x00FF) != (((U16*)item)[0]&0x00FF)) << 0; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1292:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= ((last_item[0]&0xFF00) != (((U16*)item)[0]&0xFF00)) << 1; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1293:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= ((last_item[1]&0x00FF) != (((U16*)item)[1]&0x00FF)) << 2; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1294:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= ((last_item[1]&0xFF00) != (((U16*)item)[1]&0xFF00)) << 3; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1295:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= ((last_item[2]&0x00FF) != (((U16*)item)[2]&0x00FF)) << 4; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1296:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= ((last_item[2]&0xFF00) != (((U16*)item)[2]&0xFF00)) << 5; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1297:20: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1297:48: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1297:78: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1297:106: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1297:136: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1297:164: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1297:194: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1297:222: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1301:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] diff_l = ((int)(((U16*)item)[0]&255)) - (last_item[0]&255); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1306:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] diff_h = ((int)(((U16*)item)[0]>>8)) - (last_item[0]>>8); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1313:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] corr = ((int)(((U16*)item)[1]&255)) - U8_CLAMP(diff_l + (last_item[1]&255)); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1318:34: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] diff_l = (diff_l + (((U16*)item)[1]&255) - (last_item[1]&255)) / 2; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1319:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] corr = ((int)(((U16*)item)[2]&255)) - U8_CLAMP(diff_l + (last_item[2]&255)); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1324:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] corr = ((int)(((U16*)item)[1]>>8)) - U8_CLAMP(diff_h + (last_item[1]>>8)); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1329:34: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] diff_h = (diff_h + (((U16*)item)[1]>>8) - (last_item[1]>>8)) / 2; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1330:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] corr = ((int)(((U16*)item)[2]>>8)) - U8_CLAMP(diff_h + (last_item[2]>>8)); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1588:47: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] U32 sym = ((last_item[0]&0x00FF) != (((U16*)item)[0]&0x00FF)) << 0; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1589:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= ((last_item[0]&0xFF00) != (((U16*)item)[0]&0xFF00)) << 1; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1590:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= ((last_item[1]&0x00FF) != (((U16*)item)[1]&0x00FF)) << 2; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1591:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= ((last_item[1]&0xFF00) != (((U16*)item)[1]&0xFF00)) << 3; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1592:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= ((last_item[2]&0x00FF) != (((U16*)item)[2]&0x00FF)) << 4; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1593:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= ((last_item[2]&0xFF00) != (((U16*)item)[2]&0xFF00)) << 5; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1594:20: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1594:48: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1594:78: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1594:106: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1594:136: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1594:164: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1594:194: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1594:222: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1598:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] diff_l = ((int)(((U16*)item)[0]&255)) - (last_item[0]&255); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1603:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] diff_h = ((int)(((U16*)item)[0]>>8)) - (last_item[0]>>8); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1610:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] corr = ((int)(((U16*)item)[1]&255)) - U8_CLAMP(diff_l + (last_item[1]&255)); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1615:34: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] diff_l = (diff_l + (((U16*)item)[1]&255) - (last_item[1]&255)) / 2; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1616:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] corr = ((int)(((U16*)item)[2]&255)) - U8_CLAMP(diff_l + (last_item[2]&255)); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1621:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] corr = ((int)(((U16*)item)[1]>>8)) - U8_CLAMP(diff_h + (last_item[1]>>8)); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1626:34: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] diff_h = (diff_h + (((U16*)item)[1]>>8) - (last_item[1]>>8)) / 2; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1627:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] corr = ((int)(((U16*)item)[2]>>8)) - U8_CLAMP(diff_h + (last_item[2]>>8)); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1636:43: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym = ((last_item[3]&0x00FF) != (((U16*)item)[3]&0x00FF)) << 0; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1637:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= ((last_item[3]&0xFF00) != (((U16*)item)[3]&0xFF00)) << 1; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1641:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] diff_l = ((int)(((U16*)item)[3]&255)) - (last_item[3]&255); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1646:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] diff_h = ((int)(((U16*)item)[3]>>8)) - (last_item[3]>>8); ^ [ 78%] Building CXX object src/CMakeFiles/laszip.dir/laswriteitemcompressed_v4.cpp.o [ 82%] Building CXX object src/CMakeFiles/laszip.dir/laswritepoint.cpp.o In file included from /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswritepoint.cpp:35: /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemraw.hpp:62:37: warning: cast from 'const unsigned char *' to 'unsigned int *' drops const qualifier [-Wcast-qual] *((U32*)&swapped[14]) = *((U32*)&item[14]); // bitfield, classification, scan_angle_rank, user_data ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemraw.hpp:221:64: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] ((LAStempWritePoint14*)buffer)->X = ((LAStempWritePoint10*)item)->X; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemraw.hpp:222:64: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] ((LAStempWritePoint14*)buffer)->Y = ((LAStempWritePoint10*)item)->Y; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemraw.hpp:223:64: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] ((LAStempWritePoint14*)buffer)->Z = ((LAStempWritePoint10*)item)->Z; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemraw.hpp:224:72: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] ((LAStempWritePoint14*)buffer)->intensity = ((LAStempWritePoint10*)item)->intensity; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemraw.hpp:225:82: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] ((LAStempWritePoint14*)buffer)->scan_direction_flag = ((LAStempWritePoint10*)item)->scan_direction_flag; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemraw.hpp:226:82: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] ((LAStempWritePoint14*)buffer)->edge_of_flight_line = ((LAStempWritePoint10*)item)->edge_of_flight_line; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemraw.hpp:227:78: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] ((LAStempWritePoint14*)buffer)->classification = (((LAStempWritePoint10*)item)->classification & 31); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemraw.hpp:228:72: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] ((LAStempWritePoint14*)buffer)->user_data = ((LAStempWritePoint10*)item)->user_data; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemraw.hpp:229:78: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] ((LAStempWritePoint14*)buffer)->point_source_ID = ((LAStempWritePoint10*)item)->point_source_ID; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemraw.hpp:231:32: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] if (((LAStempWritePoint10*)item)->extended_point_type) ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemraw.hpp:233:86: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] ((LAStempWritePoint14*)buffer)->classification_flags = (((LAStempWritePoint10*)item)->extended_classification_flags & 8) | (((LAStempWritePoint10*)item)->classification >> 5); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemraw.hpp:233:154: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] ((LAStempWritePoint14*)buffer)->classification_flags = (((LAStempWritePoint10*)item)->extended_classification_flags & 8) | (((LAStempWritePoint10*)item)->classification >> 5); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemraw.hpp:234:136: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] if (((LAStempWritePoint14*)buffer)->classification == 0) ((LAStempWritePoint14*)buffer)->classification = ((LAStempWritePoint10*)item)->extended_classification; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemraw.hpp:235:80: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] ((LAStempWritePoint14*)buffer)->scanner_channel = ((LAStempWritePoint10*)item)->extended_scanner_channel; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemraw.hpp:236:78: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] ((LAStempWritePoint14*)buffer)->return_number = ((LAStempWritePoint10*)item)->extended_return_number; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemraw.hpp:237:82: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] ((LAStempWritePoint14*)buffer)->number_of_returns = ((LAStempWritePoint10*)item)->extended_number_of_returns; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemraw.hpp:238:75: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] ((LAStempWritePoint14*)buffer)->scan_angle = ((LAStempWritePoint10*)item)->extended_scan_angle; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemraw.hpp:242:86: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] ((LAStempWritePoint14*)buffer)->classification_flags = (((LAStempWritePoint10*)item)->classification >> 5); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemraw.hpp:244:78: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] ((LAStempWritePoint14*)buffer)->return_number = ((LAStempWritePoint10*)item)->return_number; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemraw.hpp:245:82: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] ((LAStempWritePoint14*)buffer)->number_of_returns = ((LAStempWritePoint10*)item)->number_of_returns; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemraw.hpp:246:88: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] ((LAStempWritePoint14*)buffer)->scan_angle = I16_QUANTIZE(((LAStempWritePoint10*)item)->scan_angle_rank/0.006f); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemraw.hpp:246:88: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemraw.hpp:246:88: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemraw.hpp:249:51: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] *((F64*)&buffer[22]) = ((LAStempWritePoint10*)item)->gps_time; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemraw.hpp:266:83: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] ((LAStempWritePoint14*)swapped)->scan_direction_flag = ((LAStempWritePoint10*)item)->scan_direction_flag; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemraw.hpp:267:83: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] ((LAStempWritePoint14*)swapped)->edge_of_flight_line = ((LAStempWritePoint10*)item)->edge_of_flight_line; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemraw.hpp:268:79: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] ((LAStempWritePoint14*)swapped)->classification = (((LAStempWritePoint10*)item)->classification & 31); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemraw.hpp:269:73: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] ((LAStempWritePoint14*)swapped)->user_data = ((LAStempWritePoint10*)item)->user_data; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemraw.hpp:272:32: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] if (((LAStempWritePoint10*)item)->extended_point_type) ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemraw.hpp:274:87: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] ((LAStempWritePoint14*)swapped)->classification_flags = (((LAStempWritePoint10*)item)->extended_classification_flags & 8) | (((LAStempWritePoint10*)item)->classification >> 5); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemraw.hpp:274:155: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] ((LAStempWritePoint14*)swapped)->classification_flags = (((LAStempWritePoint10*)item)->extended_classification_flags & 8) | (((LAStempWritePoint10*)item)->classification >> 5); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemraw.hpp:275:138: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] if (((LAStempWritePoint14*)swapped)->classification == 0) ((LAStempWritePoint14*)swapped)->classification = ((LAStempWritePoint10*)item)->extended_classification; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemraw.hpp:276:81: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] ((LAStempWritePoint14*)swapped)->scanner_channel = ((LAStempWritePoint10*)item)->extended_scanner_channel; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemraw.hpp:277:79: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] ((LAStempWritePoint14*)swapped)->return_number = ((LAStempWritePoint10*)item)->extended_return_number; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemraw.hpp:278:83: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] ((LAStempWritePoint14*)swapped)->number_of_returns = ((LAStempWritePoint10*)item)->extended_number_of_returns; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemraw.hpp:283:87: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] ((LAStempWritePoint14*)swapped)->classification_flags = (((LAStempWritePoint10*)item)->classification >> 5); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemraw.hpp:285:79: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] ((LAStempWritePoint14*)swapped)->return_number = ((LAStempWritePoint10*)item)->return_number; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemraw.hpp:286:83: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] ((LAStempWritePoint14*)swapped)->number_of_returns = ((LAStempWritePoint10*)item)->number_of_returns; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemraw.hpp:287:60: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] I16 scan_angle = I16_QUANTIZE(((LAStempWritePoint10*)item)->scan_angle_rank/0.006f); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemraw.hpp:287:60: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemraw.hpp:287:60: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemraw.hpp:290:50: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] ENDIAN_SWAP_64((U8*)&(((LAStempWritePoint10*)item)->gps_time), &swapped[22]); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:308:49: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] contexts[context].last_Z[i] = ((LASpoint14*)item)->Z; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:327:57: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] contexts[context].last_intensity[i] = ((LASpoint14*)item)->intensity; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:352:57: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] contexts[context].last_gpstime[0].f64 = ((LASpoint14*)item)->gps_time; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:457:35: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] current_context = ((LASpoint14*)item)->scanner_channel; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:488:39: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] U32 scanner_channel = ((LASpoint14*)item)->scanner_channel; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:502:45: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] BOOL point_source_change = (((LASpoint14*)item)->point_source_ID != ((LASpoint14*)last_item)->point_source_ID); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:503:41: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] BOOL gps_time_change = (((LASpoint14*)item)->gps_time != ((LASpoint14*)last_item)->gps_time); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:504:43: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] BOOL scan_angle_change = (((LASpoint14*)item)->scan_angle != ((LASpoint14*)last_item)->scan_angle); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:511:25: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] U32 n = ((LASpoint14*)item)->number_of_returns; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:512:25: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] U32 r = ((LASpoint14*)item)->return_number; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:624:24: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] diff = ((LASpoint14*)item)->X - ((LASpoint14*)last_item)->X; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:631:24: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] diff = ((LASpoint14*)item)->Y - ((LASpoint14*)last_item)->Y; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:640:95: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] contexts[current_context].ic_Z->compress(contexts[current_context].last_Z[l], ((LASpoint14*)item)->Z, (n==1) + (k_bits < 18 ? U32_ZERO_BIT_0(k_bits) : 18)); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:641:55: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] contexts[current_context].last_Z[l] = ((LASpoint14*)item)->Z; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:648:38: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] U32 classification = ((LASpoint14*)item)->classification; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:668:30: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:668:80: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:668:129: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:686:21: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] if (((LASpoint14*)item)->intensity != ((LASpoint14*)last_item)->intensity) ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:690:136: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] contexts[current_context].ic_intensity->compress(contexts[current_context].last_intensity[(cpr<<1) | gps_time_change], ((LASpoint14*)item)->intensity, cpr); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:691:88: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] contexts[current_context].last_intensity[(cpr<<1) | gps_time_change] = ((LASpoint14*)item)->intensity; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:700:107: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] contexts[current_context].ic_scan_angle->compress(((LASpoint14*)last_item)->scan_angle, ((LASpoint14*)item)->scan_angle, gps_time_change); // if the GPS time has changed ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:707:21: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] if (((LASpoint14*)item)->user_data != ((LASpoint14*)last_item)->user_data) ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:716:123: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] enc_user_data->encodeSymbol(contexts[current_context].m_user_data[((LASpoint14*)last_item)->user_data/4], ((LASpoint14*)item)->user_data); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:725:117: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] contexts[current_context].ic_point_source_ID->compress(((LASpoint14*)last_item)->point_source_ID, ((LASpoint14*)item)->point_source_ID); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:737:34: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] gps_time.f64 = ((LASpoint14*)item)->gps_time; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1289:47: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] U32 sym = ((last_item[0]&0x00FF) != (((U16*)item)[0]&0x00FF)) << 0; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1290:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= ((last_item[0]&0xFF00) != (((U16*)item)[0]&0xFF00)) << 1; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1291:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= ((last_item[1]&0x00FF) != (((U16*)item)[1]&0x00FF)) << 2; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1292:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= ((last_item[1]&0xFF00) != (((U16*)item)[1]&0xFF00)) << 3; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1293:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= ((last_item[2]&0x00FF) != (((U16*)item)[2]&0x00FF)) << 4; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1294:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= ((last_item[2]&0xFF00) != (((U16*)item)[2]&0xFF00)) << 5; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1295:20: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1295:48: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1295:78: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1295:106: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1295:136: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1295:164: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1295:194: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1295:222: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1299:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] diff_l = ((int)(((U16*)item)[0]&255)) - (last_item[0]&255); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1304:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] diff_h = ((int)(((U16*)item)[0]>>8)) - (last_item[0]>>8); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1311:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] corr = ((int)(((U16*)item)[1]&255)) - U8_CLAMP(diff_l + (last_item[1]&255)); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1316:34: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] diff_l = (diff_l + (((U16*)item)[1]&255) - (last_item[1]&255)) / 2; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1317:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] corr = ((int)(((U16*)item)[2]&255)) - U8_CLAMP(diff_l + (last_item[2]&255)); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1322:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] corr = ((int)(((U16*)item)[1]>>8)) - U8_CLAMP(diff_h + (last_item[1]>>8)); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1327:34: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] diff_h = (diff_h + (((U16*)item)[1]>>8) - (last_item[1]>>8)) / 2; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1328:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] corr = ((int)(((U16*)item)[2]>>8)) - U8_CLAMP(diff_h + (last_item[2]>>8)); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1586:47: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] U32 sym = ((last_item[0]&0x00FF) != (((U16*)item)[0]&0x00FF)) << 0; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1587:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= ((last_item[0]&0xFF00) != (((U16*)item)[0]&0xFF00)) << 1; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1588:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= ((last_item[1]&0x00FF) != (((U16*)item)[1]&0x00FF)) << 2; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1589:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= ((last_item[1]&0xFF00) != (((U16*)item)[1]&0xFF00)) << 3; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1590:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= ((last_item[2]&0x00FF) != (((U16*)item)[2]&0x00FF)) << 4; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1591:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= ((last_item[2]&0xFF00) != (((U16*)item)[2]&0xFF00)) << 5; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1592:20: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1592:48: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1592:78: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1592:106: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1592:136: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1592:164: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1592:194: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1592:222: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1596:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] diff_l = ((int)(((U16*)item)[0]&255)) - (last_item[0]&255); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1601:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] diff_h = ((int)(((U16*)item)[0]>>8)) - (last_item[0]>>8); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1608:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] corr = ((int)(((U16*)item)[1]&255)) - U8_CLAMP(diff_l + (last_item[1]&255)); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1613:34: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] diff_l = (diff_l + (((U16*)item)[1]&255) - (last_item[1]&255)) / 2; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1614:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] corr = ((int)(((U16*)item)[2]&255)) - U8_CLAMP(diff_l + (last_item[2]&255)); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1619:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] corr = ((int)(((U16*)item)[1]>>8)) - U8_CLAMP(diff_h + (last_item[1]>>8)); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1624:34: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] diff_h = (diff_h + (((U16*)item)[1]>>8) - (last_item[1]>>8)) / 2; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1625:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] corr = ((int)(((U16*)item)[2]>>8)) - U8_CLAMP(diff_h + (last_item[2]>>8)); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1634:43: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym = ((last_item[3]&0x00FF) != (((U16*)item)[3]&0x00FF)) << 0; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1635:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] sym |= ((last_item[3]&0xFF00) != (((U16*)item)[3]&0xFF00)) << 1; ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1639:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] diff_l = ((int)(((U16*)item)[3]&255)) - (last_item[3]&255); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1644:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] diff_h = ((int)(((U16*)item)[3]>>8)) - (last_item[3]>>8); ^ 43 warnings generated. [ 86%] Building CXX object src/CMakeFiles/laszip.dir/laszip.cpp.o 74 warnings generated. [ 91%] Building CXX object src/CMakeFiles/laszip.dir/laszip_dll.cpp.o /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laszip.cpp:97:24: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] compressor = *((U16*)b); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laszip.cpp:99:19: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] coder = *((U16*)b); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laszip.cpp:101:26: warning: cast from 'const unsigned char *' to 'unsigned char *' drops const qualifier [-Wcast-qual] version_major = *((U8*)b); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laszip.cpp:103:26: warning: cast from 'const unsigned char *' to 'unsigned char *' drops const qualifier [-Wcast-qual] version_minor = *((U8*)b); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laszip.cpp:105:30: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] version_revision = *((U16*)b); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laszip.cpp:107:21: warning: cast from 'const unsigned char *' to 'unsigned int *' drops const qualifier [-Wcast-qual] options = *((U32*)b); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laszip.cpp:109:24: warning: cast from 'const unsigned char *' to 'unsigned int *' drops const qualifier [-Wcast-qual] chunk_size = *((U32*)b); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laszip.cpp:111:37: warning: cast from 'const unsigned char *' to 'long long *' drops const qualifier [-Wcast-qual] number_of_special_evlrs = *((I64*)b); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laszip.cpp:113:37: warning: cast from 'const unsigned char *' to 'long long *' drops const qualifier [-Wcast-qual] offset_to_special_evlrs = *((I64*)b); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laszip.cpp:115:23: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] num_items = *((U16*)b); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laszip.cpp:119:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] items[i].type = (LASitem::Type)*((U16*)b); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laszip.cpp:121:29: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] items[i].size = *((U16*)b); ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laszip.cpp:123:32: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] items[i].version = *((U16*)b); ^ 74 warnings generated. [ 95%] Building CXX object src/CMakeFiles/laszip.dir/mydefs.cpp.o 13 warnings generated. /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laszip_dll.cpp:1259:101: warning: cast from 'const double *' to 'unsigned char *' drops const qualifier [-Wcast-qual] if (laszip_add_vlr(laszip_dll, "LASF_Projection", 34736, (laszip_U16)(number*8), 0, (laszip_U8*)geodouble_params)) ^ /Users/pbulk/build/geography/laszip/work/laszip-src-3.4.3/src/laszip_dll.cpp:1314:99: warning: cast from 'const char *' to 'unsigned char *' drops const qualifier [-Wcast-qual] if (laszip_add_vlr(laszip_dll, "LASF_Projection", 34737, (laszip_U16)(number), 0, (laszip_U8*)geoascii_params)) ^ 2 warnings generated. [100%] Linking CXX shared library ../lib/liblaszip.dylib [100%] Built target laszip