/usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:114:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 114 | buffered_fread(unsigned char *array, unsigned int size) { | ^~~~~~~~~~~~~~ /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c: In function ‘buffered_fread’: /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:128:39: warning: statement with no effect [-Wunused-value] 128 | Slackware package maker, version 3.14159265. Searching for symbolic links: No symbolic links were found, so we won't make an installation script. You can make your own later in ./install/doinst.sh and rebuild the package if you like. This next step is optional - you can set the directories in your package to some sane permissions. If any of the directories in your package have special permissions, then DO NOT reset them here! Would you like to reset all directory permissions to 755 (drwxr-xr-x) and directory ownerships to root.root ([y]es, [n]o)? n Creating Slackware package: /usr/src/slapt-src-i486/system/bin2iso/bin2iso-19b-i586-2salix15.0.txz Slackware package /usr/src/slapt-src-i486/system/bin2iso/bin2iso-19b-i586-2salix15.0.txz created. Installing package bin2iso-19b-i586-2salix15.0... | bin2iso (RAW to ISO/WAV converter) | | Converts RAW format (.bin) files to ISO/WAV format. | | Homepage: http://users.eastlink.ca/~doiron/bin2iso/ | | | | | | | | differ in signedness [-Wpointer-sign] 252 | strcpy(track->name, sBinFilename); | ~~~~~^~~~~~ | | | unsigned char * In file included from /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:2: /usr/include/string.h:125:39: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 125 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:254:16: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign] 254 | strcat(track->name, "-"); | ~~~~~^~~~~~ | | | unsigned char * In file included from /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:2: /usr/include/string.h:133:39: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 133 | extern char *strcat (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:255:16: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign] 255 | strcat(track->name, track->num); | ~~~~~^~~~~~ | | | unsigned char * In file included from /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:2: /usr/include/string.h:133:39: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 133 | extern char *strcat (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:255:29: warning: pointer targets in passing argument 2 of ‘strcat’ differ in signedness [-Wpointer-sign] 255 | strcat(track->name, track->num); | ~~~~~^~~~~ | | | unsigned char * In file included from /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:2: /usr/include/string.h:133:70: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 133 | extern char *strcat (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:262:19: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign] 262 | strcat(track->name, ".iso"); | ~~~~~^~~~~~ | | | unsigned char * In file included from /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:2: /usr/include/string.h:133:39: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 133 | extern char *strcat (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:264:19: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign] 264 | strcat(track->name, ".wav"); | ~~~~~^~~~~~ | | | unsigned char * In file included from /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:2: /usr/include/string.h:133:39: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 133 | extern char *strcat (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:266:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘unsigned char *’ [-Wformat=] 266 | printf("Track %d Unsupported mode\n", track->num); | ~^ ~~~~~~~~~~ | | | | int unsigned char * | %hhn /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:282:46: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 282 | min = ((Line[13]-'0')<<4) | Line[14]-'0'; | ~~~~~~~~^~~~ /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:283:46: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 283 | sec = ((Line[16]-'0')<<4) | Line[17]-'0'; | ~~~~~~~~^~~~ /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:284:48: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 284 | block = ((Line[19]-'0')<<4) | Line[20]-'0'; | ~~~~~~~~^~~~ /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c: In function ‘dotrack’: /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:329:48: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] 329 | if(startidx != 0) printf("\nNote: PreGap = %d frames\n", startidx-preidx); | ~^ ~~~~~~~~~~~~~~~ | | | | int long int | %ld /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:334:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] 334 | printf("Creating %s (%06d,%06d) ", sOutFilename, startidx, endidx-1); | ~~~^ ~~~~~~~~ | | | | int long int | %06ld /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:334:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] 334 | printf("Creating %s (%06d,%06d) ", sOutFilename, startidx, endidx-1); | ~~~^ ~~~~~~~~ | | | | int long int | %06ld /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:336:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] 336 | printf("Converting (%06d,%06d) ", startidx, endidx-1); | ~~~^ ~~~~~~~~ | | | | int long int | %06ld /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:336:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] 336 | printf("Converting (%06d,%06d) ", startidx, endidx-1); | ~~~^ ~~~~~~~~ | | | | int long int | %06ld /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:415:68: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] 415 | if (startidx%PROG_INTERVAL == 0) { printf("\b\b\b\b\b\b%06d", startidx); } | ~~~^ ~~~~~~~~ | | | | int long int | %06ld /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:422:68: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] 422 | if (startidx%PROG_INTERVAL == 0) { printf("\b\b\b\b\b\b%06d", startidx); } | ~~~^ ~~~~~~~~ | | | | int long int | %06ld /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:496:68: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] 496 | if (startidx%PROG_INTERVAL == 0) { printf("\b\b\b\b\b\b%06d", startidx); } | ~~~^ ~~~~~~~~ | | | | int long int | %06ld /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c: In function ‘checkGaps’: /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:604:8: warning: unused variable ‘c’ [-Wunused-variable] 604 | int c = 0; | ^ /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c: In function ‘main’: /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:696:66: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] 696 | printf(" -nob - Doesn't use overburn data past %ld sectors. \n", CD74_MAX_SECTORS); | ~~^ | | | long int | %d /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:792:18: warning: too many arguments for format [-Wformat-extra-args] 792 | printf ("Error: Filename not found on first line of cuefile.\n", argv[1]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:882:29: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 882 | strcpy(tracks[i].name, "obdatatemp.bin"); | ~~~~~~~~~^~~~~ | | | unsigned char * In file included from /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:2: /usr/include/string.h:125:39: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 125 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:927:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 927 | printf("%s (%3d Mb) - sectors %06ld:%06ld (offset %09ld:%09ld)\n", | ~~^ | | | int | %3ld 928 | tracks[i].name, 929 | tracks[i].size/(1024*1024), | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:943:49: warning: pointer targets in passing argument 2 of ‘rename’ differ in signedness [-Wpointer-sign] 943 | if( 0 != rename(sBinFilename, tracks[0].name) ) { | ~~~~~~~~~^~~~~ | | | unsigned char * In file included from /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:1: /usr/include/stdio.h:148:51: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 148 | extern int rename (const char *__old, const char *__new) __THROW; | ~~~~~~~~~~~~^~~~~ /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:961:40: warning: pointer targets in passing argument 2 of ‘strcat’ differ in signedness [-Wpointer-sign] 961 | strcat(sOutFilename, trackA.name); | ~~~~~~^~~~~ | | | unsigned char * In file included from /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:2: /usr/include/string.h:133:70: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 133 | extern char *strcat (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:963:50: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 963 | if ( ((doOneTrack == 1) && strcmp(trackA.num, sTrack)==0) || (doOneTrack == 0) ) { | ~~~~~~^~~~ | | | unsigned char * In file included from /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:2: /usr/include/string.h:140:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:982:26: warning: implicit declaration of function ‘ftruncate’; did you mean ‘strncat’? [-Wimplicit-function-declaration] 982 | if( -1 == ftruncate(fileno(fdBinFile), trackA.offset1) ) { | ^~~~~~~~~ | strncat /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:989:52: warning: pointer targets in passing argument 2 of ‘rename’ differ in signedness [-Wpointer-sign] 989 | if( 0 != rename(sBinFilename, trackA.name) ) { | ~~~~~~^~~~~ | | | unsigned char * In file included from /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:1: /usr/include/stdio.h:148:51: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 148 | extern int rename (const char *__old, const char *__new) __THROW; | ~~~~~~~~~~~~^~~~~ /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:999:40: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign] 999 | fdBinFile = fopen(trackA.name, "rb+"); // gets closed in doTrack... | ~~~~~~^~~~~ | | | unsigned char * In file included from /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:1: /usr/include/stdio.h:246:44: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 246 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:648:22: warning: unused variable ‘count’ [-Wunused-variable] 648 | unsigned long int count = 0; | ^~~~~ /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c: In function ‘buffered_fwrite’: /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:174:18: warning: ‘readpos’ may be used uninitialized in this function [-Wmaybe-uninitialized] 174 | if(0 != fseek(fdOutFile, readpos, SEEK_SET)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c: In function ‘flush_buffers’: /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:215:15: warning: ‘readpos’ may be used uninitialized in this function [-Wmaybe-uninitialized] 215 | if(0 != fseek(fdOutFile, readpos, SEEK_SET)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c: In function ‘doCueFile’: /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:552:39: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 552 | sprintf(mode, "MODE%d/2352", buf[15]); | ^ /usr/src/slapt-src-i486/system/bin2iso/bin2iso19b_linux.c:552:13: note: ‘sprintf’ output between 11 and 13 bytes into a destination of size 12 552 | sprintf(mode, "MODE%d/2352", buf[15]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ install/ install/slack-desc usr/ usr/bin/ usr/bin/bin2iso usr/doc/ usr/doc/bin2iso-19b/ usr/doc/bin2iso-19b/bin2iso.SlackBuild usr/doc/bin2iso-19b/readme.txt