<86>Nov 17 10:08:52 userdel[1536]: delete user 'rooter' <86>Nov 17 10:08:52 userdel[1536]: removed group 'rooter' owned by 'rooter' <86>Nov 17 10:08:52 userdel[1536]: removed shadow group 'rooter' owned by 'rooter' <86>Nov 17 10:08:52 groupadd[1541]: group added to /etc/group: name=rooter, GID=567 <86>Nov 17 10:08:52 groupadd[1541]: group added to /etc/gshadow: name=rooter <86>Nov 17 10:08:52 groupadd[1541]: new group: name=rooter, GID=567 <86>Nov 17 10:08:52 useradd[1545]: new user: name=rooter, UID=567, GID=567, home=/root, shell=/bin/bash <86>Nov 17 10:08:52 userdel[1559]: delete user 'builder' <86>Nov 17 10:08:52 userdel[1559]: removed group 'builder' owned by 'builder' <86>Nov 17 10:08:52 userdel[1559]: removed shadow group 'builder' owned by 'builder' <86>Nov 17 10:08:52 groupadd[1571]: group added to /etc/group: name=builder, GID=568 <86>Nov 17 10:08:52 groupadd[1571]: group added to /etc/gshadow: name=builder <86>Nov 17 10:08:52 groupadd[1571]: new group: name=builder, GID=568 <86>Nov 17 10:08:52 useradd[1578]: new user: name=builder, UID=568, GID=568, home=/usr/src, shell=/bin/bash <13>Nov 17 10:08:56 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Nov 17 10:08:56 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/sc-7.16-alt3.qa1.nosrc.rpm Installing sc-7.16-alt3.qa1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.50803 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf sc-7.16 + echo 'Source #0 (sc-7.16.tar):' Source #0 (sc-7.16.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/sc-7.16.tar + cd sc-7.16 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.50803 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd sc-7.16 + make 'CFLAGS=-DSYSV3 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' LIBDIR=/usr/share/doc/sc-7.16 make: Entering directory '/usr/src/RPM/BUILD/sc-7.16' gcc -DSYSV3 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DDFLT_PAGER=\"less\" -c abbrev.c In file included from abbrev.c:24: sc.h:307: warning: "is_cleared" redefined #define is_cleared 0200 In file included from abbrev.c:22: /usr/include/curses.h:1410: note: this is the location of the previous definition #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) In file included from abbrev.c:24: abbrev.c: In function 'add_abbr': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ abbrev.c:41:6: note: in expansion of macro 'error' error("No abbreviations defined"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ abbrev.c:57:3: note: in expansion of macro 'error' error("Can't open pipe to %s", pager); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ abbrev.c:82:3: note: in expansion of macro 'error' error("Invalid abbreviation: %s", string); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ abbrev.c:89:3: note: in expansion of macro 'error' error("Invalid abbreviation: %s", string); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ abbrev.c:97:6: note: in expansion of macro 'error' error("abbrev \"%s %s\"", a->abbr, a->exp); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ abbrev.c:100:6: note: in expansion of macro 'error' error("abreviation \"%s\" doesn't exist", string); ^~~~~ gcc -DSYSV3 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DDOBACKUPS -c cmds.c In file included from cmds.c:31: sc.h:307: warning: "is_cleared" redefined #define is_cleared 0200 In file included from cmds.c:23: /usr/include/curses.h:1410: note: this is the location of the previous definition #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) In file included from cmds.c:31: cmds.c: In function 'deleterow': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:327:2: note: in expansion of macro 'error' error(buf); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:333:6: note: in expansion of macro 'error' error("Locked cells encountered. Nothing changed"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:430:6: note: in expansion of macro 'error' error("Locked cells encountered. Nothing changed"); ^~~~~ cmds.c: In function 'yankrow': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:489:2: note: in expansion of macro 'error' error(buf); ^~~~~ cmds.c: In function 'yankcol': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:544:2: note: in expansion of macro 'error' error(buf); ^~~~~ cmds.c: In function 'valueize_area': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:745:3: note: in expansion of macro 'error' error(" Cell %s%d is locked", coltoa(c), r); ^~~~~ cmds.c: In function 'pullcells': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:777:2: note: in expansion of macro 'error' error("No data to pull"); ^~~~~ cmds.c: In function 'colshow_op': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:949:2: note: in expansion of macro 'error' error("No hidden columns to show"); ^~~~~ cmds.c: In function 'rowshow_op': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:971:2: note: in expansion of macro 'error' error("No hidden rows to show"); ^~~~~ cmds.c: In function 'get_rcqual': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:990:5: note: in expansion of macro 'error' error("%sow/column: r: row c: column%s", ^~~~~ cmds.c: In function 'closecol': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:1215:2: note: in expansion of macro 'error' error(buf); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:1219:2: note: in expansion of macro 'error' error("Locked cells encountered. Nothing changed"); ^~~~~ cmds.c: In function 'doend': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:1394:2: note: in expansion of macro 'error' error (""); /* clear line */ ^~~~~ cmds.c: In function 'doformat': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:1440:2: note: in expansion of macro 'error' error("Width too small - setting to 1"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:1445:2: note: in expansion of macro 'error' error("Width too large - Maximum = %d", COLS - rescol - 2); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:1450:2: note: in expansion of macro 'error' error("Precision too large"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:1456:2: note: in expansion of macro 'error' error("Format statement failed to create implied column %d", c2); ^~~~~ cmds.c: In function 'formatcol': cmds.c:1471:1: warning: type of 'arg' defaults to 'int' [-Wimplicit-int] formatcol(arg) ^~~~~~~~~ In file included from cmds.c:31: sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:1477:5: note: in expansion of macro 'error' error("Current format is %d %d %d", ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:1550:7: note: in expansion of macro 'error' error("Current format is %d %d %d", ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:1555:7: note: in expansion of macro 'error' error("Define format type (0-9):"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:1569:4: note: in expansion of macro 'error' error(""); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:1571:4: note: in expansion of macro 'error' error("Invalid format type"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:1582:2: note: in expansion of macro 'error' error("Current format is %d %d %d", ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:1602:2: note: in expansion of macro 'error' error(""); ^~~~~ cmds.c: In function 'ljustify': cmds.c:1606:1: warning: type of 'sr' defaults to 'int' [-Wimplicit-int] ljustify(sr, sc, er, ec) ^~~~~~~~ cmds.c:1606:1: warning: type of 'sc' defaults to 'int' [-Wimplicit-int] cmds.c:1606:1: warning: type of 'er' defaults to 'int' [-Wimplicit-int] cmds.c:1606:1: warning: type of 'ec' defaults to 'int' [-Wimplicit-int] cmds.c: In function 'rjustify': cmds.c:1635:1: warning: type of 'sr' defaults to 'int' [-Wimplicit-int] rjustify(sr, sc, er, ec) ^~~~~~~~ cmds.c:1635:1: warning: type of 'sc' defaults to 'int' [-Wimplicit-int] cmds.c:1635:1: warning: type of 'er' defaults to 'int' [-Wimplicit-int] cmds.c:1635:1: warning: type of 'ec' defaults to 'int' [-Wimplicit-int] cmds.c: In function 'center': cmds.c:1664:1: warning: type of 'sr' defaults to 'int' [-Wimplicit-int] center(sr, sc, er, ec) ^~~~~~ cmds.c:1664:1: warning: type of 'sc' defaults to 'int' [-Wimplicit-int] cmds.c:1664:1: warning: type of 'er' defaults to 'int' [-Wimplicit-int] cmds.c:1664:1: warning: type of 'ec' defaults to 'int' [-Wimplicit-int] In file included from cmds.c:31: cmds.c: In function 'printfile': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:1826:6: note: in expansion of macro 'error' error("Can't create file \"%s\"", fname); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:1834:2: note: in expansion of macro 'error' error("Malloc failed in printfile()"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:1865:4: note: in expansion of macro 'error' error ("Realloc failed in printfile()"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:1878:4: note: in expansion of macro 'error' error("Realloc failed in printfile()"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:1950:4: note: in expansion of macro 'error' error ("scxrealloc failed in printfile()"); ^~~~~ cmds.c: In function 'tblprintfile': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:2076:2: note: in expansion of macro 'error' error ("Can't create file \"%s\"", fname); ^~~~~ cmds.c: In function 'hiderow': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:2438:2: note: in expansion of macro 'error' error("Invalid range"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:2443:6: note: in expansion of macro 'error' error("You can't hide the last row"); ^~~~~ cmds.c: In function 'hidecol': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:2463:2: note: in expansion of macro 'error' error ("Invalid range"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:2468:6: note: in expansion of macro 'error' error("You can't hide the last col"); ^~~~~ cmds.c: In function 'showrow': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:2483:2: note: in expansion of macro 'error' error ("Invalid range"); ^~~~~ cmds.c: In function 'showcol': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:2500:2: note: in expansion of macro 'error' error ("Invalid range"); ^~~~~ cmds.c: In function 'openfile': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:2545:2: note: in expansion of macro 'error' error("Can't make pipe to child"); ^~~~~ cmds.c:2565:2: warning: missing sentinel in function call [-Wformat=] (void) execl("/bin/sh", "sh", "-c", efname, 0); ^ In file included from cmds.c:31: sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:2571:6: note: in expansion of macro 'error' error("Can't fdopen %sput", rfd==NULL?"out":"in"); ^~~~~ cmds.c: In function 'closefile': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:2628:2: note: in expansion of macro 'error' error("Broken pipe"); ^~~~~ cmds.c: In function 'copyent': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:2644:2: note: in expansion of macro 'error' error("internal error"); ^~~~~ cmds.c: In function 'addplugin': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:2694:2: note: in expansion of macro 'error' error("Cannot find plugin %s", plugin); ^~~~~ cmds.c: In function 'writefile': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:2862:3: note: in expansion of macro 'error' error("plugin not found"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:2867:3: note: in expansion of macro 'error' error("Path too long"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:2931:2: note: in expansion of macro 'error' error("Can't create file \"%s\"", save); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:2936:2: note: in expansion of macro 'error' error("Writing file \"%s\"...", save); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:2948:6: note: in expansion of macro 'error' error("File \"%s\" written", curfile); ^~~~~ cmds.c: In function 'readfile': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:2983:3: note: in expansion of macro 'error' error("plugin not found"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:2988:3: note: in expansion of macro 'error' error("Path too long"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:3032:6: note: in expansion of macro 'error' error("Can't read file \"%s\"", save); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:3037:3: note: in expansion of macro 'error' error("Reading file \"%s\"", save); ^~~~~ cmds.c: In function 'backcol': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:3190:7: note: in expansion of macro 'error' {error ("At column A"); break;} ^~~~~ cmds.c: In function 'backrow': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:3244:7: note: in expansion of macro 'error' {error("At row zero"); break;} ^~~~~ cmds.c: In function 'markcell': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:3257:5: note: in expansion of macro 'error' error("Mark cell:"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:3259:2: note: in expansion of macro 'error' error(""); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:3263:2: note: in expansion of macro 'error' error("Invalid mark (must be a-z)"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:3266:5: note: in expansion of macro 'error' error(""); ^~~~~ cmds.c: In function 'dotick': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:3280:5: note: in expansion of macro 'error' error("Go to marked cell:"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:3282:2: note: in expansion of macro 'error' error(""); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:3289:2: note: in expansion of macro 'error' error("Invalid mark (must be a-z, 0-9, ` or \')"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:3293:2: note: in expansion of macro 'error' error("Mark not set"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:3296:5: note: in expansion of macro 'error' error(""); ^~~~~ cmds.c: In function 'gotonote': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ cmds.c:3319:2: note: in expansion of macro 'error' error("No note attached"); ^~~~~ cmds.c: In function 'openfile': cmds.c:2558:9: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] (void) dup(pipefd[0]); /* connect to first pipe */ ^~~~~~~~~~~~~~ cmds.c:2562:13: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] (void) dup(pipefd[3]); /* connect to second pipe */ ^~~~~~~~~~~~~~ cmds.c: In function 'readfile': cmds.c:3069:2: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen("/dev/tty", "r", stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds.c: In function 'backup_file': cmds.c:3586:2: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown(tpath, statbuf.st_uid, statbuf.st_gid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DSYSV3 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o color.o color.c In file included from color.c:23: sc.h:307: warning: "is_cleared" redefined #define is_cleared 0200 In file included from color.c:20: /usr/include/curses.h:1410: note: this is the location of the previous definition #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) In file included from color.c:23: color.c: In function 'change_color': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ color.c:111:2: note: in expansion of macro 'error' error("Invalid color number"); ^~~~~ color.c: In function 'add_crange': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ color.c:159:2: note: in expansion of macro 'error' error("Color range not defined"); ^~~~~ gcc -DSYSV3 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DDOBACKUPS -c crypt.c gcc -DSYSV3 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o format.o format.c gcc -DSYSV3 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o frame.o frame.c In file included from frame.c:24: sc.h:307: warning: "is_cleared" redefined #define is_cleared 0200 In file included from frame.c:22: /usr/include/curses.h:1410: note: this is the location of the previous definition #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) In file included from frame.c:24: frame.c: In function 'add_frange': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ frame.c:58:6: note: in expansion of macro 'error' error("Invalid parameters"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ frame.c:112:3: note: in expansion of macro 'error' error("Framed ranges may not be nested or overlapping"); ^~~~~ bison -y -d gram.y mv y.tab.c gram.c gcc -DSYSV3 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DUSELOCALE -c gram.c In file included from gram.y:20: sc.h:307: warning: "is_cleared" redefined #define is_cleared 0200 In file included from gram.y:18: /usr/include/curses.h:1410: note: this is the location of the previous definition #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) gram.y: In function 'yyparse': gram.y:310:7: warning: implicit declaration of function 'ljustify' [-Wimplicit-function-declaration] { ljustify($2.left.vp->row, $2.left.vp->col, ^~~~~~~~ gram.y:317:7: warning: implicit declaration of function 'rjustify' [-Wimplicit-function-declaration] { rjustify($2.left.vp->row, $2.left.vp->col, ^~~~~~~~ gram.y:324:7: warning: implicit declaration of function 'center'; did you mean 'newterm'? [-Wimplicit-function-declaration] { center($2.left.vp->row, $2.left.vp->col, ^~~~~~ newterm In file included from gram.y:20: sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ gram.y:380:9: note: in expansion of macro 'error' error("Invalid format number"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ gram.y:414:9: note: in expansion of macro 'error' error("Invalid function key"); ^~~~~ gram.y:619:7: warning: implicit declaration of function 'add_abbr'; did you mean 'del_abbr'? [-Wimplicit-function-declaration] | S_ABBREV STRING { add_abbr($2); } ^~~~~~~~ del_abbr In file included from gram.y:20: sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ gram.y:653:10: note: in expansion of macro 'error' error("Need both outer and inner" ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ gram.y:709:10: note: in expansion of macro 'error' error("Invalid color number"); } ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ gram.y:734:10: note: in expansion of macro 'error' error("Invalid buffer"); ^~~~~ gram.y:817:8: warning: implicit declaration of function 'yankrow'; did you mean 'yankr'? [-Wimplicit-function-declaration] yankrow(arg); ^~~~~~~ yankr gram.y:847:8: warning: implicit declaration of function 'yankcol'; did you mean 'backcol'? [-Wimplicit-function-declaration] yankcol(arg); ^~~~~~~ backcol gram.y:960:7: warning: implicit declaration of function 'getframe'; did you mean 'getfmt'? [-Wimplicit-function-declaration] | S_GETFRAME { getframe(macrofd); } ^~~~~~~~ getfmt gram.y:962:7: warning: implicit declaration of function 'getrange'; did you mean 'sortrange'? [-Wimplicit-function-declaration] | S_GETRANGE STRING { getrange($2, macrofd); } ^~~~~~~~ sortrange gram.y:965:7: warning: implicit declaration of function 'doeval'; did you mean 'eval'? [-Wimplicit-function-declaration] | S_EVAL e { doeval($2, NULL, currow, curcol, ^~~~~~ eval gram.y:972:7: warning: implicit declaration of function 'doseval'; did you mean 'seval'? [-Wimplicit-function-declaration] | S_SEVAL e { doseval($2, currow, curcol, macrofd); } ^~~~~~~ seval gram.y:981:7: warning: implicit declaration of function 'dogetkey'; did you mean 'getbegy'? [-Wimplicit-function-declaration] | S_GETKEY { dogetkey(); } ^~~~~~~~ getbegy In file included from gram.y:20: sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ gram.y:982:7: note: in expansion of macro 'error' | S_ERROR STRING { error($2); } ^~~~~ gram.y:881:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(macrofd, line, strlen(line)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gram.y:887:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write($3, line, strlen(line)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gram.y:999:8: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system($2); ^~~~~~~~~~~ sed < gram.y > experres.h -f eres.sed sed < gram.y > statres.h -f sres.sed gcc -DSYSV3 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c help.c In file included from help.c:15: sc.h:307: warning: "is_cleared" redefined #define is_cleared 0200 In file included from help.c:13: /usr/include/curses.h:1410: note: this is the location of the previous definition #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) gcc -DSYSV3 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -ffloat-store -DSIGVOID \ -DREGCOMP -c interp.c In file included from interp.c:43: sc.h:307: warning: "is_cleared" redefined #define is_cleared 0200 In file included from interp.c:42: /usr/include/curses.h:1410: note: this is the location of the previous definition #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) In file included from interp.c:43: interp.c: In function 'finfunc': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ interp.c:155:3: note: in expansion of macro 'error' error("Unknown function in finfunc"); ^~~~~ interp.c: In function 'doindex': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ interp.c:209:2: note: in expansion of macro 'error' error("Improper indexing operation"); ^~~~~ interp.c: In function 'dolookup': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ interp.c:243:4: note: in expansion of macro 'error' error(" range specified to @[hv]lookup"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ interp.c:267:4: note: in expansion of macro 'error' error(" range specified to @[hv]lookup"); ^~~~~ interp.c: In function 'dodts': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ interp.c:537:9: note: in expansion of macro 'error' error("@dts: invalid argument or date out of range"); ^~~~~ interp.c: In function 'dotts': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ interp.c:549:2: note: in expansion of macro 'error' error ("@tts: Invalid argument"); ^~~~~ interp.c: In function 'dolmax': interp.c:691:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!count || v > maxval) ^~ interp.c:692:18: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' maxval = v; count++; ^~~~~ interp.c: In function 'dolmin': interp.c:709:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!count || v < minval) ^~ interp.c:710:18: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' minval = v; count++; ^~~~~ In file included from interp.c:43: interp.c: In function 'eval': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ interp.c:963:11: note: in expansion of macro 'error' default: error ("Illegal numeric expression"); ^~~~~ interp.c: In function 'doext': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ interp.c:1110:2: note: in expansion of macro 'error' error("Warning: external functions disabled; using %s value", ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ interp.c:1116:6: note: in expansion of macro 'error' error ("Warning: external function given null command name"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ interp.c:1125:6: note: in expansion of macro 'error' error("Running external function..."); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ interp.c:1129:3: note: in expansion of macro 'error' error("Warning: running \"%s\" failed", buff); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ interp.c:1133:7: note: in expansion of macro 'error' error("Warning: external function returned nothing"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ interp.c:1137:7: note: in expansion of macro 'error' error(""); /* erase notice */ ^~~~~ interp.c: In function 'seval': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ interp.c:1352:8: note: in expansion of macro 'error' error("Illegal string expression"); ^~~~~ interp.c: In function 'setiterations': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ interp.c:1376:2: note: in expansion of macro 'error' error("iteration count must be at least 1"); ^~~~~ interp.c: In function 'EvalAll': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ interp.c:1392:3: note: in expansion of macro 'error' error("Still changing after %d iterations", repct - 1); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ interp.c:1410:3: note: in expansion of macro 'error' error("Error in color 1: color turned off"); ^~~~~ interp.c: In function 'RealEvalAll': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ interp.c:1443:10: note: in expansion of macro 'error' else error("Internal error calc_order"); ^~~~~ interp.c: In function 'RealEvalOne': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ interp.c:1456:6: note: in expansion of macro 'error' error("Floating point exception %s", v_name(i, j)); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ interp.c:1477:6: note: in expansion of macro 'error' error("Floating point exception %s", v_name(i, j)); ^~~~~ interp.c: In function 'copy': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ interp.c:1651:5: note: in expansion of macro 'error' error("Copying..."); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ interp.c:1689:5: note: in expansion of macro 'error' error("Copy done."); ^~~~~ interp.c: In function 'go_last': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ interp.c:1826:6: note: in expansion of macro 'error' error("Nothing to repeat"); break; ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ interp.c:1845:11: note: in expansion of macro 'error' default: error("go_last: internal error"); ^~~~~ interp.c: In function 'num_search': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ interp.c:1948:3: note: in expansion of macro 'error' error("no %s cell found", errsearch == CELLERROR ? "ERROR" : ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ interp.c:1951:3: note: in expansion of macro 'error' error("Number not found"); ^~~~~ interp.c: In function 'str_search': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ interp.c:1989:2: note: in expansion of macro 'error' error(tmp); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ interp.c:2104:6: note: in expansion of macro 'error' error("String not found"); ^~~~~ interp.c: In function 'fill': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ interp.c:2176:10: note: in expansion of macro 'error' else error(" Internal error calc_order"); ^~~~~ interp.c: In function 'let': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ interp.c:2251:6: note: in expansion of macro 'error' error("Floating point exception in cell %s", v_name(v->row, v->col)); ^~~~~ interp.c: In function 'slet': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ interp.c:2323:2: note: in expansion of macro 'error' error ("Floating point exception in cell %s", v_name(v->row, v->col)); ^~~~~ interp.c: In function 'hide_row': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ interp.c:2421:2: note: in expansion of macro 'error' error("Invalid Range"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ interp.c:2426:6: note: in expansion of macro 'error' error("You can't hide the last row"); ^~~~~ interp.c: In function 'hide_col': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ interp.c:2438:2: note: in expansion of macro 'error' error("Invalid Range"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ interp.c:2443:6: note: in expansion of macro 'error' error("You can't hide the last col"); ^~~~~ interp.c: In function 'decompile': interp.c:2609:12: warning: this 'for' clause does not guard... [-Wmisleading-indentation] case 'f': for (s="@fixed "; (line[linelim++] = *s++); ); ^~~ interp.c:2610:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' linelim--; ^~~~~~~ interp.c:2613:12: warning: this 'for' clause does not guard... [-Wmisleading-indentation] case 'F': for (s="(@fixed)"; (line[linelim++] = *s++); ); ^~~ interp.c:2614:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' linelim--; ^~~~~~~ interp.c:2669:12: warning: this 'for' clause does not guard... [-Wmisleading-indentation] case NOW: for (s = "@now"; (line[linelim++] = *s++); ); ^~~ interp.c:2670:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' linelim--; ^~~~~~~ interp.c:2700:14: warning: this 'for' clause does not guard... [-Wmisleading-indentation] case MYROW: for (s = "@myrow"; (line[linelim++] = *s++); ); ^~~ interp.c:2701:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' linelim--; ^~~~~~~ interp.c:2703:14: warning: this 'for' clause does not guard... [-Wmisleading-indentation] case MYCOL: for (s = "@mycol"; (line[linelim++] = *s++); ); ^~~ interp.c:2704:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' linelim--; ^~~~~~~ interp.c:2706:16: warning: this 'for' clause does not guard... [-Wmisleading-indentation] case LASTROW: for (s = "@lastrow"; (line[linelim++] = *s++); ); ^~~ interp.c:2707:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' linelim--; ^~~~~~~ interp.c:2709:16: warning: this 'for' clause does not guard... [-Wmisleading-indentation] case LASTCOL: for (s = "@lastcol"; (line[linelim++] = *s++); ); ^~~ interp.c:2710:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' linelim--; ^~~~~~~ interp.c:2714:16: warning: this 'for' clause does not guard... [-Wmisleading-indentation] case NUMITER: for (s = "@numiter"; (line[linelim++] = *s++); ); ^~~ interp.c:2715:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' linelim--; ^~~~~~~ interp.c:2717:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation] case ERR_: for (s = "@err"; (line[linelim++] = *s++); ); ^~~ interp.c:2718:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' linelim--; ^~~~~~~ interp.c:2720:12: warning: this 'for' clause does not guard... [-Wmisleading-indentation] case PI_: for (s = "@pi"; (line[linelim++] = *s++); ); ^~~ interp.c:2721:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' linelim--; ^~~~~~~ interp.c:2723:14: warning: this 'for' clause does not guard... [-Wmisleading-indentation] case BLACK: for (s = "@black"; (line[linelim++] = *s++); ); ^~~ interp.c:2724:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' linelim--; ^~~~~~~ interp.c:2726:12: warning: this 'for' clause does not guard... [-Wmisleading-indentation] case RED: for (s = "@red"; (line[linelim++] = *s++); ); ^~~ interp.c:2727:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' linelim--; ^~~~~~~ interp.c:2729:14: warning: this 'for' clause does not guard... [-Wmisleading-indentation] case GREEN: for (s = "@green"; (line[linelim++] = *s++); ); ^~~ interp.c:2730:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' linelim--; ^~~~~~~ interp.c:2732:15: warning: this 'for' clause does not guard... [-Wmisleading-indentation] case YELLOW: for (s = "@yellow"; (line[linelim++] = *s++); ); ^~~ interp.c:2733:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' linelim--; ^~~~~~~ interp.c:2735:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation] case BLUE: for (s = "@blue"; (line[linelim++] = *s++); ); ^~~ interp.c:2736:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' linelim--; ^~~~~~~ interp.c:2738:16: warning: this 'for' clause does not guard... [-Wmisleading-indentation] case MAGENTA: for (s = "@magenta"; (line[linelim++] = *s++); ); ^~~ interp.c:2739:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' linelim--; ^~~~~~~ interp.c:2741:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation] case CYAN: for (s = "@cyan"; (line[linelim++] = *s++); ); ^~~ interp.c:2742:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' linelim--; ^~~~~~~ interp.c:2744:14: warning: this 'for' clause does not guard... [-Wmisleading-indentation] case WHITE: for (s = "@white"; (line[linelim++] = *s++); ); ^~~ interp.c:2745:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' linelim--; ^~~~~~~ gcc -DSYSV3 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DLIBDIR=\"/usr/share/doc/sc-7.16\" -DSIGVOID \ -c lex.c In file included from lex.c:39: sc.h:307: warning: "is_cleared" redefined #define is_cleared 0200 In file included from lex.c:33: /usr/include/curses.h:1410: note: this is the location of the previous definition #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) In file included from lex.c:39: lex.c: In function 'yylex': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ lex.c:215:6: note: in expansion of macro 'error' error("Floating point exception\n"); ^~~~~ gcc -DSYSV3 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o pipe.o pipe.c In file included from pipe.c:12: sc.h:307: warning: "is_cleared" redefined #define is_cleared 0200 In file included from pipe.c:10: /usr/include/curses.h:1410: note: this is the location of the previous definition #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) pipe.c: In function 'getnum': pipe.c:39:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (p) ^ In file included from pipe.c:12: pipe.c: In function 'doquery': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ pipe.c:311:5: note: in expansion of macro 'error' error(""); ^~~~~ pipe.c: In function 'getnum': pipe.c:49:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, line, strlen(line)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pipe.c: In function 'fgetnum': pipe.c:92:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, line, strlen(line)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pipe.c: In function 'getstring': pipe.c:117:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, line, strlen(line)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pipe.c: In function 'getexp': pipe.c:149:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, line, strlen(line)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pipe.c: In function 'getformat': pipe.c:163:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, line, strlen(line)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pipe.c: In function 'getfmt': pipe.c:182:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, line, strlen(line)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pipe.c: In function 'getframe': pipe.c:206:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, line, strlen(line)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pipe.c: In function 'getrange': pipe.c:249:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, line, strlen(line)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pipe.c: In function 'doeval': pipe.c:271:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, line, strlen(line)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pipe.c: In function 'doseval': pipe.c:288:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, s, strlen(s)); ^~~~~~~~~~~~~~~~~~~~~~~ pipe.c:289:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, "\n", 1); ^~~~~~~~~~~~~~~~~~ pipe.c: In function 'doquery': pipe.c:305:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, line, strlen(line)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pipe.c:306:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, "\n", 1); ^~~~~~~~~~~~~~~~~~ pipe.c: In function 'dogetkey': pipe.c:347:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(macrofd, line, len); ^~~~~~~~~~~~~~~~~~~~~~~~~ pipe.c: In function 'dostat': pipe.c:358:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, line, strlen(line)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DSYSV3 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o range.o range.c In file included from range.c:23: sc.h:307: warning: "is_cleared" redefined #define is_cleared 0200 In file included from range.c:22: /usr/include/curses.h:1410: note: this is the location of the previous definition #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) In file included from range.c:23: range.c: In function 'add_range': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ range.c:63:2: note: in expansion of macro 'error' error("Error: range name \"%s\" already defined", name); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ range.c:70:6: note: in expansion of macro 'error' error("Invalid range name \"%s\" - illegal combination", name); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ range.c:89:6: note: in expansion of macro 'error' error("Invalid range name \"%s\" - ambiguous", name); ^~~~~ gcc -DSYSV3 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DDFLT_PAGER=\"less\" -DSIGVOID -DSAVENAME=\"SC.SAVE\" -c sc.c In file included from sc.c:37: sc.h:307: warning: "is_cleared" redefined #define is_cleared 0200 In file included from sc.c:17: /usr/include/curses.h:1410: note: this is the location of the previous definition #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) In file included from sc.c:37: sc.c: In function 'main': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:375:6: note: in expansion of macro 'error' error("New file: \"%s\"", curfile); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:453:4: note: in expansion of macro 'error' error("Select range:"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:493:8: note: in expansion of macro 'error' error(""); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:603:7: note: in expansion of macro 'error' error ("No such command (^%c)", c + 0100); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:674:5: note: in expansion of macro 'error' error("Invalid ^E command"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:801:7: note: in expansion of macro 'error' error( ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:811:8: note: in expansion of macro 'error' error("Automatic recalculation %sabled.", ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:816:8: note: in expansion of macro 'error' error("%sptimize expressions upon entry.", ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:821:8: note: in expansion of macro 'error' error("Numeric input %sabled.", ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:826:8: note: in expansion of macro 'error' error("Top line %sabled.", showtop ? "en" : "dis"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:831:8: note: in expansion of macro 'error' error("Cell highlighting %sabled.", ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:837:8: note: in expansion of macro 'error' error("Braille enhancement %sabled.", ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:843:8: note: in expansion of macro 'error' error("Color slop %sabled.", ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:857:8: note: in expansion of macro 'error' error("Color %sabled.", color ? "en" : "dis"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:861:8: note: in expansion of macro 'error' error("Color changing of negative numbers %sabled.", ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:866:8: note: in expansion of macro 'error' error("Color changing of cells with errors %sabled.", ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:871:8: note: in expansion of macro 'error' error("Encryption not available."); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:879:8: note: in expansion of macro 'error' error("Autolabel %sabled.", ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:884:5: note: in expansion of macro 'error' error("Prescale enabled."); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:888:5: note: in expansion of macro 'error' error("Prescale disabled."); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:893:8: note: in expansion of macro 'error' error("External functions %sabled.", ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:898:8: note: in expansion of macro 'error' error(""); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:902:8: note: in expansion of macro 'error' error("Which direction after return key?"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:906:9: note: in expansion of macro 'error' error("No action after new line"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:912:9: note: in expansion of macro 'error' error("Down row after new line"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:918:9: note: in expansion of macro 'error' error("Right column after new line"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:922:9: note: in expansion of macro 'error' error(""); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:925:9: note: in expansion of macro 'error' error("Not a valid direction"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:930:8: note: in expansion of macro 'error' error("Autoinsert %sabled.", ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:935:8: note: in expansion of macro 'error' error("Autowrap %sabled.", ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:941:8: note: in expansion of macro 'error' error("Row and column limits set"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:944:8: note: in expansion of macro 'error' error("Invalid toggle command"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:1056:3: note: in expansion of macro 'error' error("Can't increment/decrement a formula\n"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:1164:7: note: in expansion of macro 'error' error( ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:1170:7: note: in expansion of macro 'error' error(""); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:1232:4: note: in expansion of macro 'error' error("frame (top/bottom/left/right/all/unframe)"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:1237:4: note: in expansion of macro 'error' error(""); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:1262:5: note: in expansion of macro 'error' error("Invalid frame command"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:1290:8: note: in expansion of macro 'error' error("Nothing to show"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:1303:5: note: in expansion of macro 'error' error("Can't open pipe to %s", pager); ^~~~~ sc.c:1310:25: warning: implicit declaration of function 'list_frames'; did you mean 'list_ranges'? [-Wimplicit-function-declaration] if (!brokenpipe) list_frames(f); ^~~~~~~~~~~ list_ranges In file included from sc.c:37: sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:1345:4: note: in expansion of macro 'error' error("Invalid region command"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:1357:7: note: in expansion of macro 'error' error("Select buffer (a-z or 0-9):"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:1359:4: note: in expansion of macro 'error' error(""); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:1362:4: note: in expansion of macro 'error' error(""); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:1365:4: note: in expansion of macro 'error' error(""); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:1368:4: note: in expansion of macro 'error' error(""); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:1370:4: note: in expansion of macro 'error' error("Invalid buffer"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:1391:8: note: in expansion of macro 'error' error("Invalid row/column command"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:1395:4: note: in expansion of macro 'error' error(""); /* clear line */ ^~~~~ sc.c:1423:24: warning: implicit declaration of function 'yankrow'; did you mean 'yankr'? [-Wimplicit-function-declaration] if (rcqual == 'r') yankrow(arg); ^~~~~~~ yankr sc.c:1424:12: warning: implicit declaration of function 'yankcol'; did you mean 'backcol'? [-Wimplicit-function-declaration] else yankcol(arg); ^~~~~~~ backcol In file included from sc.c:37: sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:1468:11: note: in expansion of macro 'error' error("No file name."); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:1506:9: note: in expansion of macro 'error' error("At end of table"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:1531:9: note: in expansion of macro 'error' error("At start of table"); ^~~~~ sc.c:1600:8: warning: implicit declaration of function 'ljustify' [-Wimplicit-function-declaration] ljustify(currow, curcol, currow, curcol); ^~~~~~~~ In file included from sc.c:37: sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:1602:8: note: in expansion of macro 'error' error("Nothing to justify"); ^~~~~ sc.c:1610:8: warning: implicit declaration of function 'rjustify' [-Wimplicit-function-declaration] rjustify(currow, curcol, currow, curcol); ^~~~~~~~ In file included from sc.c:37: sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:1612:8: note: in expansion of macro 'error' error("Nothing to justify"); ^~~~~ sc.c:1620:8: warning: implicit declaration of function 'center'; did you mean 'newterm'? [-Wimplicit-function-declaration] center(currow, curcol, currow, curcol); ^~~~~~ newterm In file included from sc.c:37: sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:1622:8: note: in expansion of macro 'error' error("Nothing to center"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:1678:7: note: in expansion of macro 'error' error("Color number to set (1-8)?"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:1680:4: note: in expansion of macro 'error' error(""); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:1684:4: note: in expansion of macro 'error' error("Invalid color number."); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:1687:7: note: in expansion of macro 'error' error(""); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:1729:4: note: in expansion of macro 'error' error("Default path is \"%s.%s\"", curfile, ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:1768:4: note: in expansion of macro 'error' error("Default file is \"%s\"", curfile); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:1800:4: note: in expansion of macro 'error' error("Default file is \"%s.%s\"", curfile, ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:1817:7: note: in expansion of macro 'error' error("Options:byrows,bycols,iterations=n,tblstyle=(0|tbl|latex|slatex|tex|frame),"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:1840:4: note: in expansion of macro 'error' error("Default file is \"%s.%s\"", curfile, ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:1843:4: note: in expansion of macro 'error' error("Default file is \"%s.%s\"", curfile, ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:1846:4: note: in expansion of macro 'error' error("Default file is \"%s.%s\"", curfile, ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:1849:4: note: in expansion of macro 'error' error("Default file is \"%s.%s\"", curfile, ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:1852:4: note: in expansion of macro 'error' error("Default file is \"%s.%s\"", curfile, ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:1936:7: note: in expansion of macro 'error' error("Copy marked cell:"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:1938:4: note: in expansion of macro 'error' error(""); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:1953:4: note: in expansion of macro 'error' error("Invalid mark (must be a-z, 0-9, ` or \')"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:1957:4: note: in expansion of macro 'error' error("Mark not set"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:1960:7: note: in expansion of macro 'error' error(""); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:1995:4: note: in expansion of macro 'error' error("Note: Add/Delete/Show/*(go to note)?"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:1997:8: note: in expansion of macro 'error' error(""); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:2006:8: note: in expansion of macro 'error' error(""); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:2014:8: note: in expansion of macro 'error' error(""); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:2023:8: note: in expansion of macro 'error' error("Highlighted cells have attached notes."); ^~~~~ sc.c:2027:8: warning: implicit declaration of function 'gotonote'; did you mean 'gototop'? [-Wimplicit-function-declaration] gotonote(); ^~~~~~~~ gototop In file included from sc.c:37: sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:2028:8: note: in expansion of macro 'error' error(""); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:2031:4: note: in expansion of macro 'error' error("Invalid command"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:2074:4: note: in expansion of macro 'error' error ("Weird character, decimal %d\n", ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:2077:8: note: in expansion of macro 'error' error ("No such command (%c)", c); ^~~~~ sc.c:242:14: warning: unused variable 'home' [-Wunused-variable] char *home; ^~~~ In file included from sc.c:37: sc.c: In function 'diesave': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:2219:3: note: in expansion of macro 'error' error("Couldn't save current spreadsheet, Sorry"); ^~~~~ sc.c: In function 'locked_cell': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sc.c:2257:2: note: in expansion of macro 'error' error("Cell %s%d is locked", coltoa(c), r) ; ^~~~~ sc.c: In function 'main': sc.c:439:4: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen("/dev/tty", "r", stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sc.c:440:4: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen("/dev/tty", "w", stdout); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sc.c:1027:6: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system("man sc"); ^~~~~~~~~~~~~~~~ sc.c: In function 'modcheck': sc.c:2232:29: warning: '%s' directive writing up to 1023 bytes into a region of size 94 [-Wformat-overflow=] (void) sprintf(lin,"File \"%s\" is modified, save%s? ",curfile,endstr); ^~ ~~~~~~~ In file included from /usr/include/stdio.h:862, from /usr/include/curses.h:183, from sc.c:17: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 28 or more bytes (assuming 1051) into a destination of size 100 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DSYSV3 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DSIGVOID \ -c screen.c In file included from screen.c:17: sc.h:307: warning: "is_cleared" redefined #define is_cleared 0200 In file included from screen.c:15: /usr/include/curses.h:1410: note: this is the location of the previous definition #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) In file included from screen.c:17: screen.c: In function 'update': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ screen.c:136:3: note: in expansion of macro 'error' error("Frame too large for screen size - ignoring"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ screen.c:213:6: note: in expansion of macro 'error' error("column %s too wide - resizing", coltoa(curcol)); ^~~~~ screen.c:457:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (fr && strow < fr->or_left->row + ftoprows) ^~ screen.c:459:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (currow < strow) ^~ screen.c:877:24: warning: the address of 'has_colors' will always evaluate as 'true' [-Waddress] if (!*pp && color && has_colors && cr && cr->r_color != 1) { ^~ gcc -DSYSV3 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o sort.o sort.c In file included from sort.c:24: sc.h:307: warning: "is_cleared" redefined #define is_cleared 0200 In file included from sort.c:23: /usr/include/curses.h:1410: note: this is the location of the previous definition #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) In file included from sort.c:24: sort.c: In function 'sortrange': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sort.c:73:7: note: in expansion of macro 'error' error("Invalid sort criteria"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sort.c:84:7: note: in expansion of macro 'error' error("Invalid sort criteria"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sort.c:90:3: note: in expansion of macro 'error' error("Invalid sort criteria"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sort.c:97:3: note: in expansion of macro 'error' error("Invalid sort criteria"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ sort.c:109:3: note: in expansion of macro 'error' error("sort error"); ^~~~~ gcc -DSYSV3 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o version.o version.c gcc -DSYSV3 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DREGCOMP -DHISTORY_FILE=\"~/.sc_history\" -c vi.c In file included from vi.c:22: sc.h:307: warning: "is_cleared" redefined #define is_cleared 0200 In file included from vi.c:17: /usr/include/curses.h:1410: note: this is the location of the previous definition #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) In file included from vi.c:22: vi.c: In function 'write_line': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ vi.c:143:5: note: in expansion of macro 'error' error(""); ^~~~~ vi.c:153:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ vi.c:154:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' cr_line(); break; ^~~~~ vi.c:523:35: warning: implicit declaration of function 'gotonote'; did you mean 'gototop'? [-Wimplicit-function-declaration] case '*': if (nmgetch() == '*') gotonote(); break; ^~~~~~~~ gototop In file included from vi.c:22: sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ vi.c:540:7: note: in expansion of macro 'error' error("At end of table"); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ vi.c:564:7: note: in expansion of macro 'error' error("At start of table"); ^~~~~ vi.c: In function 'change_case': vi.c:1129:1: warning: type of 'arg' defaults to 'int' [-Wimplicit-int] change_case(arg) ^~~~~~~~~~~ In file included from vi.c:22: vi.c: In function 'for_hist': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ vi.c:1479:2: note: in expansion of macro 'error' error("History line %d", endhist - lasthist + histp); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ vi.c:1481:2: note: in expansion of macro 'error' error(""); ^~~~~ vi.c: In function 'back_hist': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ vi.c:1508:2: note: in expansion of macro 'error' error("History line %d", endhist - lasthist + histp); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ vi.c:1510:2: note: in expansion of macro 'error' error(""); ^~~~~ vi.c: In function 'search_hist': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ vi.c:1537:2: note: in expansion of macro 'error' error(tmp); ^~~~~ vi.c: In function 'search_again': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ vi.c:1589:5: note: in expansion of macro 'error' error(""); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ vi.c:1610:3: note: in expansion of macro 'error' error("No matches found"); ^~~~~ vi.c:1617:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ vi.c:1619:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' (void) strcpy(line, history[histp].histline); ^ In file included from vi.c:22: sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ vi.c:1653:2: note: in expansion of macro 'error' error("History line %d", endhist - lasthist + histp); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ vi.c:1655:2: note: in expansion of macro 'error' error("No matches found"); ^~~~~ vi.c: In function 'query': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ vi.c:2041:20: note: in expansion of macro 'error' if (s != NULL) error(s); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ vi.c:2047:3: note: in expansion of macro 'error' error(""); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ vi.c:2052:3: note: in expansion of macro 'error' error(""); ^~~~~ vi.c: In function 'doshell': vi.c:1399:12: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] (void) fgets(cmd, MAXCMD, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DSYSV3 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o vmtbl.o vmtbl.c In file included from vmtbl.c:20: sc.h:307: warning: "is_cleared" redefined #define is_cleared 0200 In file included from vmtbl.c:16: /usr/include/curses.h:1410: note: this is the location of the previous definition #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) In file included from vmtbl.c:20: vmtbl.c: In function 'growtbl': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ vmtbl.c:121:6: note: in expansion of macro 'error' error(nowider); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ vmtbl.c:59:2: note: in expansion of macro 'error' error(msg); \ ^~~~~ vmtbl.c:139:2: note: in expansion of macro 'GROWALLOC' GROWALLOC(row_hidden2, row_hidden, newrows, char, nolonger); ^~~~~~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ vmtbl.c:59:2: note: in expansion of macro 'error' error(msg); \ ^~~~~ vmtbl.c:146:2: note: in expansion of macro 'GROWALLOC' GROWALLOC(tbl2, tbl, newrows, struct ent **, nolonger); ^~~~~~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ vmtbl.c:59:2: note: in expansion of macro 'error' error(msg); \ ^~~~~ vmtbl.c:155:2: note: in expansion of macro 'GROWALLOC' GROWALLOC(fwidth2, fwidth, newcols, int, nowider); ^~~~~~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ vmtbl.c:59:2: note: in expansion of macro 'error' error(msg); \ ^~~~~ vmtbl.c:156:2: note: in expansion of macro 'GROWALLOC' GROWALLOC(precision2, precision, newcols, int, nowider); ^~~~~~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ vmtbl.c:59:2: note: in expansion of macro 'error' error(msg); \ ^~~~~ vmtbl.c:157:2: note: in expansion of macro 'GROWALLOC' GROWALLOC(realfmt2, realfmt, newcols, int, nowider); ^~~~~~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ vmtbl.c:59:2: note: in expansion of macro 'error' error(msg); \ ^~~~~ vmtbl.c:164:2: note: in expansion of macro 'GROWALLOC' GROWALLOC(col_hidden2, col_hidden, newcols, char, nowider); ^~~~~~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ vmtbl.c:176:6: note: in expansion of macro 'error' error(nowider); ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^~ vmtbl.c:194:6: note: in expansion of macro 'error' error(nowider); ^~~~~ gcc -DSYSV3 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o xmalloc.o xmalloc.c In file included from xmalloc.c:8: sc.h:307: warning: "is_cleared" redefined #define is_cleared 0200 In file included from xmalloc.c:6: /usr/include/curses.h:1410: note: this is the location of the previous definition #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) gcc abbrev.o cmds.o color.o crypt.o format.o frame.o gram.o help.o interp.o lex.o pipe.o range.o sc.o screen.o sort.o version.o vi.o vmtbl.o xmalloc.o -lm -lncurses -o sc rm -f pvmtbl.c ln vmtbl.c pvmtbl.c gcc -DSYSV3 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -DPSC pvmtbl.c rm -f pxmalloc.c ln xmalloc.c pxmalloc.c gcc -DSYSV3 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -DPSC pxmalloc.c In file included from pxmalloc.c:8: sc.h:307: warning: "is_cleared" redefined #define is_cleared 0200 In file included from pxmalloc.c:6: /usr/include/curses.h:1410: note: this is the location of the previous definition #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) gcc -DSYSV3 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o psc psc.c pvmtbl.o pxmalloc.o rm -f qhelp.c ln help.c qhelp.c gcc -DSYSV3 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DQREF -DTROFF -DSCNAME=\"SC\" -o scqref qhelp.c qhelp.c: In function 'main': qhelp.c:646:12: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] (void) exit(0); ^~~~ qhelp.c:646:12: warning: incompatible implicit declaration of built-in function 'exit' qhelp.c:646:12: note: include '' or provide a declaration of 'exit' qhelp.c:10:1: +#include char *header = " Quick Reference"; qhelp.c:646:12: (void) exit(0); ^~~~ make: Leaving directory '/usr/src/RPM/BUILD/sc-7.16' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.88687 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/sc-buildroot + : + /bin/rm -rf -- /usr/src/tmp/sc-buildroot + cd sc-7.16 + mkdir -p /usr/src/tmp/sc-buildroot/usr/bin /usr/src/tmp/sc-buildroot/usr/lib /usr/src/tmp/sc-buildroot/usr/share/man/man1 /usr/src/tmp/sc-buildroot/usr/share/doc/sc-7.16 + make install prefix=/usr/src/tmp/sc-buildroot/usr MANDIR=/usr/src/tmp/sc-buildroot/usr/share/man/man1 LIBDIR=/usr/src/tmp/sc-buildroot/usr/share/doc/sc-7.16 make: Entering directory '/usr/src/RPM/BUILD/sc-7.16' cp sc /usr/src/tmp/sc-buildroot/usr/bin strip /usr/src/tmp/sc-buildroot/usr/bin/sc cp scqref /usr/src/tmp/sc-buildroot/usr/bin strip /usr/src/tmp/sc-buildroot/usr/bin/scqref cp psc /usr/src/tmp/sc-buildroot/usr/bin strip /usr/src/tmp/sc-buildroot/usr/bin/psc mkdir -p /usr/src/tmp/sc-buildroot/usr/share/doc/sc-7.16/plugins cp tutorial.sc /usr/src/tmp/sc-buildroot/usr/share/doc/sc-7.16/tutorial.sc chmod 644 /usr/src/tmp/sc-buildroot/usr/share/doc/sc-7.16/tutorial.sc name=sc NAME=SC LIBDIR=/usr/src/tmp/sc-buildroot/usr/share/doc/sc-7.16 sh torev sc.doc > sc.1 cp sc.1 /usr/src/tmp/sc-buildroot/usr/share/man/man1/sc.1 chmod 644 /usr/src/tmp/sc-buildroot/usr/share/man/man1/sc.1 name=sc NAME=SC LIBDIR=/usr/src/tmp/sc-buildroot/usr/share/doc/sc-7.16 sh torev psc.doc > psc.1 cp psc.1 /usr/src/tmp/sc-buildroot/usr/share/man/man1/psc.1 chmod 644 /usr/src/tmp/sc-buildroot/usr/share/man/man1/psc.1 make: Leaving directory '/usr/src/RPM/BUILD/sc-7.16' + mkdir -p /usr/src/tmp/sc-buildroot/usr/share/applications + cat + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/sc-buildroot (auto) Verifying and fixing files in /usr/src/tmp/sc-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/sc-buildroot/ (default) Compressing files in /usr/src/tmp/sc-buildroot (auto) Adjusting library links in /usr/src/tmp/sc-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/sc-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/bin/sc: uses non-LFS functions: __xstat fopen freopen open tmpfile Hardlinking identical .pyc and .pyo files Processing files: sc-7.16-alt3.qa1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.76713 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd sc-7.16 + DOCDIR=/usr/src/tmp/sc-buildroot/usr/share/doc/sc-7.16 + export DOCDIR + rm -rf /usr/src/tmp/sc-buildroot/usr/share/doc/sc-7.16 + /bin/mkdir -p /usr/src/tmp/sc-buildroot/usr/share/doc/sc-7.16 + cp -prL CHANGES README sc.doc psc.doc tutorial.sc VMS_NOTES torev build.com /usr/src/tmp/sc-buildroot/usr/share/doc/sc-7.16 + chmod -R go-w /usr/src/tmp/sc-buildroot/usr/share/doc/sc-7.16 + chmod -R a+rX /usr/src/tmp/sc-buildroot/usr/share/doc/sc-7.16 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.JYbjFv find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.D42M0s find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Requires: /lib/ld-linux.so.2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.11), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libm.so.6(GLIBC_2.0), libncurses.so.5 >= set:mhWilR7Dvtl3kiV7wYae9T0AbAtqE8bS1pDqRkVe7TF2xkmZnrj0ujYofpOj1p0ovi, libtinfo.so.5 >= set:lhZKHDmtvpla1efMGZ4fGgNTbKKYm1, rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.7v4IkH Wrote: /usr/src/RPM/RPMS/i586/sc-7.16-alt3.qa1.i586.rpm 19.35user 1.75system 0:27.62elapsed 76%CPU (0avgtext+0avgdata 46736maxresident)k 0inputs+0outputs (0major+331082minor)pagefaults 0swaps 25.39user 6.39system 0:38.81elapsed 81%CPU (0avgtext+0avgdata 114960maxresident)k 0inputs+0outputs (0major+589986minor)pagefaults 0swaps --- sc-7.16-alt3.qa1.i586.rpm.repo 2011-04-17 08:00:45.000000000 +0000 +++ sc-7.16-alt3.qa1.i586.rpm.hasher 2019-11-17 10:09:27.787484726 +0000 @@ -13,4 +13,4 @@ /usr/share/doc/sc-7.16/tutorial.sc 100644 -/usr/share/man/man1/psc.1.gz 100644 -/usr/share/man/man1/sc.1.bz2 100644 +/usr/share/man/man1/psc.1.xz 100644 +/usr/share/man/man1/sc.1.xz 100644 Requires: /lib/ld-linux.so.2