=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for dmsdos-0.9.2.3pre2alt2 cd /var/pkgsrc/work/sysutils/dmsdos/work/dmsdos-0.9.2.3-pre2-alt2/src && clang -D__DMSDOS_LIB__ mcdmsdos.c dblspace_dec.c lib_interface.c dblspace_interface.c dblspace_chk.c dblspace_tables.c dstacker_alloc.c dblspace_alloc.c dblspace_compr.c dstacker_compr.c dstacker_dec.c dblspace_methsq.c -o mcdmsdos mcdmsdos.c:132:42: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(data[j+i]!=' ')strncat(filename,&(data[j+i]),1); ^~~~~~~~~~~~ /usr/include/string.h:99:57: note: passing argument to parameter here char *strncat(char * __restrict, const char * __restrict, size_t); ^ mcdmsdos.c:285:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] { if(strncmp(&(data[i*32]),buf,11)==0) ^~~~~~~~~~~~~ /usr/include/string.h:100:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ 2 warnings generated. In file included from dblspace_dec.c:51: /usr/include/malloc.h:3:2: error: " has been replaced by " #error " has been replaced by " ^ dblspace_dec.c:84:2: warning: USE_GNU_ASM_I386 not defined, using "C" equivalent [-W#warnings] #warning USE_GNU_ASM_I386 not defined, using "C" equivalent ^ dblspace_dec.c:548:38: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] clusterk=(unsigned char*)MALLOC(membytes); ^ ./lib_interface.h:181:16: note: expanded from macro 'MALLOC' #define MALLOC malloc ^ dblspace_dec.c:548:38: note: include the header or explicitly provide a declaration for 'malloc' ./lib_interface.h:181:16: note: expanded from macro 'MALLOC' #define MALLOC malloc ^ dblspace_dec.c:563:13: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] FREE(clusterk); ^ ./lib_interface.h:182:14: note: expanded from macro 'FREE' #define FREE free ^ dblspace_dec.c:608:10: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] { FREE(clusterk); ^ ./lib_interface.h:182:14: note: expanded from macro 'FREE' #define FREE free ^ dblspace_dec.c:617:12: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] FREE(clusterk); ^ ./lib_interface.h:182:14: note: expanded from macro 'FREE' #define FREE free ^ 5 warnings and 1 error generated. In file included from lib_interface.c:31: /usr/include/malloc.h:3:2: error: " has been replaced by " #error " has been replaced by " ^ lib_interface.c:104:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(1); ^ lib_interface.c:104:3: note: include the header or explicitly provide a declaration for 'exit' lib_interface.c:144:6: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] bh=malloc(sizeof(struct buffer_head)); ^ lib_interface.c:144:6: note: include the header or explicitly provide a declaration for 'malloc' lib_interface.c:152:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] { free(bh); ^ lib_interface.c:159:6: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] if(read(fd,bh->b_data,512)>=0)return bh; ^ lib_interface.c:162:3: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(bh->b_data); ^ lib_interface.c:186:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] { free(bh); ^ lib_interface.c:196:3: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(bh->b_data); ^ lib_interface.c:217:6: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] if(write(fd,bh->b_data,512)<0) ^ lib_interface.c:304:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(directlist); ^ lib_interface.c:333:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(directlist); ^ lib_interface.c:375:18: warning: passing '__s8 [8]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strncmp(data[j].name,"DRVSPACE",8)==0)testvers=1; ^~~~~~~~~~~~ /usr/include/string.h:100:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ lib_interface.c:376:18: warning: passing '__s8 [8]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strncmp(data[j].name,"DBLSPACE",8)==0)testvers=1; ^~~~~~~~~~~~ /usr/include/string.h:100:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ lib_interface.c:377:18: warning: passing '__s8 [8]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strncmp(data[j].name,"STACVOL ",8)==0)testvers=2; ^~~~~~~~~~~~ /usr/include/string.h:100:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ lib_interface.c:382:32: warning: passing '__s8 *' (aka 'signed char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ) | (testvers==2&&strncmp(data[j].name+8,"DSK",3)==0) ^~~~~~~~~~~~~~ /usr/include/string.h:100:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ lib_interface.c:385:20: warning: passing '__s8 [8]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(cvfname,data[j].name,9-testvers); ^~~~~~~~~~~~ /usr/include/string.h:101:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ lib_interface.c:388:20: warning: passing '__s8 [3]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncat(cvfname,data[j].ext,3); ^~~~~~~~~~~ /usr/include/string.h:99:57: note: passing argument to parameter here char *strncat(char * __restrict, const char * __restrict, size_t); ^ lib_interface.c:391:21: warning: passing '__s8 [3]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] { if(strncmp(ext,data[j].ext,3)!=0)continue; ^~~~~~~~~~~ /usr/include/string.h:100:40: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ lib_interface.c:379:15: warning: array index 8 is past the end of the array (which contains 8 elements) [-Warray-bounds] { if( ( data[j].name[8]>='0'&&data[j].name[8]<='9' ^ ~ ./lib_interface.h:108:9: note: array 'name' declared here __s8 name[8],ext[3]; /* name and extension */ ^ lib_interface.c:379:37: warning: array index 8 is past the end of the array (which contains 8 elements) [-Warray-bounds] { if( ( data[j].name[8]>='0'&&data[j].name[8]<='9' ^ ~ ./lib_interface.h:108:9: note: array 'name' declared here __s8 name[8],ext[3]; /* name and extension */ ^ lib_interface.c:380:10: warning: array index 9 is past the end of the array (which contains 8 elements) [-Warray-bounds] &&data[j].name[9]>='0'&&data[j].name[9]<='9' ^ ~ ./lib_interface.h:108:9: note: array 'name' declared here __s8 name[8],ext[3]; /* name and extension */ ^ lib_interface.c:380:32: warning: array index 9 is past the end of the array (which contains 8 elements) [-Warray-bounds] &&data[j].name[9]>='0'&&data[j].name[9]<='9' ^ ~ ./lib_interface.h:108:9: note: array 'name' declared here __s8 name[8],ext[3]; /* name and extension */ ^ lib_interface.c:381:10: warning: array index 10 is past the end of the array (which contains 8 elements) [-Warray-bounds] &&data[j].name[10]>='0'&&data[j].name[10]<='9' ^ ~~ ./lib_interface.h:108:9: note: array 'name' declared here __s8 name[8],ext[3]; /* name and extension */ ^ lib_interface.c:381:33: warning: array index 10 is past the end of the array (which contains 8 elements) [-Warray-bounds] &&data[j].name[10]>='0'&&data[j].name[10]<='9' ^ ~~ ./lib_interface.h:108:9: note: array 'name' declared here __s8 name[8],ext[3]; /* name and extension */ ^ lib_interface.c:543:33: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] if(MSDOS_SB(sb)->private_data)kfree(MSDOS_SB(sb)->private_data); ^ lib_interface.c:54:15: note: expanded from macro 'kfree' #define kfree free ^ lib_interface.c:692:5: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(fd); ^ lib_interface.c:707:5: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(fd); ^ lib_interface.c:708:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(sb); ^ lib_interface.c:722:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(fd); ^ lib_interface.c:723:21: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] if(sb->directlist)free(sb->directlist); ^ 29 warnings and 1 error generated. In file included from dblspace_interface.c:47: /usr/include/malloc.h:3:2: error: " has been replaced by " #error " has been replaced by " ^ dblspace_interface.c:287:9: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] dblsb=kmalloc(sizeof(Dblsb),GFP_KERNEL); ^ ./lib_interface.h:183:22: note: expanded from macro 'kmalloc' #define kmalloc(x,y) malloc(x) ^ dblspace_interface.c:287:9: note: include the header or explicitly provide a declaration for 'malloc' ./lib_interface.h:183:22: note: expanded from macro 'kmalloc' #define kmalloc(x,y) malloc(x) ^ dblspace_interface.c:298:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] { kfree(dblsb->mdfat_alloc_semp); ^ ./lib_interface.h:184:15: note: expanded from macro 'kfree' #define kfree free ^ dblspace_interface.c:301:3: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] kfree(dblsb); ^ ./lib_interface.h:184:15: note: expanded from macro 'kfree' #define kfree free ^ dblspace_interface.c:379:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pp=&(bh->b_data[45]); ^~~~~~~~~~~~~~~~~~ dblspace_interface.c:382:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pp=&(bh->b_data[36]); ^~~~~~~~~~~~~~~~~~ dblspace_interface.c:384:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pp=&(bh->b_data[17]); ^~~~~~~~~~~~~~~~~~ dblspace_interface.c:388:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pp=&(bh->b_data[39]);i=CHS(pp);/*i=res0*/ ^~~~~~~~~~~~~~~~~~ dblspace_interface.c:390:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pp=&(bh->b_data[14]); ^~~~~~~~~~~~~~~~~~ dblspace_interface.c:392:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pp=&(bh->b_data[41]); ^~~~~~~~~~~~~~~~~~ dblspace_interface.c:394:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pp=&(bh->b_data[43]); ^~~~~~~~~~~~~~~~~~ dblspace_interface.c:434:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pp=&(bh2->b_data[57]); ^~~~~~~~~~~~~~~~~~~ dblspace_interface.c:447:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] { pp=&(bh->b_data[62]); ^~~~~~~~~~~~~~~~~~ dblspace_interface.c:498:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pp=&(bh->b_data[32]); ^~~~~~~~~~~~~~~~~~ dblspace_interface.c:500:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pp=&(bh->b_data[22]); ^~~~~~~~~~~~~~~~~~ dblspace_interface.c:502:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pp=&(bh->b_data[14]); ^~~~~~~~~~~~~~~~~~ dblspace_interface.c:753:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pp=&(bh->b_data[0]); ^~~~~~~~~~~~~~~~~ dblspace_interface.c:754:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strncmp(pp,"STACKER",7)!=0) ^~ /usr/include/string.h:100:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ dblspace_interface.c:838:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pp=&(bh2->b_data[0x11]); ^~~~~~~~~~~~~~~~~~~~~ dblspace_interface.c:842:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pp=&(bh2->b_data[0xB]); BB_SectSize=CHS(pp); ^~~~~~~~~~~~~~~~~~~~ dblspace_interface.c:847:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pp=&(bh2->b_data[0xE]); ReservSects=CHS(pp); ^~~~~~~~~~~~~~~~~~~~ dblspace_interface.c:849:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pp=&(bh2->b_data[0x11]); RootDirEnt=CHS(pp); ^~~~~~~~~~~~~~~~~~~~~ dblspace_interface.c:850:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pp=&(bh2->b_data[0x13]); BB_TotalSects=CHS(pp); ^~~~~~~~~~~~~~~~~~~~~ dblspace_interface.c:852:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] { pp=&(bh2->b_data[0x20]); BB_TotalSects=CHL(pp);}; ^~~~~~~~~~~~~~~~~~~~~ dblspace_interface.c:853:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pp=&(bh2->b_data[0x16]); FATSize=CHS(pp); ^~~~~~~~~~~~~~~~~~~~~ dblspace_interface.c:854:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pp=&(bh2->b_data[0x1B]); HidenSects=CHS(pp); ^~~~~~~~~~~~~~~~~~~~~ 25 warnings and 1 error generated. In file included from dblspace_chk.c:54: /usr/include/malloc.h:3:2: error: " has been replaced by " #error " has been replaced by " ^ dblspace_chk.c:79:9: warning: returning 'char *' from a function with result type '__u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] return(bh->b_data+pos%SECTOR_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dblspace_chk.c:98:7: warning: implicitly declaring library function 'memcmp' with type 'int (const void *, const void *, unsigned long)' [-Wimplicit-function-declaration] if(!memcmp(pp,bitfat_up_to_date_fl,sizeof(bitfat_up_to_date_fl))) ^ dblspace_chk.c:98:7: note: include the header or explicitly provide a declaration for 'memcmp' dblspace_chk.c:108:7: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)' [-Wimplicit-function-declaration] memcpy(pp,bitfat_up_to_date_fl,sizeof(bitfat_up_to_date_fl)); ^ dblspace_chk.c:108:7: note: include the header or explicitly provide a declaration for 'memcpy' dblspace_chk.c:171:30: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] sect_array=(unsigned char*)vmalloc(val); ^ ./lib_interface.h:186:17: note: expanded from macro 'vmalloc' #define vmalloc malloc ^ dblspace_chk.c:171:30: note: include the header or explicitly provide a declaration for 'malloc' ./lib_interface.h:186:17: note: expanded from macro 'vmalloc' #define vmalloc malloc ^ dblspace_chk.c:190:11: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] vfree(sect_array); ^ ./lib_interface.h:187:15: note: expanded from macro 'vfree' #define vfree free ^ dblspace_chk.c:214:7: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] vfree(sect_array); ^ ./lib_interface.h:187:15: note: expanded from macro 'vfree' #define vfree free ^ dblspace_chk.c:233:13: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] vfree(sect_array); ^ ./lib_interface.h:187:15: note: expanded from macro 'vfree' #define vfree free ^ dblspace_chk.c:247:11: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] { vfree(sect_array); ^ ./lib_interface.h:187:15: note: expanded from macro 'vfree' #define vfree free ^ dblspace_chk.c:268:3: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] vfree(sect_array); ^ ./lib_interface.h:187:15: note: expanded from macro 'vfree' #define vfree free ^ dblspace_chk.c:348:3: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] vfree(field); ^ ./lib_interface.h:187:15: note: expanded from macro 'vfree' #define vfree free ^ 10 warnings and 1 error generated. In file included from dblspace_tables.c:55: /usr/include/malloc.h:3:2: error: " has been replaced by " #error " has been replaced by " ^ dblspace_tables.c:336:11: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)' [-Wimplicit-function-declaration] memcpy(bh->b_data,mdfat[merk_i].a_buffer->b_data,SECTOR_SIZE); ^ dblspace_tables.c:336:11: note: include the header or explicitly provide a declaration for 'memcpy' dblspace_tables.c:368:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pp=&(mdfat[merk_i].a_buffer->b_data[offset]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dblspace_tables.c:397:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pp=&(mdfat[merk_i].a_buffer->b_data[offset]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dblspace_tables.c:634:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pp=&(bitfat[merk_i].a_buffer->b_data[offset]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings and 1 error generated. In file included from dstacker_alloc.c:54: /usr/include/malloc.h:3:2: error: " has been replaced by " #error " has been replaced by " ^ dstacker_alloc.c:120:10: warning: assigning to '__u8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pp=bh->b_data; ^~~~~~~~~~~ dstacker_alloc.c:150:17: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] cw->finfo=bh->b_data+4; ^~~~~~~~~~~~~ dstacker_alloc.c:163:10: warning: assigning to '__u8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pp=&(bh->b_data[SECTOR_SIZE-2]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dstacker_alloc.c:172:13: warning: assigning to '__u8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pp = &(bh->b_data[SECTOR_SIZE-6]); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dstacker_alloc.c:180:13: warning: assigning to '__u8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pp = &(bh->b_data[SECTOR_SIZE-8]); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dstacker_alloc.c:195:13: warning: assigning to '__u8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pp = &(bh->b_data[SECTOR_SIZE-8]); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dstacker_alloc.c:254:9: warning: assigning to '__u8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pp=&(bh->b_data[SECTOR_SIZE-2]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dstacker_alloc.c:261:10: warning: assigning to '__u8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pp = &(bh->b_data[SECTOR_SIZE-6]); /* begin of short suball. clust */ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dstacker_alloc.c:263:10: warning: assigning to '__u8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pp = &(bh->b_data[SECTOR_SIZE-8]); /* begin of long suball. clust */ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dstacker_alloc.c:269:12: warning: assigning to '__u8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pp = &(bh->b_data[SECTOR_SIZE-6]);u = CHS(pp); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dstacker_alloc.c:270:12: warning: assigning to '__u8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pp = &(bh->b_data[SECTOR_SIZE-8]);v = CHS(pp); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11 warnings and 1 error generated. In file included from dblspace_alloc.c:43: /usr/include/malloc.h:3:2: error: " has been replaced by " #error " has been replaced by " ^ dblspace_alloc.c:605:11: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)' [-Wimplicit-function-declaration] memcpy(fraglist,bh->b_data,4*(fragcount+1)); ^ dblspace_alloc.c:605:11: note: include the header or explicitly provide a declaration for 'memcpy' 1 warning and 1 error generated. In file included from dblspace_compr.c:58: /usr/include/malloc.h:3:2: error: " has been replaced by " #error " has been replaced by " ^ dblspace_compr.c:268:16: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] hash_tab=MALLOC(0x400*sizeof(hash_t)); ^ ./lib_interface.h:181:16: note: expanded from macro 'MALLOC' #define MALLOC malloc ^ dblspace_compr.c:268:16: note: include the header or explicitly provide a declaration for 'malloc' ./lib_interface.h:181:16: note: expanded from macro 'MALLOC' #define MALLOC malloc ^ dblspace_compr.c:271:28: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] if(hash_hist==NULL) {FREE(hash_tab);return -1;} ^ ./lib_interface.h:182:14: note: expanded from macro 'FREE' #define FREE free ^ dblspace_compr.c:328:7: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] FREE(hash_tab); ^ ./lib_interface.h:182:14: note: expanded from macro 'FREE' #define FREE free ^ dblspace_compr.c:395:9: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)' [-Wimplicit-function-declaration] memcpy(bh->b_data,fraglist,4*(frags+1)); ^ dblspace_compr.c:395:9: note: include the header or explicitly provide a declaration for 'memcpy' dblspace_compr.c:567:9: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] FREE(clusterk); ^ ./lib_interface.h:182:14: note: expanded from macro 'FREE' #define FREE free ^ dblspace_compr.c:611:27: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] if(method!=UNCOMPRESSED)FREE(clusterk); ^ ./lib_interface.h:182:14: note: expanded from macro 'FREE' #define FREE free ^ 6 warnings and 1 error generated. In file included from dstacker_compr.c:56: /usr/include/malloc.h:3:2: error: " has been replaced by " #error " has been replaced by " ^ dstacker_compr.c:116:2: warning: USE_GNU_ASM_I386 not defined, using "C" equivalent [-W#warnings] #warning USE_GNU_ASM_I386 not defined, using "C" equivalent ^ dstacker_compr.c:271:11: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] work_mem=MALLOC((0x400+hash_mask+1)*sizeof(hash_t)); ^ ./lib_interface.h:181:16: note: expanded from macro 'MALLOC' #define MALLOC malloc ^ dstacker_compr.c:271:11: note: include the header or explicitly provide a declaration for 'malloc' ./lib_interface.h:181:16: note: expanded from macro 'MALLOC' #define MALLOC malloc ^ dstacker_compr.c:370:11: warning: incompatible pointer types assigning to '__u8 *' (aka 'unsigned char *') from '__u16 *' (aka 'unsigned short *') [-Wincompatible-pointer-types] if(cn) TKWR_CHRS(po,cn); ^~~~~~~~~~~~~~~~ dstacker_compr.c:181:28: note: expanded from macro 'TKWR_CHRS' else {*(p++)=TK_CHRS+15;C_ST_u16(p,v);};} ^~~~~~~~~~~~~ dstacker_compr.c:142:44: note: expanded from macro 'C_ST_u16' #define C_ST_u16(p,v) {put_unaligned(v,p);p=(__u16*)p+1;} ^~~~~~~~~~~~ dstacker_compr.c:386:6: warning: incompatible pointer types assigning to '__u8 *' (aka 'unsigned char *') from '__u16 *' (aka 'unsigned short *') [-Wincompatible-pointer-types] C_ST_u16(po,cn); /* history offset */ ^~~~~~~~~~~~~~~ dstacker_compr.c:142:44: note: expanded from macro 'C_ST_u16' #define C_ST_u16(p,v) {put_unaligned(v,p);p=(__u16*)p+1;} ^~~~~~~~~~~~ dstacker_compr.c:390:44: warning: incompatible pointer types assigning to '__u8 *' (aka 'unsigned char *') from '__u16 *' (aka 'unsigned short *') [-Wincompatible-pointer-types] {token=max_match-6+0x3F;*(po++)=token;C_ST_u16(po,cn);} ^~~~~~~~~~~~~~~ dstacker_compr.c:142:44: note: expanded from macro 'C_ST_u16' #define C_ST_u16(p,v) {put_unaligned(v,p);p=(__u16*)p+1;} ^~~~~~~~~~~~ dstacker_compr.c:394:6: warning: incompatible pointer types assigning to '__u8 *' (aka 'unsigned char *') from '__u16 *' (aka 'unsigned short *') [-Wincompatible-pointer-types] C_ST_u16(po,cn); /* history offset */ ^~~~~~~~~~~~~~~ dstacker_compr.c:142:44: note: expanded from macro 'C_ST_u16' #define C_ST_u16(p,v) {put_unaligned(v,p);p=(__u16*)p+1;} ^~~~~~~~~~~~ dstacker_compr.c:395:6: warning: incompatible pointer types assigning to '__u8 *' (aka 'unsigned char *') from '__u16 *' (aka 'unsigned short *') [-Wincompatible-pointer-types] C_ST_u16(po,max_match); /* repeat count */ ^~~~~~~~~~~~~~~~~~~~~~ dstacker_compr.c:142:44: note: expanded from macro 'C_ST_u16' #define C_ST_u16(p,v) {put_unaligned(v,p);p=(__u16*)p+1;} ^~~~~~~~~~~~ dstacker_compr.c:414:6: warning: incompatible pointer types assigning to '__u8 *' (aka 'unsigned char *') from '__u16 *' (aka 'unsigned short *') [-Wincompatible-pointer-types] {TKWR_CHRS(po,0x8000u);cn-=0x8000u;if(poend=0x8000u) {TKWR_CHRS(po,0x8000u);cn-=0x8000u;}; ^~~~~~~~~~~~~~~~~~~~~ dstacker_compr.c:181:28: note: expanded from macro 'TKWR_CHRS' else {*(p++)=TK_CHRS+15;C_ST_u16(p,v);};} ^~~~~~~~~~~~~ dstacker_compr.c:142:44: note: expanded from macro 'C_ST_u16' #define C_ST_u16(p,v) {put_unaligned(v,p);p=(__u16*)p+1;} ^~~~~~~~~~~~ dstacker_compr.c:422:3: warning: incompatible pointer types assigning to '__u8 *' (aka 'unsigned char *') from '__u16 *' (aka 'unsigned short *') [-Wincompatible-pointer-types] TKWR_CHRS(po,cn); ^~~~~~~~~~~~~~~~ dstacker_compr.c:181:28: note: expanded from macro 'TKWR_CHRS' else {*(p++)=TK_CHRS+15;C_ST_u16(p,v);};} ^~~~~~~~~~~~~ dstacker_compr.c:142:44: note: expanded from macro 'C_ST_u16' #define C_ST_u16(p,v) {put_unaligned(v,p);p=(__u16*)p+1;} ^~~~~~~~~~~~ dstacker_compr.c:427:2: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] FREE(work_mem); ^ ./lib_interface.h:182:14: note: expanded from macro 'FREE' #define FREE free ^ dstacker_compr.c:414:19: warning: implicit conversion from 'unsigned int' to '__u8' (aka 'unsigned char') changes value from 32768 to 0 [-Wconstant-conversion] {TKWR_CHRS(po,0x8000u);cn-=0x8000u;if(poend=0x8000u) {TKWR_CHRS(po,0x8000u);cn-=0x8000u;}; ~~~~~~~~~~~~~^~~~~~~~ dstacker_compr.c:181:39: note: expanded from macro 'TKWR_CHRS' else {*(p++)=TK_CHRS+15;C_ST_u16(p,v);};} ~~~~~~~~~~~^~ dstacker_compr.c:142:38: note: expanded from macro 'C_ST_u16' #define C_ST_u16(p,v) {put_unaligned(v,p);p=(__u16*)p+1;} ~~~~~~~~~~~~~~^~~~ ./lib_interface.h:58:52: note: expanded from macro 'put_unaligned' #define put_unaligned(val, ptr) ((void)( *(ptr) = (val) )) ~ ^~~ dstacker_compr.c:718:7: warning: incompatible pointer types assigning to '__u8 *' (aka 'unsigned char *') from '__u16 *' (aka 'unsigned short *') [-Wincompatible-pointer-types] C_LD_u16(lz_pos,u); ^~~~~~~~~~~~~~~~~~ dstacker_compr.c:143:44: note: expanded from macro 'C_LD_u16' #define C_LD_u16(p,v) {v=get_unaligned(p);p=(__u16*)p+1;} ^~~~~~~~~~~~ dstacker_compr.c:736:8: warning: incompatible pointer types assigning to '__u8 *' (aka 'unsigned char *') from '__u16 *' (aka 'unsigned short *') [-Wincompatible-pointer-types] C_LD_u16(lz_pos,u); ^~~~~~~~~~~~~~~~~~ dstacker_compr.c:143:44: note: expanded from macro 'C_LD_u16' #define C_LD_u16(p,v) {v=get_unaligned(p);p=(__u16*)p+1;} ^~~~~~~~~~~~ dstacker_compr.c:742:7: warning: incompatible pointer types assigning to '__u8 *' (aka 'unsigned char *') from '__u16 *' (aka 'unsigned short *') [-Wincompatible-pointer-types] C_LD_u16(lz_pos,u); u++; /* history offset */ ^~~~~~~~~~~~~~~~~~ dstacker_compr.c:143:44: note: expanded from macro 'C_LD_u16' #define C_LD_u16(p,v) {v=get_unaligned(p);p=(__u16*)p+1;} ^~~~~~~~~~~~ dstacker_compr.c:751:8: warning: incompatible pointer types assigning to '__u8 *' (aka 'unsigned char *') from '__u16 *' (aka 'unsigned short *') [-Wincompatible-pointer-types] C_LD_u16(lz_pos,u); /* repeat count */ ^~~~~~~~~~~~~~~~~~ dstacker_compr.c:143:44: note: expanded from macro 'C_LD_u16' #define C_LD_u16(p,v) {v=get_unaligned(p);p=(__u16*)p+1;} ^~~~~~~~~~~~ dstacker_compr.c:770:3: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] FREE(ch_cn); ^ ./lib_interface.h:182:14: note: expanded from macro 'FREE' #define FREE free ^ dstacker_compr.c:775:20: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] if(ch_cn!=NULL) FREE(ch_cn); ^ ./lib_interface.h:182:14: note: expanded from macro 'FREE' #define FREE free ^ dstacker_compr.c:857:23: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] if(hash_hist==NULL) {FREE(hash_tab);return 0;} ^ ./lib_interface.h:182:14: note: expanded from macro 'FREE' #define FREE free ^ dstacker_compr.c:866:4: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] FREE(hash_hist); ^ ./lib_interface.h:182:14: note: expanded from macro 'FREE' #define FREE free ^ dstacker_compr.c:931:2: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] FREE(hash_hist); ^ ./lib_interface.h:182:14: note: expanded from macro 'FREE' #define FREE free ^ dstacker_compr.c:1137:2: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] FREE(clusterk); ^ ./lib_interface.h:182:14: note: expanded from macro 'FREE' #define FREE free ^ dstacker_compr.c:1226:38: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] if(method!=UNCOMPRESSED&&ucflag>=0)FREE(clusterk); ^ ./lib_interface.h:182:14: note: expanded from macro 'FREE' #define FREE free ^ 24 warnings and 1 error generated. In file included from dstacker_dec.c:59: /usr/include/malloc.h:3:2: error: " has been replaced by " #error " has been replaced by " ^ dstacker_dec.c:100:2: warning: USE_GNU_ASM_I386 not defined, using "C" equivalent [-W#warnings] #warning USE_GNU_ASM_I386 not defined, using "C" equivalent ^ dstacker_dec.c:582:14: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] huf=(huf_t*)MALLOC(sizeof(huf_t)); ^ ./lib_interface.h:181:16: note: expanded from macro 'MALLOC' #define MALLOC malloc ^ dstacker_dec.c:582:14: note: include the header or explicitly provide a declaration for 'malloc' ./lib_interface.h:181:16: note: expanded from macro 'MALLOC' #define MALLOC malloc ^ dstacker_dec.c:696:4: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] FREE(huf); ^ ./lib_interface.h:182:14: note: expanded from macro 'FREE' #define FREE free ^ dstacker_dec.c:703:3: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] FREE(huf); ^ ./lib_interface.h:182:14: note: expanded from macro 'FREE' #define FREE free ^ dstacker_dec.c:791:25: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] if(cw.compressed) FREE(clusterk); ^ ./lib_interface.h:182:14: note: expanded from macro 'FREE' #define FREE free ^ dstacker_dec.c:812:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] FREE(clusterk); ^ ./lib_interface.h:182:14: note: expanded from macro 'FREE' #define FREE free ^ 6 warnings and 1 error generated. In file included from dblspace_methsq.c:54: /usr/include/malloc.h:3:2: error: " has been replaced by " #error " has been replaced by " ^ dblspace_methsq.c:117:2: warning: USE_GNU_ASM_I386 not defined, using "C" equivalent [-W#warnings] #warning USE_GNU_ASM_I386 not defined, using "C" equivalent ^ dblspace_methsq.c:448:19: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] work_mem=(char*)MALLOC(0x150+HUF_RD_SIZE(MAX_SPDA_LEN)+HUF_RD_SIZE(256)); ^ ./lib_interface.h:181:16: note: expanded from macro 'MALLOC' #define MALLOC malloc ^ dblspace_methsq.c:448:19: note: include the header or explicitly provide a declaration for 'malloc' ./lib_interface.h:181:16: note: expanded from macro 'MALLOC' #define MALLOC malloc ^ dblspace_methsq.c:451:11: warning: assigning to '__u8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] code_bln=work_mem; ^~~~~~~~~ dblspace_methsq.c:465:40: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] if (replen+sq_rdn(&bits,16)!=0xFFFF) {FREE(work_mem);return 0;}; ^ ./lib_interface.h:182:14: note: expanded from macro 'FREE' #define FREE free ^ dblspace_methsq.c:467:31: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] if(r+replen>(__u8*)bits.pe) {FREE(work_mem);return 0;}; ^ ./lib_interface.h:182:14: note: expanded from macro 'FREE' #define FREE free ^ dblspace_methsq.c:468:21: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] if(p+replen>pend) {FREE(work_mem);return 0;}; ^ ./lib_interface.h:182:14: note: expanded from macro 'FREE' #define FREE free ^ dblspace_methsq.c:501:4: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] FREE(work_mem);return(0); ^ ./lib_interface.h:182:14: note: expanded from macro 'FREE' #define FREE free ^ dblspace_methsq.c:507:4: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] FREE(work_mem);return(0); ^ ./lib_interface.h:182:14: note: expanded from macro 'FREE' #define FREE free ^ dblspace_methsq.c:521:4: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] FREE(work_mem);return 0; ^ ./lib_interface.h:182:14: note: expanded from macro 'FREE' #define FREE free ^ dblspace_methsq.c:554:4: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] FREE(work_mem);return 0; ^ ./lib_interface.h:182:14: note: expanded from macro 'FREE' #define FREE free ^ dblspace_methsq.c:562:4: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] FREE(work_mem);return 0; ^ ./lib_interface.h:182:14: note: expanded from macro 'FREE' #define FREE free ^ dblspace_methsq.c:573:6: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] FREE(work_mem);return(0); ^ ./lib_interface.h:182:14: note: expanded from macro 'FREE' #define FREE free ^ dblspace_methsq.c:588:4: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] FREE(work_mem);return 0; ^ ./lib_interface.h:182:14: note: expanded from macro 'FREE' #define FREE free ^ dblspace_methsq.c:594:2: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] FREE(work_mem); ^ ./lib_interface.h:182:14: note: expanded from macro 'FREE' #define FREE free ^ dblspace_methsq.c:598:3: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] FREE(work_mem); ^ ./lib_interface.h:182:14: note: expanded from macro 'FREE' #define FREE free ^ dblspace_methsq.c:965:8: warning: incompatible pointer types assigning to '__u8 *' (aka 'unsigned char *') from '__u16 *' (aka 'unsigned short *') [-Wincompatible-pointer-types] {TKWR_CHRS(po,0x8000u);cn-=0x8000u;if(poend=0x8000u) {TKWR_CHRS(po,0x8000u);cn-=0x8000u;}; ^~~~~~~~~~~~~~~~~~~~~ dblspace_methsq.c:797:28: note: expanded from macro 'TKWR_CHRS' else {*(p++)=TK_CHRS+15;C_ST_u16(p,v);};} ^~~~~~~~~~~~~ dblspace_methsq.c:72:44: note: expanded from macro 'C_ST_u16' #define C_ST_u16(p,v) {put_unaligned(v,p);p=(__u16*)p+1;} ^~~~~~~~~~~~ dblspace_methsq.c:1010:3: warning: incompatible pointer types assigning to '__u8 *' (aka 'unsigned char *') from '__u16 *' (aka 'unsigned short *') [-Wincompatible-pointer-types] TKWR_CHRS(po,cn); ^~~~~~~~~~~~~~~~ dblspace_methsq.c:797:28: note: expanded from macro 'TKWR_CHRS' else {*(p++)=TK_CHRS+15;C_ST_u16(p,v);};} ^~~~~~~~~~~~~ dblspace_methsq.c:72:44: note: expanded from macro 'C_ST_u16' #define C_ST_u16(p,v) {put_unaligned(v,p);p=(__u16*)p+1;} ^~~~~~~~~~~~ dblspace_methsq.c:965:21: warning: implicit conversion from 'unsigned int' to '__u8' (aka 'unsigned char') changes value from 32768 to 0 [-Wconstant-conversion] {TKWR_CHRS(po,0x8000u);cn-=0x8000u;if(poend=0x8000u) {TKWR_CHRS(po,0x8000u);cn-=0x8000u;}; ~~~~~~~~~~~~~^~~~~~~~ dblspace_methsq.c:797:39: note: expanded from macro 'TKWR_CHRS' else {*(p++)=TK_CHRS+15;C_ST_u16(p,v);};} ~~~~~~~~~~~^~ dblspace_methsq.c:72:38: note: expanded from macro 'C_ST_u16' #define C_ST_u16(p,v) {put_unaligned(v,p);p=(__u16*)p+1;} ~~~~~~~~~~~~~~^~~~ ./lib_interface.h:58:52: note: expanded from macro 'put_unaligned' #define put_unaligned(val, ptr) ((void)( *(ptr) = (val) )) ~ ^~~ dblspace_methsq.c:1091:20: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] if(lz_length==0) {FREE(work_mem);return(0);}; ^ ./lib_interface.h:182:14: note: expanded from macro 'FREE' #define FREE free ^ dblspace_methsq.c:1183:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] FREE(work_mem);return(0); ^ ./lib_interface.h:182:14: note: expanded from macro 'FREE' #define FREE free ^ dblspace_methsq.c:1205:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] FREE(work_mem);return(0); ^ ./lib_interface.h:182:14: note: expanded from macro 'FREE' #define FREE free ^ dblspace_methsq.c:1209:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] FREE(work_mem);return(0); ^ ./lib_interface.h:182:14: note: expanded from macro 'FREE' #define FREE free ^ dblspace_methsq.c:1217:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] FREE(work_mem);return 0; ^ ./lib_interface.h:182:14: note: expanded from macro 'FREE' #define FREE free ^ dblspace_methsq.c:1222:17: warning: incompatible pointer types assigning to '__u8 *' (aka 'unsigned char *') from '__u16 *' (aka 'unsigned short *') [-Wincompatible-pointer-types] if(len==15) C_LD_u16(lz_pos,len); ^~~~~~~~~~~~~~~~~~~~ dblspace_methsq.c:73:44: note: expanded from macro 'C_LD_u16' #define C_LD_u16(p,v) {v=get_unaligned(p);p=(__u16*)p+1;} ^~~~~~~~~~~~ dblspace_methsq.c:1239:13: warning: incompatible pointer types assigning to '__u8 *' (aka 'unsigned char *') from '__u16 *' (aka 'unsigned short *') [-Wincompatible-pointer-types] else { C_LD_u16(lz_pos,len);sq_wrn(&bits,len,sqt_offbln[cod]);}; ^~~~~~~~~~~~~~~~~~~~ dblspace_methsq.c:73:44: note: expanded from macro 'C_LD_u16' #define C_LD_u16(p,v) {v=get_unaligned(p);p=(__u16*)p+1;} ^~~~~~~~~~~~ dblspace_methsq.c:1248:4: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] FREE(work_mem);return 0; ^ ./lib_interface.h:182:14: note: expanded from macro 'FREE' #define FREE free ^ dblspace_methsq.c:1250:3: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] FREE(work_mem); ^ ./lib_interface.h:182:14: note: expanded from macro 'FREE' #define FREE free ^ dblspace_methsq.c:1253:2: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] FREE(work_mem);return 0; ^ ./lib_interface.h:182:14: note: expanded from macro 'FREE' #define FREE free ^ 34 warnings and 1 error generated. *** Error code 1 Stop. bmake[1]: stopped in /usr/pkgsrc/sysutils/dmsdos *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/sysutils/dmsdos