=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for xjdic-2.4 gcc -D__STRICT_BSD__ -DPREFIX=\"/usr/pkg\" -c -DXJDFRONTEND -DXJDDIC -DMMAP xjdsa.c xjdsa.c:84:10: warning: implicit declaration of function 'Kstrcmp' is invalid in C99 [-Wimplicit-function-declaration] res = Kstrcmp(sch_str_len,sch_str); ^ xjdsa.c:179:10: warning: implicit declaration of function 'jindex' is invalid in C99 [-Wimplicit-function-declaration] schix = jindex(it); ^ xjdsa.c:183:10: warning: implicit declaration of function 'dbchar' is invalid in C99 [-Wimplicit-function-declaration] while ((dbchar(schix) != 0x0a) && (schix >= 0)) schix--; ^ xjdsa.c:198:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] *res_len = strlen(res_str); ^~~~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ 4 warnings generated. gcc -D__STRICT_BSD__ -DPREFIX=\"/usr/pkg\" -c -DXJDFRONTEND -DXJDDIC -DMMAP xjdcomm.c -o xjdcomm_sa.o xjdcomm.c:159:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if((dp2 = strrchr(dp,'/')) == NULL) return(dp); ^~ /usr/include/string.h:66:27: note: passing argument to parameter here char *strrchr(const char *, int); ^ xjdcomm.c:159:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if((dp2 = strrchr(dp,'/')) == NULL) return(dp); ^ ~~~~~~~~~~~~~~~ xjdcomm.c:190:16: warning: passing 'unsigned char []' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(DicDir,ENVname); /* added by nakahara@debian.org */ ^~~~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdcomm.c:193:14: warning: passing 'unsigned char []' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(cl_rcfile) > 0) ^~~~~~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdcomm.c:195:15: warning: passing 'unsigned char []' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] fm = fopen(cl_rcfile,"r"); ^~~~~~~~~ xjdcomm.c:203:14: warning: passing 'unsigned char []' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(ENVname) > 2) ^~~~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdcomm.c:205:11: warning: passing 'unsigned char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xjdicdir,ENVname); ^~~~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdcomm.c:205:20: warning: passing 'unsigned char []' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xjdicdir,ENVname); ^~~~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdcomm.c:206:11: warning: passing 'unsigned char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(xjdicdir,"/"); ^~~~~~~~ /usr/include/string.h:54:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdcomm.c:210:11: warning: passing 'unsigned char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xjdicdir,getenv("HOME")); ^~~~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdcomm.c:211:11: warning: passing 'unsigned char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(xjdicdir,"/"); ^~~~~~~~ /usr/include/string.h:54:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdcomm.c:213:10: warning: passing 'unsigned char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(xjdicdir,".xjdicrc"); ^~~~~~~~ /usr/include/string.h:54:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdcomm.c:214:14: warning: passing 'unsigned char [128]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] fm = fopen(xjdicdir,"r"); ^~~~~~~~ xjdcomm.c:216:10: warning: passing 'unsigned char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xjdicdir,".xjdicrc"); ^~~~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdcomm.c:217:14: warning: passing 'unsigned char [128]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] fm = fopen(xjdicdir,"r"); ^~~~~~~~ xjdcomm.c:221:11: warning: passing 'unsigned char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xjdicdir,getenv("HOME")); ^~~~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdcomm.c:222:11: warning: passing 'unsigned char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(xjdicdir,"/"); ^~~~~~~~ /usr/include/string.h:54:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdcomm.c:223:11: warning: passing 'unsigned char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(xjdicdir,".xjdicrc"); ^~~~~~~~ /usr/include/string.h:54:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdcomm.c:224:15: warning: passing 'unsigned char [128]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] fm = fopen(xjdicdir,"r"); ^~~~~~~~ xjdcomm.c:232:15: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] while(fgets(rcstr,79,fm) != NULL) ^~~~~ /usr/include/stdio.h:229:30: note: passing argument to parameter here char *fgets(char * __restrict, int, FILE * __restrict); ^ xjdcomm.c:234:35: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] rcwd = (unsigned char *)strtok(rcstr," \t"); ^~~~~ /usr/include/string.h:69:31: note: passing argument to parameter here char *strtok(char * __restrict, const char * __restrict); ^ xjdcomm.c:239:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(DicDir,rcwd); ^~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdcomm.c:273:5: warning: implicit declaration of function 'EMtoggle' is invalid in C99 [-Wimplicit-function-declaration] EMtoggle (); ^ xjdcomm.c:290:12: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(Dnamet[thisdic],rcwd); ^~~~~~~~~~~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdcomm.c:290:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(Dnamet[thisdic],rcwd); ^~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdcomm.c:291:12: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(XJDXnamet[thisdic],rcwd); ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdcomm.c:291:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(XJDXnamet[thisdic],rcwd); ^~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdcomm.c:292:12: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(XJDXnamet[thisdic],".xjdx"); ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:54:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdcomm.c:300:40: warning: passing 'unsigned char []' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(GPL_File,rcwd); ^~~~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdcomm.c:300:49: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(GPL_File,rcwd); ^~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdcomm.c:308:40: warning: passing 'unsigned char []' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(Clip_File,rcwd); ^~~~~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdcomm.c:308:50: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(Clip_File,rcwd); ^~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdcomm.c:316:40: warning: passing 'unsigned char []' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(EXTname,rcwd); ^~~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdcomm.c:316:48: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(EXTname,rcwd); ^~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdcomm.c:317:40: warning: passing 'unsigned char []' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(EXTJDXname,rcwd); ^~~~~~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdcomm.c:317:51: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(EXTJDXname,rcwd); ^~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdcomm.c:318:40: warning: passing 'unsigned char []' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(EXTJDXname, ".xjdx"); ^~~~~~~~~~ /usr/include/string.h:54:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdcomm.c:335:12: warning: passing 'unsigned char []' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KDNSlist,rcwd); ^~~~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdcomm.c:335:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KDNSlist,rcwd); ^~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdcomm.c:343:12: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(Dnamet[0],rcwd); ^~~~~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdcomm.c:343:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(Dnamet[0],rcwd); ^~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdcomm.c:344:12: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(XJDXnamet[0],rcwd); ^~~~~~~~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdcomm.c:344:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(XJDXnamet[0],rcwd); ^~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdcomm.c:345:12: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(XJDXnamet[0],".xjdx"); ^~~~~~~~~~~~ /usr/include/string.h:54:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdcomm.c:353:12: warning: passing 'unsigned char []' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(RKname,rcwd); ^~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdcomm.c:353:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(RKname,rcwd); ^~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdcomm.c:359:12: warning: passing 'unsigned char []' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(Rname,rcwd); ^~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdcomm.c:359:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(Rname,rcwd); ^~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdcomm.c:365:12: warning: passing 'unsigned char []' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(Vname,rcwd); ^~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdcomm.c:365:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(Vname,rcwd); ^~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdcomm.c:371:12: warning: passing 'unsigned char []' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(ROMname,rcwd); ^~~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdcomm.c:371:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(ROMname,rcwd); ^~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdcomm.c:384:12: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] sscanf(rcwd,"%d",&fn); ^~~~ /usr/include/stdio.h:260:36: note: passing argument to parameter here int sscanf(const char * __restrict, const char * __restrict, ...) ^ xjdcomm.c:387:12: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] sscanf(rcwd,"%d",&ft); ^~~~ /usr/include/stdio.h:260:36: note: passing argument to parameter here int sscanf(const char * __restrict, const char * __restrict, ...) ^ xjdcomm.c:398:12: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(filtnames[fn],rcwd); ^~~~~~~~~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdcomm.c:398:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(filtnames[fn],rcwd); ^~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdcomm.c:403:13: warning: passing 'unsigned char [10]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(filtcodes[fn][ft],rcwd); ^~~~~~~~~~~~~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdcomm.c:403:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(filtcodes[fn][ft],rcwd); ^~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdcomm.c:429:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for(i = 0; i < strlen(s1);i++) ^~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ 59 warnings generated. gcc -D__STRICT_BSD__ -DPREFIX=\"/usr/pkg\" -c -DXJDFRONTEND -DXJDDIC -DMMAP xjdservcomm.c -o xjdservcomm_sa.o xjdservcomm.c:246:15: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fpd = xfopen(Dnamet[dn],"rb", &diclenx); ^~~~~~~~~~ xjdservcomm.c:55:21: note: passing argument to parameter 'name' here FILE *xfopen (char *name, char *mode, int *xfilelen); ^ xjdservcomm.c:249:17: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fpd = xfopen(XJDXnamet[dn],"rb", &xfilelen); ^~~~~~~~~~~~~ xjdservcomm.c:55:21: note: passing argument to parameter 'name' here FILE *xfopen (char *name, char *mode, int *xfilelen); ^ xjdservcomm.c:359:19: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fdd[dn] =xopen(Dnamet[dn],&xfilelen); ^~~~~~~~~~ xjdservcomm.c:56:18: note: passing argument to parameter 'name' here int xopen (char *name, int *xfilelen); ^ xjdservcomm.c:367:20: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fdi[dn] = xopen(XJDXnamet[dn],&xfilelen); ^~~~~~~~~~~~~ xjdservcomm.c:56:18: note: passing argument to parameter 'name' here int xopen (char *name, int *xfilelen); ^ xjdservcomm.c:370:20: warning: assigning to 'unsigned long *' from 'long *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((jdxbufft[dn] = (long *) mmap(0, xfilelen, PROT_READ, MAP_FILE | MAP_SHARED, fdi[dn],0)) == MAP_FAILED) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. gcc -D__STRICT_BSD__ -DPREFIX=\"/usr/pkg\" -c -DXJDFRONTEND -DXJDDIC -DMMAP xjdfrontend.c -o xjdfrontend_sa.o xjdfrontend.c:67:25: warning: tentative definition of variable with internal linkage has incomplete non-array type 'struct sgttyb' [-Wtentative-definition-incomplete-type] static struct sgttyb orig,new; ^ xjdfrontend.c:67:15: note: forward declaration of 'struct sgttyb' static struct sgttyb orig,new; ^ xjdfrontend.c:67:30: warning: tentative definition of variable with internal linkage has incomplete non-array type 'struct sgttyb' [-Wtentative-definition-incomplete-type] static struct sgttyb orig,new; ^ xjdfrontend.c:67:15: note: forward declaration of 'struct sgttyb' static struct sgttyb orig,new; ^ xjdfrontend.c:264:14: error: use of undeclared identifier 'TIOCGETP' ioctl(0, TIOCGETP, &orig); ioctl(0, TIOCGETP, &new); ^ xjdfrontend.c:264:41: error: use of undeclared identifier 'TIOCGETP' ioctl(0, TIOCGETP, &orig); ioctl(0, TIOCGETP, &new); ^ xjdfrontend.c:265:8: error: incomplete definition of type 'struct sgttyb' new.sg_flags |= CBREAK; new.sg_flags &= ~ECHO; ~~~^ xjdfrontend.c:67:15: note: forward declaration of 'struct sgttyb' static struct sgttyb orig,new; ^ xjdfrontend.c:265:21: error: use of undeclared identifier 'CBREAK' new.sg_flags |= CBREAK; new.sg_flags &= ~ECHO; ^ xjdfrontend.c:265:32: error: incomplete definition of type 'struct sgttyb' new.sg_flags |= CBREAK; new.sg_flags &= ~ECHO; ~~~^ xjdfrontend.c:67:15: note: forward declaration of 'struct sgttyb' static struct sgttyb orig,new; ^ xjdfrontend.c:266:14: error: use of undeclared identifier 'TIOCSETP' ioctl(0, TIOCSETP, &new); ^ xjdfrontend.c:281:13: error: use of undeclared identifier 'TIOCSETP' ioctl(0, TIOCSETP, &orig); ^ xjdfrontend.c:359:14: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fk = xfopen(KSname,"r",&xfilelen); ^~~~~~ xjdfrontend.c:196:21: note: passing argument to parameter 'file_name' here FILE *xfopen(char *file_name, char *file_mode, int *xfilelen); ^ xjdfrontend.c:363:9: warning: passing 'unsigned char [1025]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fgets(testline,9,fk); ^~~~~~~~ /usr/include/stdio.h:229:30: note: passing argument to parameter here char *fgets(char * __restrict, int, FILE * __restrict); ^ xjdfrontend.c:384:14: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fk = xfopen(RKname,"r", &xfilelen); ^~~~~~ xjdfrontend.c:196:21: note: passing argument to parameter 'file_name' here FILE *xfopen(char *file_name, char *file_mode, int *xfilelen); ^ xjdfrontend.c:403:9: warning: passing 'unsigned char [1025]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fgets(testline,199,fk); ^~~~~~~~ /usr/include/stdio.h:229:30: note: passing argument to parameter here char *fgets(char * __restrict, int, FILE * __restrict); ^ xjdfrontend.c:419:27: warning: passing 'unsigned char [1025]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (k = 0; k < strlen(testline); k++) ^~~~~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:466:15: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(tempout,"\r \r%sROMAJI ENTRY:%s %s%s",RVon,RVoff,ktarg,ksch+ksp); ^~~~~~~ /usr/include/stdio.h:271:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ xjdfrontend.c:472:16: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(ktarg) != 0) /* kana mode - back over a kana */ ^~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:474:19: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ktarg[strlen(ktarg)-2] = '\0'; ^~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:475:16: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(tempout,"\r \r%sROMAJI ENTRY:%s %s%s",RVon,RVoff,ktarg,ksch+ksp); ^~~~~~~ /usr/include/stdio.h:271:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ xjdfrontend.c:486:13: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(tempout,"\r \r%sROMAJI ENTRY:%s %s%s",RVon,RVoff,ktarg,ksch+ksp); ^~~~~~~ /usr/include/stdio.h:271:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ xjdfrontend.c:545:10: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(instr,ktarg); ^~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:545:16: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(instr,ktarg); ^~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:567:14: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(targ) != strlen(kanatab[ki])) continue; ^~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:567:30: warning: passing 'unsigned char [7]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(targ) != strlen(kanatab[ki])) continue; ^~~~~~~~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:569:10: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(ktarg,kanatab[ki+1]); ^~~~~ /usr/include/string.h:54:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:569:16: warning: passing 'unsigned char [7]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(ktarg,kanatab[ki+1]); ^~~~~~~~~~~~~ /usr/include/string.h:54:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:571:13: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(tempout,"\r \r%sROMAJI ENTRY:%s %s%s",RVon,RVoff,ktarg,ksch+ksp); ^~~~~~~ /usr/include/stdio.h:271:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ xjdfrontend.c:585:40: warning: passing 'unsigned char [7]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (i = 0; i < NRKANA*2; i++) strcpy(kanatab[i]," "); ^~~~~~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:586:14: warning: passing 'unsigned char [60]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fp = xfopen(ROMname,"r", &xfilelen); ^~~~~~~ xjdfrontend.c:196:21: note: passing argument to parameter 'file_name' here FILE *xfopen(char *file_name, char *file_mode, int *xfilelen); ^ xjdfrontend.c:590:9: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fgets(LKin,79,fp); ^~~~ /usr/include/stdio.h:229:30: note: passing argument to parameter here char *fgets(char * __restrict, int, FILE * __restrict); ^ xjdfrontend.c:606:33: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ptr = (unsigned char *)strtok(LKin," \t"); ^~~~ /usr/include/string.h:69:31: note: passing argument to parameter here char *strtok(char * __restrict, const char * __restrict); ^ xjdfrontend.c:607:29: warning: passing 'unsigned char [7]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ( ptr != NULL ) strcpy(kanatab[mode*NRKANA+ih*2+1],ptr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:607:57: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ( ptr != NULL ) strcpy(kanatab[mode*NRKANA+ih*2+1],ptr); ^~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:609:29: warning: passing 'unsigned char [7]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ( ptr != NULL ) strcpy(kanatab[mode*NRKANA+ih*2],ptr); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:609:55: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ( ptr != NULL ) strcpy(kanatab[mode*NRKANA+ih*2],ptr); ^~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:710:15: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] iconv(descr, &inbuf_p, &inbytesleft, &outbuf_p, &outbytesleft); ^~~~~~~~ /usr/include/iconv.h:46:47: note: passing argument to parameter here size_t iconv(iconv_t, const char ** __restrict, ^ xjdfrontend.c:736:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(msg) == 0) return (TRUE); ^~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:760:13: warning: passing 'unsigned char [2000]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(KLine) == 0) return (TRUE); ^~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:761:33: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] kptr = (unsigned char *)strtok(KLine," "); ^~~~~ /usr/include/string.h:69:31: note: passing argument to parameter here char *strtok(char * __restrict, const char * __restrict); ^ xjdfrontend.c:765:10: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(ktemp,kptr); ^~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:765:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(ktemp,kptr); ^~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:774:37: warning: passing 'char [2]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (j = 0;j < 10-it;j++) KOut(" "); ^~~ xjdfrontend.c:217:26: note: passing argument to parameter 'sout' here void KOut(unsigned char *sout); ^ xjdfrontend.c:777:11: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(ktemp,ktemp+1); ^~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:777:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(ktemp,ktemp+1); ^~~~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:779:15: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] it = strlen(ktemp); ^~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:784:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] while (p && (*p) && (p = strstr(p, RVon))) { ^ /usr/include/string.h:68:26: note: passing argument to parameter here char *strstr(const char *, const char *); ^ xjdfrontend.c:784:38: warning: passing 'unsigned char [5]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] while (p && (*p) && (p = strstr(p, RVon))) { ^~~~ /usr/include/string.h:68:40: note: passing argument to parameter here char *strstr(const char *, const char *); ^ xjdfrontend.c:784:26: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] while (p && (*p) && (p = strstr(p, RVon))) { ^ ~~~~~~~~~~~~~~~ xjdfrontend.c:785:16: warning: passing 'unsigned char [5]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] p += strlen(RVon); ^~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:786:17: warning: passing 'unsigned char [5]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] it -= strlen(RVon); ^~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:789:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] while (p && (*p) && (p = strstr(p, RVoff))) { ^ /usr/include/string.h:68:26: note: passing argument to parameter here char *strstr(const char *, const char *); ^ xjdfrontend.c:789:38: warning: passing 'unsigned char [4]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] while (p && (*p) && (p = strstr(p, RVoff))) { ^~~~~ /usr/include/string.h:68:40: note: passing argument to parameter here char *strstr(const char *, const char *); ^ xjdfrontend.c:789:26: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] while (p && (*p) && (p = strstr(p, RVoff))) { ^ ~~~~~~~~~~~~~~~~ xjdfrontend.c:790:16: warning: passing 'unsigned char [4]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] p += strlen(RVoff); ^~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:791:17: warning: passing 'unsigned char [4]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] it -= strlen(RVoff); ^~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:800:9: warning: passing 'char [2]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KOut("\n"); ^~~~ xjdfrontend.c:217:26: note: passing argument to parameter 'sout' here void KOut(unsigned char *sout); ^ xjdfrontend.c:809:26: warning: passing 'char [2]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (DCol <= MaxX) KOut(" "); ^~~ xjdfrontend.c:217:26: note: passing argument to parameter 'sout' here void KOut(unsigned char *sout); ^ xjdfrontend.c:812:7: warning: passing 'char [2]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KOut("\n"); ^~~~ xjdfrontend.c:217:26: note: passing argument to parameter 'sout' here void KOut(unsigned char *sout); ^ xjdfrontend.c:825:9: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,tmp); ^~~~~ /usr/include/string.h:54:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:825:15: warning: passing 'unsigned char [2]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,tmp); ^~~ /usr/include/string.h:54:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:837:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (i = 0; i < strlen(sout); i++) ^~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:925:25: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (i = 0; i < strlen(instr); i++) ^~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:988:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (i = 0; i < strlen(jline); i++) ^~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:1033:11: warning: passing 'char [15]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] GetKBStr("Extension Key:"); ^~~~~~~~~~~~~~~~ xjdfrontend.c:239:30: note: passing argument to parameter 'prompt' here void GetKBStr(unsigned char *prompt); ^ xjdfrontend.c:1041:15: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fe = xfopen(EXTname,"rb", &extlen); ^~~~~~~ xjdfrontend.c:196:21: note: passing argument to parameter 'file_name' here FILE *xfopen(char *file_name, char *file_mode, int *xfilelen); ^ xjdfrontend.c:1042:24: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fex = xfopen(EXTJDXname,"rb", &extjdxlen); ^~~~~~~~~~ xjdfrontend.c:196:21: note: passing argument to parameter 'file_name' here FILE *xfopen(char *file_name, char *file_mode, int *xfilelen); ^ xjdfrontend.c:1048:64: warning: format specifies type 'long' but the argument has type 'unsigned int' [-Wformat] printf("\nEDICT Extension file & Index Mismatch! %ld %ld\n",ejdxtest[0],extlen+jiver); ~~~ ^~~~~~~~~~~ %u xjdfrontend.c:1048:76: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] printf("\nEDICT Extension file & Index Mismatch! %ld %ld\n",ejdxtest[0],extlen+jiver); ~~~ ^~~~~~~~~~~~ %d xjdfrontend.c:1096:10: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (hi < 0) break; ~~ ^ ~ xjdfrontend.c:1103:11: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (KLine," <"); ^~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1108:10: warning: passing 'unsigned char [200]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fgets(LogLine,199,fe); ^~~~~~~ /usr/include/stdio.h:229:30: note: passing argument to parameter here char *fgets(char * __restrict, int, FILE * __restrict); ^ xjdfrontend.c:1111:20: warning: passing 'unsigned char [200]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (i = strlen(LogLine); i >= 0; i--) ^~~~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:1115:11: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,LogLine); ^~~~~ /usr/include/string.h:54:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1115:17: warning: passing 'unsigned char [200]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,LogLine); ^~~~~~~ /usr/include/string.h:54:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1116:16: warning: passing 'char [49]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!KFlush("Continue displaying extension information? (y/n)")) break; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:753:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1118:12: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (KLine," "); ^~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1159:9: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(vcomms[40],"Unknown type"); ^~~~~~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1161:14: warning: passing 'unsigned char [60]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fi = xfopen(Vname,"r", &xfilelen); ^~~~~ xjdfrontend.c:196:21: note: passing argument to parameter 'file_name' here FILE *xfopen(char *file_name, char *file_mode, int *xfilelen); ^ xjdfrontend.c:1164:9: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fgets(tempstr,511,fi); ^~~~~~~ /usr/include/stdio.h:229:30: note: passing argument to parameter here char *fgets(char * __restrict, int, FILE * __restrict); ^ xjdfrontend.c:1175:35: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] vptr = (unsigned char *)strtok(tempstr," \t\n\r"); ^~~~~~~ /usr/include/string.h:69:31: note: passing argument to parameter here char *strtok(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1176:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = atoi(vptr); ^~~~ /usr/include/stdlib.h:101:23: note: passing argument to parameter here int atoi(const char *); ^ xjdfrontend.c:1179:11: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(vcomms[i],vptr); ^~~~~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1179:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(vcomms[i],vptr); ^~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1182:35: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] vptr = (unsigned char *)strtok(tempstr," \t\n\r"); ^~~~~~~ /usr/include/string.h:69:31: note: passing argument to parameter here char *strtok(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1183:11: warning: passing 'unsigned char [21]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(vinfl[verblen],vptr); ^~~~~~~~~~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1183:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(vinfl[verblen],vptr); ^~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1185:11: warning: passing 'unsigned char [7]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(vdicf[verblen],vptr); ^~~~~~~~~~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1185:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(vdicf[verblen],vptr); ^~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1187:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = atoi(vptr); ^~~~ /usr/include/stdlib.h:101:23: note: passing argument to parameter here int atoi(const char *); ^ xjdfrontend.c:1212:9: warning: passing 'unsigned char [250]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(vline,ops); ^~~~~ /usr/include/string.h:54:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1212:15: warning: passing 'unsigned char [3]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(vline,ops); ^~~ /usr/include/string.h:54:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1230:40: warning: passing 'unsigned char [13]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] xjdserver (XJ_FIND, DicNum,it, strlen(vstr), vstr, ^~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:1239:44: warning: passing 'unsigned char [13]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] xjdserver (XJ_ENTRY, DicNum, it, strlen(vstr), vstr, ^~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:1284:12: warning: passing 'unsigned char [250]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(vline,ops); ^~~~~ /usr/include/string.h:54:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1284:18: warning: passing 'unsigned char [4]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(vline,ops); ^~~ /usr/include/string.h:54:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1308:20: warning: passing 'unsigned char [250]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strlen(vline) > 0) break; ^~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:1310:17: warning: passing 'unsigned char [250]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strlen(vline) <=1) return(FALSE); ^~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:1361:11: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(retsave,KLine); ^~~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1361:19: warning: passing 'unsigned char [2000]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(retsave,KLine); ^~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1362:11: warning: passing 'unsigned char [5]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(rethdr,"[X] "); ^~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1364:11: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,rethdr); ^~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1364:17: warning: passing 'unsigned char [5]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,rethdr); ^~~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1365:11: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,retsave); ^~~~~ /usr/include/string.h:54:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1365:17: warning: passing 'unsigned char [2000]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,retsave); ^~~~~~~ /usr/include/string.h:54:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1366:11: warning: passing 'char [1]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KFlush(""); ^~ xjdfrontend.c:753:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1369:43: warning: passing 'unsigned char [2000]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((gdiclen > gdiclenbest) || ((strlen(KLine) > strlen(retsave)) && (gdiclen == gdiclenbest))) ^~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:1369:59: warning: passing 'unsigned char [2000]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((gdiclen > gdiclenbest) || ((strlen(KLine) > strlen(retsave)) && (gdiclen == gdiclenbest))) ^~~~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:1371:11: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(retsave,KLine); ^~~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1371:19: warning: passing 'unsigned char [2000]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(retsave,KLine); ^~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1372:11: warning: passing 'unsigned char [5]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(rethdr,"[X] "); ^~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1382:9: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,rethdr); ^~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1382:15: warning: passing 'unsigned char [5]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,rethdr); ^~~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1383:9: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,retsave); ^~~~~ /usr/include/string.h:54:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1383:15: warning: passing 'unsigned char [2000]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,retsave); ^~~~~~~ /usr/include/string.h:54:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1384:9: warning: passing 'char [1]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KFlush(""); ^~ xjdfrontend.c:753:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1430:26: warning: passing 'unsigned char [21]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (i = 0;i < strlen(vinfl[vi]);i++) ^~~~~~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:1439:11: warning: passing 'unsigned char [13]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(vstr,vdicf[vi]); ^~~~ /usr/include/string.h:54:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1439:16: warning: passing 'unsigned char [7]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(vstr,vdicf[vi]); ^~~~~~~~~ /usr/include/string.h:54:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1441:14: warning: passing 'unsigned char [13]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strcmp(vstr,temp) == 0) continue; ^~~~ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ xjdfrontend.c:1441:19: warning: passing 'unsigned char [11]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strcmp(vstr,temp) == 0) continue; ^~~~ /usr/include/string.h:56:39: note: passing argument to parameter here int strcmp(const char *, const char *); ^ xjdfrontend.c:1442:15: warning: passing 'unsigned char [13]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(vstr,vlast) == 0)continue; ^~~~ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ xjdfrontend.c:1442:20: warning: passing 'unsigned char [11]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(vstr,vlast) == 0)continue; ^~~~~ /usr/include/string.h:56:39: note: passing argument to parameter here int strcmp(const char *, const char *); ^ xjdfrontend.c:1445:12: warning: passing 'unsigned char [11]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(vlast,vstr); ^~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1445:18: warning: passing 'unsigned char [13]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(vlast,vstr); ^~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1447:12: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,vline); ^~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1447:18: warning: passing 'unsigned char [250]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,vline); ^~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1449:12: warning: passing 'char [1]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KFlush(""); ^~ xjdfrontend.c:753:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1472:19: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (fbuff[strlen(fbuff)-1] < 32) fbuff[strlen(fbuff)-1] = 0; ^~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:1472:48: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (fbuff[strlen(fbuff)-1] < 32) fbuff[strlen(fbuff)-1] = 0; ^~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:1475:40: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (slencal(slenx-1,fbuff) >= strlen(fbuff)) break; ^~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:1481:26: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (i = 0; i < strlen(fbuff); i+=2) ^~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:1495:13: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers to integer types with different sign [-Wpointer-sign] &xjresp, &respos, &roff, &rlen, repstr, &DicLoc); ^~~~~~~ xjdfrontend.c:205:48: note: passing argument to parameter 'res_index' here unsigned char *sch_str, int *sch_resp, long *res_index, ^ xjdfrontend.c:1515:27: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (srchlenok != strlen(fbuff)) ^~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:1539:20: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers to integer types with different sign [-Wpointer-sign] fbuff, &xjresp, &respos, &roff, &rlen, repstr, &DicLoc); ^~~~~~~ xjdfrontend.c:205:48: note: passing argument to parameter 'res_index' here unsigned char *sch_str, int *sch_resp, long *res_index, ^ xjdfrontend.c:1568:19: warning: passing 'unsigned char [1025]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strstr(testline,filtcodes[i][j]) != NULL) ^~~~~~~~ /usr/include/string.h:68:26: note: passing argument to parameter here char *strstr(const char *, const char *); ^ xjdfrontend.c:1568:28: warning: passing 'unsigned char [10]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strstr(testline,filtcodes[i][j]) != NULL) ^~~~~~~~~~~~~~~ /usr/include/string.h:68:40: note: passing argument to parameter here char *strstr(const char *, const char *); ^ xjdfrontend.c:1581:19: warning: passing 'unsigned char [1025]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strstr(testline,filtcodes[i][j]) != NULL) ^~~~~~~~ /usr/include/string.h:68:26: note: passing argument to parameter here char *strstr(const char *, const char *); ^ xjdfrontend.c:1581:28: warning: passing 'unsigned char [10]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strstr(testline,filtcodes[i][j]) != NULL) ^~~~~~~~~~~~~~~ /usr/include/string.h:68:40: note: passing argument to parameter here char *strstr(const char *, const char *); ^ xjdfrontend.c:1595:16: warning: passing 'unsigned char [1025]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strstr(testline,strfilt) != NULL) FiltOK = TRUE; ^~~~~~~~ /usr/include/string.h:68:26: note: passing argument to parameter here char *strstr(const char *, const char *); ^ xjdfrontend.c:1595:25: warning: passing 'unsigned char [10]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strstr(testline,strfilt) != NULL) FiltOK = TRUE; ^~~~~~~ /usr/include/string.h:68:40: note: passing argument to parameter here char *strstr(const char *, const char *); ^ xjdfrontend.c:1600:19: warning: passing 'unsigned char [1025]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] kptr = strstr(testline,SingleFilter); ^~~~~~~~ /usr/include/string.h:68:26: note: passing argument to parameter here char *strstr(const char *, const char *); ^ xjdfrontend.c:1600:28: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] kptr = strstr(testline,SingleFilter); ^~~~~~~~~~~~ /usr/include/string.h:68:40: note: passing argument to parameter here char *strstr(const char *, const char *); ^ xjdfrontend.c:1600:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] kptr = strstr(testline,SingleFilter); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:1610:19: warning: passing 'unsigned char [1025]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((strlen(testline) - strlen(kptr)) % 2 == 0) ^~~~~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:1610:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((strlen(testline) - strlen(kptr)) % 2 == 0) ^~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:1618:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] kptr = strstr(kptr2+1,SingleFilter); ^~~~~~~ /usr/include/string.h:68:26: note: passing argument to parameter here char *strstr(const char *, const char *); ^ xjdfrontend.c:1618:30: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] kptr = strstr(kptr2+1,SingleFilter); ^~~~~~~~~~~~ /usr/include/string.h:68:40: note: passing argument to parameter here char *strstr(const char *, const char *); ^ xjdfrontend.c:1618:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] kptr = strstr(kptr2+1,SingleFilter); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:1646:25: warning: passing 'char [35]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KFlushRes = KFlush("Continue displaying matches? (y/n)"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:753:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1658:15: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(ops,"%d: ",dind); ^~~ /usr/include/stdio.h:271:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ xjdfrontend.c:1659:14: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,ops); ^~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1659:20: warning: passing 'unsigned char [80]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,ops); ^~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1663:15: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(ops,"%d: ",dind+1); ^~~ /usr/include/stdio.h:271:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ xjdfrontend.c:1664:14: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,ops); ^~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1664:20: warning: passing 'unsigned char [80]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,ops); ^~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1668:12: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine," "); ^~~~~ /usr/include/string.h:54:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1683:14: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (ops,instr); ^~~ /usr/include/string.h:54:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1683:18: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (ops,instr); ^~~~~ /usr/include/string.h:54:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1688:17: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf (instr,"%s 1-%x%x [1-%d]",ops,kanj2&0x7f,kanj3&0x7f,((kanj2&0x7f)-0x20)*100+(kanj3&0x7f)-0x20); ^~~~~ /usr/include/stdio.h:271:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ xjdfrontend.c:1697:17: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf (instr,"%s %x%x [%d:%x%x]",ops,kanj1&0x7f,kanj2&0x7f,((kanj1&0x7f)-0x20)*100+(kanj2&0x7f)-0x20,k1,k2); ^~~~~ /usr/include/stdio.h:271:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ xjdfrontend.c:1700:14: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,instr); ^~~~~ /usr/include/string.h:54:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1700:20: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,instr); ^~~~~ /usr/include/string.h:54:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1708:21: warning: passing 'unsigned char [1025]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] kptr = strstr(testline,"S"); ^~~~~~~~ /usr/include/string.h:68:26: note: passing argument to parameter here char *strstr(const char *, const char *); ^ xjdfrontend.c:1708:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] kptr = strstr(testline,"S"); ^ ~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:1715:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] karray[nok][0] = atoi(kptr+1); ^~~~~~ /usr/include/stdlib.h:101:23: note: passing argument to parameter here int atoi(const char *); ^ xjdfrontend.c:1717:21: warning: passing 'unsigned char [1025]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] kptr = strstr(testline,"B"); ^~~~~~~~ /usr/include/string.h:68:26: note: passing argument to parameter here char *strstr(const char *, const char *); ^ xjdfrontend.c:1717:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] kptr = strstr(testline,"B"); ^ ~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:1724:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] karray[nok][1] = atoi(kptr+1); ^~~~~~ /usr/include/stdlib.h:101:23: note: passing argument to parameter here int atoi(const char *); ^ xjdfrontend.c:1735:47: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (RVACTIVE && (schix == roff)) strcat (KLine,RVon); ^~~~~ /usr/include/string.h:54:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1735:53: warning: passing 'unsigned char [5]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (RVACTIVE && (schix == roff)) strcat (KLine,RVon); ^~~~ /usr/include/string.h:54:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1736:55: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (RVACTIVE && (schix == roff+srchlen)) strcat (KLine,RVoff); ^~~~~ /usr/include/string.h:54:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1736:61: warning: passing 'unsigned char [4]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (RVACTIVE && (schix == roff+srchlen)) strcat (KLine,RVoff); ^~~~~ /usr/include/string.h:54:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1740:14: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,ops); ^~~~~ /usr/include/string.h:54:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1740:20: warning: passing 'unsigned char [80]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,ops); ^~~ /usr/include/string.h:54:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1747:14: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,ops); ^~~~~ /usr/include/string.h:54:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1747:20: warning: passing 'unsigned char [80]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,ops); ^~~ /usr/include/string.h:54:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1765:17: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (KLine,RVon); ^~~~~ /usr/include/string.h:54:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1765:23: warning: passing 'unsigned char [5]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (KLine,RVon); ^~~~ /usr/include/string.h:54:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1774:16: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (KLine,RVoff); ^~~~~ /usr/include/string.h:54:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1774:22: warning: passing 'unsigned char [4]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (KLine,RVoff); ^~~~~ /usr/include/string.h:54:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1778:19: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strstr(KDNSlist,ops) != NULL) ^~~~~~~~ /usr/include/string.h:68:26: note: passing argument to parameter here char *strstr(const char *, const char *); ^ xjdfrontend.c:1778:28: warning: passing 'unsigned char [80]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strstr(KDNSlist,ops) != NULL) ^~~ /usr/include/string.h:68:40: note: passing argument to parameter here char *strstr(const char *, const char *); ^ xjdfrontend.c:1813:14: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,ops); ^~~~~ /usr/include/string.h:54:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1813:20: warning: passing 'unsigned char [80]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,ops); ^~~ /usr/include/string.h:54:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1838:40: warning: passing 'char [35]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (Dmode == 0) KFlushRes = KFlush("Continue displaying matches? (y/n)"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:753:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1839:58: warning: passing 'char [35]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((Dmode == 1)&&(KLRmode == 0)) KFlushRes = KFlush("Continue displaying matches? (y/n)"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:753:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1865:23: warning: passing 'char [32]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KFlushRes = KFlush("Continue displaying kanji (y/n)"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:753:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1889:15: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fpr = xfopen(Rname,"r", &xfilelen); ^~~~~ xjdfrontend.c:196:21: note: passing argument to parameter 'file_name' here FILE *xfopen(char *file_name, char *file_mode, int *xfilelen); ^ xjdfrontend.c:1893:17: warning: passing 'unsigned char [20]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] errf = (fgets(rstr,19,fpr) == NULL); ^~~~ /usr/include/stdio.h:229:30: note: passing argument to parameter here char *fgets(char * __restrict, int, FILE * __restrict); ^ xjdfrontend.c:1895:21: warning: passing 'unsigned char [20]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] while(rstr[strlen(rstr)-1] < 0x20) rstr[strlen(rstr)-1] = 0; ^~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:1895:50: warning: passing 'unsigned char [20]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] while(rstr[strlen(rstr)-1] < 0x20) rstr[strlen(rstr)-1] = 0; ^~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:1901:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] radnos[i] = atoi(rstr+4); ^~~~~~ /usr/include/stdlib.h:101:23: note: passing argument to parameter here int atoi(const char *); ^ xjdfrontend.c:1905:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] radnos[i] = atoi(rstr+3); ^~~~~~ /usr/include/stdlib.h:101:23: note: passing argument to parameter here int atoi(const char *); ^ xjdfrontend.c:1917:16: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] flic = xfopen(GPL_File,"r", &xfilelen); ^~~~~~~~ xjdfrontend.c:196:21: note: passing argument to parameter 'file_name' here FILE *xfopen(char *file_name, char *file_mode, int *xfilelen); ^ xjdfrontend.c:1922:9: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fgets(KLine,81,flic); ^~~~~ /usr/include/stdio.h:229:30: note: passing argument to parameter here char *fgets(char * __restrict, int, FILE * __restrict); ^ xjdfrontend.c:1925:11: warning: passing 'char [1]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KFlush(""); ^~ xjdfrontend.c:753:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1928:16: warning: passing 'unsigned char [2000]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] KLine[strlen(KLine)-1] = 0; ^~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:1929:14: warning: passing 'char [32]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(!KFlush("Continue Licence Display? (y/n)")) return; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:753:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1941:15: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fpr = xfopen(Rname,"r", &xfilelen); ^~~~~ xjdfrontend.c:196:21: note: passing argument to parameter 'file_name' here FILE *xfopen(char *file_name, char *file_mode, int *xfilelen); ^ xjdfrontend.c:1950:17: warning: passing 'unsigned char [20]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] errf = (fgets(rstr,19,fpr) == NULL); ^~~~ /usr/include/stdio.h:229:30: note: passing argument to parameter here char *fgets(char * __restrict, int, FILE * __restrict); ^ xjdfrontend.c:1953:11: warning: passing 'char [1]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KFlush(""); ^~ xjdfrontend.c:753:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1957:21: warning: passing 'unsigned char [20]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] while(rstr[strlen(rstr)-1] < 0x20) rstr[strlen(rstr)-1] = 0; ^~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:1957:50: warning: passing 'unsigned char [20]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] while(rstr[strlen(rstr)-1] < 0x20) rstr[strlen(rstr)-1] = 0; ^~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:1958:20: warning: passing 'unsigned char [20]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((rstr[strlen(rstr)-2] == ' ')&&(rstr[strlen(rstr)-1] == '0')) ^~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:1958:52: warning: passing 'unsigned char [20]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((rstr[strlen(rstr)-2] == ' ')&&(rstr[strlen(rstr)-1] == '0')) ^~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:1960:23: warning: passing 'char [36]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KFlushRes = KFlush("Continue displaying radicals? (y/n)"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:753:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1962:11: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine," "); ^~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1963:23: warning: passing 'char [36]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KFlushRes = KFlush("Continue displaying radicals? (y/n)"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:753:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1966:12: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(tempout,"%s Stroke Radicals ",rstr); ^~~~~~~ /usr/include/stdio.h:271:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ xjdfrontend.c:1967:11: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,tempout); ^~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1967:17: warning: passing 'unsigned char [80]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,tempout); ^~~~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1968:23: warning: passing 'char [36]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KFlushRes = KFlush("Continue displaying radicals? (y/n)"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:753:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1970:11: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine," "); ^~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1971:23: warning: passing 'char [36]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KFlushRes = KFlush("Continue displaying radicals? (y/n)"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:753:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1975:10: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,"\t"); ^~~~~ /usr/include/string.h:54:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1980:11: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(tempout,"%s ",rstr+3); ^~~~~~~ /usr/include/stdio.h:271:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ xjdfrontend.c:1981:10: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,tempout); ^~~~~ /usr/include/string.h:54:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1981:16: warning: passing 'unsigned char [80]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,tempout); ^~~~~~~ /usr/include/string.h:54:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:1983:9: warning: passing 'char [1]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KFlush(""); ^~ xjdfrontend.c:753:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:2023:10: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(instr,instr+1); ^~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2023:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(instr,instr+1); ^~~~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2028:10: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(instr,instr+1); ^~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2028:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(instr,instr+1); ^~~~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2034:10: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(instr,instr+1); ^~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2034:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(instr,instr+1); ^~~~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2073:9: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(fbuff,instr); ^~~~~ /usr/include/string.h:54:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2073:15: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(fbuff,instr); ^~~~~ /usr/include/string.h:54:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2107:11: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(fbuff,instr); ^~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2107:17: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(fbuff,instr); ^~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2124:12: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(fbuff,instr); ^~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2124:18: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(fbuff,instr); ^~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2125:17: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((strlen(fbuff) % 2) > 0) fbuff[strlen(fbuff)-1] = 0; ^~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:2125:47: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((strlen(fbuff) % 2) > 0) fbuff[strlen(fbuff)-1] = 0; ^~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:2141:20: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ( fbuff[strlen(fbuff)-1] < 0x20) fbuff[strlen(fbuff)-1] = 0; ^~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:2141:51: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ( fbuff[strlen(fbuff)-1] < 0x20) fbuff[strlen(fbuff)-1] = 0; ^~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:2204:24: warning: passing 'unsigned char [81]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (i = 0; strcmp(Help[i], "$$$")!=0;i++) { ^~~~~~~ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ xjdfrontend.c:2205:13: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine, Help[i]); ^~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2205:20: warning: passing 'unsigned char [81]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine, Help[i]); ^~~~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2206:18: warning: passing 'char [29]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!KFlush("Continue Help Display? (y/n)")) break; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:753:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:2251:15: warning: implicit declaration of function 'iswprint' is invalid in C99 [-Wimplicit-function-declaration] } else if (iswprint(wbuf[length])) { ^ xjdfrontend.c:2268:10: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(fbuff, ""); /* oops memory */ ^~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2274:11: warning: assigning to 'char *' from 'unsigned char [512]' converts between pointers to integer types with different sign [-Wpointer-sign] outbuf_p = fbuff; ^ ~~~~~ xjdfrontend.c:2284:21: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] if (iconv(descr, &inbuf_p, &inbytesleft, &outbuf_p, &outbytesleft) == -1) ^~~~~~~~ /usr/include/iconv.h:46:47: note: passing argument to parameter here size_t iconv(iconv_t, const char ** __restrict, ^ xjdfrontend.c:2284:31: warning: passing 'int *' to parameter of type 'size_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (iconv(descr, &inbuf_p, &inbytesleft, &outbuf_p, &outbytesleft) == -1) ^~~~~~~~~~~~ /usr/include/iconv.h:47:27: note: passing argument to parameter here size_t * __restrict, char ** __restrict, ^ xjdfrontend.c:2284:56: warning: passing 'int *' to parameter of type 'size_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (iconv(descr, &inbuf_p, &inbytesleft, &outbuf_p, &outbytesleft) == -1) ^~~~~~~~~~~~~ /usr/include/iconv.h:48:27: note: passing argument to parameter here size_t * __restrict); ^ xjdfrontend.c:2327:15: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] iconv(descr, &in, &inbytesleft, &out, &outlen); ^~~ /usr/include/iconv.h:46:47: note: passing argument to parameter here size_t iconv(iconv_t, const char ** __restrict, ^ xjdfrontend.c:2327:20: warning: passing 'int *' to parameter of type 'size_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] iconv(descr, &in, &inbytesleft, &out, &outlen); ^~~~~~~~~~~~ /usr/include/iconv.h:47:27: note: passing argument to parameter here size_t * __restrict, char ** __restrict, ^ xjdfrontend.c:2327:40: warning: passing 'int *' to parameter of type 'size_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] iconv(descr, &in, &inbytesleft, &out, &outlen); ^~~~~~~ /usr/include/iconv.h:48:27: note: passing argument to parameter here size_t * __restrict); ^ xjdfrontend.c:2353:11: warning: passing 'char [8]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] GetKBStr("FILTER:"); ^~~~~~~~~ xjdfrontend.c:2334:30: note: passing argument to parameter 'prompt' here void GetKBStr(unsigned char *prompt) ^ xjdfrontend.c:2354:9: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(SingleFilter,fbuff); ^~~~~~~~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2354:22: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(SingleFilter,fbuff); ^~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2355:13: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(fbuff) >= 2) ^~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:2424:13: warning: passing 'unsigned char [21]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(RKTarg) <= 2) ^~~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:2432:22: warning: passing 'unsigned char [21]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (l=2; l< strlen(RKTarg); l+=2) ^~~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:2463:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] printf(" (%d) ",strlen(RKSet[NoSets-1])/2); ^~~~~~~~~~~~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:2475:14: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fk = xfopen(RKname,"r", &xfilelen); ^~~~~~ xjdfrontend.c:196:21: note: passing argument to parameter 'file_name' here FILE *xfopen(char *file_name, char *file_mode, int *xfilelen); ^ xjdfrontend.c:2484:9: warning: passing 'unsigned char [1025]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fgets(testline,199,fk); ^~~~~~~~ /usr/include/stdio.h:229:30: note: passing argument to parameter here char *fgets(char * __restrict, int, FILE * __restrict); ^ xjdfrontend.c:2487:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ptr = strtok(testline+4," "); ^~~~~~~~~~ /usr/include/string.h:69:31: note: passing argument to parameter here char *strtok(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2487:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ptr = strtok(testline+4," "); ^ ~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:2488:12: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] l = atoi(ptr); ^~~ /usr/include/stdlib.h:101:23: note: passing argument to parameter here int atoi(const char *); ^ xjdfrontend.c:2492:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (n = 0; n < strlen(ptr); n++) ^~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:2502:9: warning: passing 'char [1]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KFlush(""); ^~ xjdfrontend.c:753:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:2510:11: warning: passing 'char [13]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] GetKBStr("Which Kanji:"); ^~~~~~~~~~~~~~ xjdfrontend.c:2334:30: note: passing argument to parameter 'prompt' here void GetKBStr(unsigned char *prompt) ^ xjdfrontend.c:2512:9: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,"Kanji: "); ^~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2515:9: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine," Elements: "); ^~~~~ /usr/include/string.h:54:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2530:9: warning: passing 'char [1]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KFlush(""); ^~ xjdfrontend.c:753:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:2540:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (i = 0; i < strlen(RKSet[NoSets-1]); i+=2) ^~~~~~~~~~~~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:2558:12: warning: passing 'char [13]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] GetKBStr("Lookup Code:"); ^~~~~~~~~~~~~~ xjdfrontend.c:2334:30: note: passing argument to parameter 'prompt' here void GetKBStr(unsigned char *prompt) ^ xjdfrontend.c:2562:15: warning: passing 'unsigned char [21]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(RKTarg) == 20) ^~~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:2567:11: warning: passing 'unsigned char [21]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(RKTarg,ops); ^~~~~~ /usr/include/string.h:54:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2567:18: warning: passing 'unsigned char [3]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(RKTarg,ops); ^~~ /usr/include/string.h:54:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2570:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(RKSet[NoSets-1]) == 0) continue; ^~~~~~~~~~~~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:2571:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(RKSet[NoSets-1]) <=RADLOOKLIM) RadKDisp(); ^~~~~~~~~~~~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:2605:12: warning: passing 'unsigned char [1025]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(testline," >= "); ^~~~~~~~ /usr/include/string.h:54:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2611:12: warning: passing 'unsigned char [1025]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(testline," <= "); ^~~~~~~~ /usr/include/string.h:54:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2614:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] kstrokelim = atoi(fbuff+i); ^~~~~~~ /usr/include/stdlib.h:101:23: note: passing argument to parameter here int atoi(const char *); ^ xjdfrontend.c:2623:15: warning: passing 'unsigned char [21]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(RKTarg) > 0) RadBuild(); ^~~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:2625:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(RKSet[NoSets-1]) <=RADLOOKLIM) RadKDisp(); ^~~~~~~~~~~~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:2631:20: warning: passing 'unsigned char [21]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (i >= strlen(RKTarg)/2) ^~~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:2636:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(RKTarg+i*2,RKTarg+i*2+2); ^~~~~~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2636:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(RKTarg+i*2,RKTarg+i*2+2); ^~~~~~~~~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2637:14: warning: passing 'unsigned char [21]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strlen(RKTarg) > 0) RadBuild(); ^~~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:2638:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(RKSet[NoSets-1]) <=RADLOOKLIM) RadKDisp(); ^~~~~~~~~~~~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:2650:11: warning: passing 'char [12]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] GetKBStr("KANJI/KANA:"); ^~~~~~~~~~~~~ xjdfrontend.c:2334:30: note: passing argument to parameter 'prompt' here void GetKBStr(unsigned char *prompt) ^ xjdfrontend.c:2784:11: warning: passing 'char [20]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] GetKBStr("Dictionary Numbers:"); ^~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:2334:30: note: passing argument to parameter 'prompt' here void GetKBStr(unsigned char *prompt) ^ xjdfrontend.c:2785:16: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(gdtemp,fbuff); ^~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2878:10: warning: passing 'unsigned char [10]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(fff,"OFF"); ^~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2879:23: warning: passing 'unsigned char [10]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(filton[j])strcpy(fff,"ON "); ^~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2921:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(int argc, char **argv) ^~~~ xjdfrontend.c:2944:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(dicenv) <= 2) ^~~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:2946:29: warning: implicit declaration of function 'getcwd' is invalid in C99 [-Wimplicit-function-declaration] dicenv = (unsigned char *)getcwd(ENVname,sizeof(ENVname)); ^ xjdfrontend.c:2955:11: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (ENVname,dicenv); ^~~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2955:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (ENVname,dicenv); ^~~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2958:17: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (Dnamet[1],"edict"); ^~~~~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2959:17: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (Dnamet[0], "kanjidic"); ^~~~~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2960:17: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (XJDXnamet[1], "edict.xjdx"); ^~~~~~~~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2961:17: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (XJDXnamet[0], "kanjidic.xjdx"); ^~~~~~~~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2971:11: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xap,argv[i]); ^~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2976:13: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(strtmp,xap+2); ^~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2976:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(strtmp,xap+2); ^~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2981:13: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xap,argv[i]); ^~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2982:14: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (strtmp,xap); ^~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2982:21: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (strtmp,xap); ^~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2984:13: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (cl_rcfile,strtmp); ^~~~~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2984:23: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (cl_rcfile,strtmp); ^~~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2991:13: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(strtmp,xap+2); ^~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2991:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(strtmp,xap+2); ^~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2996:13: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xap,argv[i]); ^~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2997:14: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (strtmp,xap); ^~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:2997:21: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (strtmp,xap); ^~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3060:13: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(strtmp,xap+2); ^~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3060:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(strtmp,xap+2); ^~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3065:13: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xap,argv[i]); ^~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3066:14: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (strtmp,xap); ^~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3066:21: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (strtmp,xap); ^~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3068:13: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (Clip_File,strtmp); ^~~~~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3068:23: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (Clip_File,strtmp); ^~~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3084:13: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(strtmp,xap+2); ^~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3084:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(strtmp,xap+2); ^~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3089:13: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xap,argv[i]); ^~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3090:14: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (strtmp,xap); ^~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3090:21: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (strtmp,xap); ^~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3092:13: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (Dnamet[thisdic],strtmp); ^~~~~~~~~~~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3092:29: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (Dnamet[thisdic],strtmp); ^~~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3093:13: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (XJDXnamet[thisdic],strtmp); ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3093:32: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (XJDXnamet[thisdic],strtmp); ^~~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3094:13: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (XJDXnamet[thisdic],".xjdx"); ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:54:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3103:13: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(strtmp,xap+2); ^~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3103:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(strtmp,xap+2); ^~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3108:13: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xap,argv[i]); ^~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3109:14: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (strtmp,xap); ^~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3109:21: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (strtmp,xap); ^~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3111:13: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (Dnamet[0],strtmp); ^~~~~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3111:23: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (Dnamet[0],strtmp); ^~~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3112:13: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (XJDXnamet[0],strtmp); ^~~~~~~~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3112:26: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (XJDXnamet[0],strtmp); ^~~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3113:13: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (XJDXnamet[0],".xjdx"); ^~~~~~~~~~~~ /usr/include/string.h:54:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3188:11: warning: passing 'unsigned char [99]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(kbprompt,"%sXJDIC [%d:%s] SEARCH KEY:%s ",RVon,CurrDic,DicName(CurrDic),RVoff); ^~~~~~~~ /usr/include/stdio.h:271:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ xjdfrontend.c:3189:11: warning: passing 'unsigned char [99]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(kbprompt2,"XJDIC [%d:%s] SEARCH KEY:",CurrDic,DicName(CurrDic)); ^~~~~~~~~ /usr/include/stdio.h:271:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ xjdfrontend.c:3192:12: warning: passing 'unsigned char [99]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(kbprompt,"%sXJDIC [GLOBAL] SEARCH KEY:%s ",RVon,RVoff); ^~~~~~~~ /usr/include/stdio.h:271:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ xjdfrontend.c:3193:12: warning: passing 'unsigned char [99]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(kbprompt2,"XJDIC [GLOBAL] SEARCH KEY: "); ^~~~~~~~~ /usr/include/stdio.h:271:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ xjdfrontend.c:3230:11: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration] pid = getpid(); ^ xjdfrontend.c:3245:25: warning: passing 'unsigned char [81]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (ip = 0; strcmp(Help[ip],"$$$")!=0;ip++) ^~~~~~~~ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ xjdfrontend.c:3247:13: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,Help[ip]); ^~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3247:19: warning: passing 'unsigned char [81]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,Help[ip]); ^~~~~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3248:17: warning: passing 'char [29]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(!KFlush("Continue Help Display? (y/n)")) break; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:753:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:3264:12: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(fbuff,instr); ^~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3264:18: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(fbuff,instr); ^~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3297:13: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(fbuff,instr); ^~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3297:19: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(fbuff,instr); ^~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3298:18: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((strlen(fbuff) % 2) > 0) fbuff[strlen(fbuff)-1] = 0; ^~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:3298:48: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((strlen(fbuff) % 2) > 0) fbuff[strlen(fbuff)-1] = 0; ^~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:3480:15: warning: passing 'char [12]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] GetKBStr("INDEX CODE:"); ^~~~~~~~~~~~~ xjdfrontend.c:2334:30: note: passing argument to parameter 'prompt' here void GetKBStr(unsigned char *prompt) ^ xjdfrontend.c:3483:13: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(fbuff," "); ^~~~~ /usr/include/string.h:54:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3492:17: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(strtmp,"%d",radnos[i]); ^~~~~~ /usr/include/stdio.h:271:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ xjdfrontend.c:3493:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(fbuff+1,strtmp); ^~~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3493:24: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(fbuff+1,strtmp); ^~~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3494:16: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(fbuff," "); ^~~~~ /usr/include/string.h:54:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3501:16: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(fbuff,"B1 "); ^~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3507:13: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fgets(instr,3,stdin); ^~~~~ /usr/include/stdio.h:229:30: note: passing argument to parameter here char *fgets(char * __restrict, int, FILE * __restrict); ^ xjdfrontend.c:3508:16: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = atoi(instr); ^~~~~ /usr/include/stdlib.h:101:23: note: passing argument to parameter here int atoi(const char *); ^ xjdfrontend.c:3509:15: warning: passing 'unsigned char [10]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(strfilt,"S%d",i); ^~~~~~~ /usr/include/stdio.h:271:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ xjdfrontend.c:3514:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (atoi(strfilt+1) == 0) strf = FALSE; ^~~~~~~~~ /usr/include/stdlib.h:101:23: note: passing argument to parameter here int atoi(const char *); ^ xjdfrontend.c:3528:13: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(fbuff,instr); ^~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3528:19: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(fbuff,instr); ^~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3562:6: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration] sleep(2); ^ xjdfrontend.c:3563:20: warning: passing 'unsigned char [100]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] fclip = fopen(Clip_File,"r"); ^~~~~~~~~ xjdfrontend.c:3567:14: warning: passing 'unsigned char [51]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(clipstring1,"XXXX"); ^~~~~~~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3568:14: warning: passing 'unsigned char [51]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(clipstring2,"XXXX"); ^~~~~~~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3572:12: warning: passing 'unsigned char [51]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fgets(clipstring1,50,fclip); ^~~~~~~~~~~ /usr/include/stdio.h:229:30: note: passing argument to parameter here char *fgets(char * __restrict, int, FILE * __restrict); ^ xjdfrontend.c:3574:29: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (clipstring1[strlen(clipstring1)-1] < 32) clipstring1[strlen(clipstring1)-1] = 0; ^~~~~~~~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:3574:70: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (clipstring1[strlen(clipstring1)-1] < 32) clipstring1[strlen(clipstring1)-1] = 0; ^~~~~~~~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:3575:17: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(clipstring1,clipstring2) == 0) ^~~~~~~~~~~ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ xjdfrontend.c:3575:29: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(clipstring1,clipstring2) == 0) ^~~~~~~~~~~ /usr/include/string.h:56:39: note: passing argument to parameter here int strcmp(const char *, const char *); ^ xjdfrontend.c:3581:14: warning: passing 'unsigned char [51]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(clipstring2,clipstring1); ^~~~~~~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3581:26: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(clipstring2,clipstring1); ^~~~~~~~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3582:14: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(instr,clipstring1); ^~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3582:20: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(instr,clipstring1); ^~~~~~~~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xjdfrontend.c:3585:22: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] convert_to_euc(instr, fbuff, sizeof(fbuff)); ^~~~~ xjdfrontend.c:2305:27: note: passing argument to parameter 'in' here void convert_to_euc(char *in, char *out, int outlen) ^ xjdfrontend.c:3585:29: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] convert_to_euc(instr, fbuff, sizeof(fbuff)); ^~~~~ xjdfrontend.c:2305:37: note: passing argument to parameter 'out' here void convert_to_euc(char *in, char *out, int outlen) ^ xjdfrontend.c:3589:18: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(fbuff, "quit") == 0) { ^~~~~ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ xjdfrontend.c:3606:13: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strlen(fbuff) < 2) continue; ^~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:3607:11: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(tempout,"\nSearching for: %s%s%s\n",RVon,fbuff,RVoff); ^~~~~~~ /usr/include/stdio.h:271:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ xjdfrontend.c:3612:15: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] j = strlen(fbuff); ^~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xjdfrontend.c:67:25: error: tentative definition has type 'struct sgttyb' that is never completed static struct sgttyb orig,new; ^ xjdfrontend.c:67:15: note: forward declaration of 'struct sgttyb' static struct sgttyb orig,new; ^ xjdfrontend.c:67:30: error: tentative definition has type 'struct sgttyb' that is never completed static struct sgttyb orig,new; ^ xjdfrontend.c:67:15: note: forward declaration of 'struct sgttyb' static struct sgttyb orig,new; ^ 376 warnings and 9 errors generated. *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/misc/xjdic/work *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/misc/xjdic *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/misc/xjdic