<86>Nov 19 09:33:51 userdel[3470847]: delete user 'rooter' <86>Nov 19 09:33:51 userdel[3470847]: removed group 'rooter' owned by 'rooter' <86>Nov 19 09:33:51 userdel[3470847]: removed shadow group 'rooter' owned by 'rooter' <86>Nov 19 09:33:51 groupadd[3470868]: group added to /etc/group: name=rooter, GID=579 <86>Nov 19 09:33:51 groupadd[3470868]: group added to /etc/gshadow: name=rooter <86>Nov 19 09:33:51 groupadd[3470868]: new group: name=rooter, GID=579 <86>Nov 19 09:33:51 useradd[3470894]: new user: name=rooter, UID=579, GID=579, home=/root, shell=/bin/bash <86>Nov 19 09:33:51 userdel[3470917]: delete user 'builder' <86>Nov 19 09:33:51 userdel[3470917]: removed group 'builder' owned by 'builder' <86>Nov 19 09:33:51 userdel[3470917]: removed shadow group 'builder' owned by 'builder' <86>Nov 19 09:33:51 groupadd[3470949]: group added to /etc/group: name=builder, GID=580 <86>Nov 19 09:33:51 groupadd[3470949]: group added to /etc/gshadow: name=builder <86>Nov 19 09:33:51 groupadd[3470949]: new group: name=builder, GID=580 <86>Nov 19 09:33:51 useradd[3470994]: new user: name=builder, UID=580, GID=580, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/sc-7.16-alt3.qa1.src.rpm: license not found in '/usr/share/license' directory: PD <13>Nov 19 09:33:54 rpmi: libtinfo-devel-6.2.20201107-alt1 sisyphus+261749.100.1.1 1605292929 installed <13>Nov 19 09:33:54 rpmi: libncurses-devel-6.2.20201107-alt1 sisyphus+261749.100.1.1 1605292929 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.23107 + 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.23107 + 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 307 | #define is_cleared 0200 | In file included from abbrev.c:22: /usr/include/curses.h:1370: note: this is the location of the previous definition 1370 | #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] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ abbrev.c:41:6: note: in expansion of macro 'error' 41 | error("No abbreviations defined"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ abbrev.c:57:3: note: in expansion of macro 'error' 57 | error("Can't open pipe to %s", pager); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ abbrev.c:82:3: note: in expansion of macro 'error' 82 | error("Invalid abbreviation: %s", string); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ abbrev.c:89:3: note: in expansion of macro 'error' 89 | error("Invalid abbreviation: %s", string); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ abbrev.c:97:6: note: in expansion of macro 'error' 97 | error("abbrev \"%s %s\"", a->abbr, a->exp); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ abbrev.c:100:6: note: in expansion of macro 'error' 100 | 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 307 | #define is_cleared 0200 | In file included from cmds.c:23: /usr/include/curses.h:1370: note: this is the location of the previous definition 1370 | #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] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:327:2: note: in expansion of macro 'error' 327 | error(buf); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:333:6: note: in expansion of macro 'error' 333 | error("Locked cells encountered. Nothing changed"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:430:6: note: in expansion of macro 'error' 430 | error("Locked cells encountered. Nothing changed"); | ^~~~~ cmds.c: In function 'yankrow': sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:489:2: note: in expansion of macro 'error' 489 | error(buf); | ^~~~~ cmds.c: In function 'yankcol': sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:544:2: note: in expansion of macro 'error' 544 | error(buf); | ^~~~~ cmds.c: In function 'valueize_area': sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:745:3: note: in expansion of macro 'error' 745 | 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] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:777:2: note: in expansion of macro 'error' 777 | error("No data to pull"); | ^~~~~ cmds.c: In function 'colshow_op': sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:949:2: note: in expansion of macro 'error' 949 | error("No hidden columns to show"); | ^~~~~ cmds.c: In function 'rowshow_op': sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:971:2: note: in expansion of macro 'error' 971 | error("No hidden rows to show"); | ^~~~~ cmds.c: In function 'get_rcqual': sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:990:5: note: in expansion of macro 'error' 990 | 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] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:1215:2: note: in expansion of macro 'error' 1215 | error(buf); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:1219:2: note: in expansion of macro 'error' 1219 | error("Locked cells encountered. Nothing changed"); | ^~~~~ cmds.c: In function 'doend': sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:1394:2: note: in expansion of macro 'error' 1394 | error (""); /* clear line */ | ^~~~~ cmds.c: In function 'doformat': sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:1440:2: note: in expansion of macro 'error' 1440 | error("Width too small - setting to 1"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:1445:2: note: in expansion of macro 'error' 1445 | error("Width too large - Maximum = %d", COLS - rescol - 2); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:1450:2: note: in expansion of macro 'error' 1450 | error("Precision too large"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:1456:2: note: in expansion of macro 'error' 1456 | 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] 1471 | formatcol(arg) | ^~~~~~~~~ In file included from cmds.c:31: sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:1477:5: note: in expansion of macro 'error' 1477 | error("Current format is %d %d %d", | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:1550:7: note: in expansion of macro 'error' 1550 | error("Current format is %d %d %d", | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:1555:7: note: in expansion of macro 'error' 1555 | error("Define format type (0-9):"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:1569:4: note: in expansion of macro 'error' 1569 | error(""); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:1571:4: note: in expansion of macro 'error' 1571 | error("Invalid format type"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:1582:2: note: in expansion of macro 'error' 1582 | error("Current format is %d %d %d", | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:1602:2: note: in expansion of macro 'error' 1602 | error(""); | ^~~~~ cmds.c: In function 'ljustify': cmds.c:1606:1: warning: type of 'sr' defaults to 'int' [-Wimplicit-int] 1606 | 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] 1635 | 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] 1664 | 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] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:1826:6: note: in expansion of macro 'error' 1826 | error("Can't create file \"%s\"", fname); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:1834:2: note: in expansion of macro 'error' 1834 | error("Malloc failed in printfile()"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:1865:4: note: in expansion of macro 'error' 1865 | error ("Realloc failed in printfile()"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:1878:4: note: in expansion of macro 'error' 1878 | error("Realloc failed in printfile()"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:1950:4: note: in expansion of macro 'error' 1950 | error ("scxrealloc failed in printfile()"); | ^~~~~ cmds.c: In function 'tblprintfile': sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:2076:2: note: in expansion of macro 'error' 2076 | error ("Can't create file \"%s\"", fname); | ^~~~~ cmds.c: In function 'hiderow': sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:2438:2: note: in expansion of macro 'error' 2438 | error("Invalid range"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:2443:6: note: in expansion of macro 'error' 2443 | 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] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:2463:2: note: in expansion of macro 'error' 2463 | error ("Invalid range"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:2468:6: note: in expansion of macro 'error' 2468 | 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] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:2483:2: note: in expansion of macro 'error' 2483 | error ("Invalid range"); | ^~~~~ cmds.c: In function 'showcol': sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:2500:2: note: in expansion of macro 'error' 2500 | error ("Invalid range"); | ^~~~~ cmds.c: In function 'openfile': sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:2545:2: note: in expansion of macro 'error' 2545 | error("Can't make pipe to child"); | ^~~~~ cmds.c:2565:2: warning: missing sentinel in function call [-Wformat=] 2565 | (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] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:2571:6: note: in expansion of macro 'error' 2571 | 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] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:2628:2: note: in expansion of macro 'error' 2628 | error("Broken pipe"); | ^~~~~ cmds.c: In function 'copyent': sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:2644:2: note: in expansion of macro 'error' 2644 | error("internal error"); | ^~~~~ cmds.c: In function 'addplugin': sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:2694:2: note: in expansion of macro 'error' 2694 | error("Cannot find plugin %s", plugin); | ^~~~~ cmds.c: In function 'writefile': sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:2862:3: note: in expansion of macro 'error' 2862 | error("plugin not found"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:2867:3: note: in expansion of macro 'error' 2867 | error("Path too long"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:2931:2: note: in expansion of macro 'error' 2931 | error("Can't create file \"%s\"", save); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:2936:2: note: in expansion of macro 'error' 2936 | error("Writing file \"%s\"...", save); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:2948:6: note: in expansion of macro 'error' 2948 | error("File \"%s\" written", curfile); | ^~~~~ cmds.c: In function 'readfile': sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:2983:3: note: in expansion of macro 'error' 2983 | error("plugin not found"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:2988:3: note: in expansion of macro 'error' 2988 | error("Path too long"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:3032:6: note: in expansion of macro 'error' 3032 | error("Can't read file \"%s\"", save); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:3037:3: note: in expansion of macro 'error' 3037 | error("Reading file \"%s\"", save); | ^~~~~ cmds.c: In function 'backcol': sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:3190:7: note: in expansion of macro 'error' 3190 | {error ("At column A"); break;} | ^~~~~ cmds.c: In function 'backrow': sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:3244:7: note: in expansion of macro 'error' 3244 | {error("At row zero"); break;} | ^~~~~ cmds.c: In function 'markcell': sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:3257:5: note: in expansion of macro 'error' 3257 | error("Mark cell:"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:3259:2: note: in expansion of macro 'error' 3259 | error(""); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:3263:2: note: in expansion of macro 'error' 3263 | error("Invalid mark (must be a-z)"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:3266:5: note: in expansion of macro 'error' 3266 | error(""); | ^~~~~ cmds.c: In function 'dotick': sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:3280:5: note: in expansion of macro 'error' 3280 | error("Go to marked cell:"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:3282:2: note: in expansion of macro 'error' 3282 | error(""); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:3289:2: note: in expansion of macro 'error' 3289 | error("Invalid mark (must be a-z, 0-9, ` or \')"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:3293:2: note: in expansion of macro 'error' 3293 | error("Mark not set"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:3296:5: note: in expansion of macro 'error' 3296 | error(""); | ^~~~~ cmds.c: In function 'gotonote': sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ cmds.c:3319:2: note: in expansion of macro 'error' 3319 | 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] 2558 | (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] 2562 | (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] 3069 | 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] 3586 | 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 307 | #define is_cleared 0200 | In file included from color.c:20: /usr/include/curses.h:1370: note: this is the location of the previous definition 1370 | #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] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ color.c:111:2: note: in expansion of macro 'error' 111 | error("Invalid color number"); | ^~~~~ color.c: In function 'add_crange': sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ color.c:159:2: note: in expansion of macro 'error' 159 | 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 307 | #define is_cleared 0200 | In file included from frame.c:22: /usr/include/curses.h:1370: note: this is the location of the previous definition 1370 | #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] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ frame.c:58:6: note: in expansion of macro 'error' 58 | error("Invalid parameters"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ frame.c:112:3: note: in expansion of macro 'error' 112 | 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 307 | #define is_cleared 0200 | In file included from gram.y:18: /usr/include/curses.h:1370: note: this is the location of the previous definition 1370 | #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] 310 | { ljustify($2.left.vp->row, $2.left.vp->col, | ^~~~~~~~ gram.y:317:7: warning: implicit declaration of function 'rjustify' [-Wimplicit-function-declaration] 317 | { rjustify($2.left.vp->row, $2.left.vp->col, | ^~~~~~~~ gram.y:324:7: warning: implicit declaration of function 'center' [-Wimplicit-function-declaration] 324 | { center($2.left.vp->row, $2.left.vp->col, | ^~~~~~ In file included from gram.y:20: sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ gram.y:380:9: note: in expansion of macro 'error' 380 | error("Invalid format number"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ gram.y:414:9: note: in expansion of macro 'error' 414 | error("Invalid function key"); | ^~~~~ gram.y:619:7: warning: implicit declaration of function 'add_abbr' [-Wimplicit-function-declaration] 619 | | S_ABBREV STRING { add_abbr($2); } | ^~~~~~~~ In file included from gram.y:20: sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ gram.y:653:10: note: in expansion of macro 'error' 653 | error("Need both outer and inner" | ^~~~~ In file included from gram.y:20: sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ gram.y:709:10: note: in expansion of macro 'error' 709 | error("Invalid color number"); } | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ gram.y:734:10: note: in expansion of macro 'error' 734 | error("Invalid buffer"); | ^~~~~ gram.y:817:8: warning: implicit declaration of function 'yankrow'; did you mean 'yankr'? [-Wimplicit-function-declaration] 817 | yankrow(arg); | ^~~~~~~ | yankr gram.y:847:8: warning: implicit declaration of function 'yankcol'; did you mean 'backcol'? [-Wimplicit-function-declaration] 847 | yankcol(arg); | ^~~~~~~ | backcol gram.y:960:7: warning: implicit declaration of function 'getframe'; did you mean 'getformat'? [-Wimplicit-function-declaration] 960 | | S_GETFRAME { getframe(macrofd); } | ^~~~~~~~ | getformat gram.y:962:7: warning: implicit declaration of function 'getrange'; did you mean 'sortrange'? [-Wimplicit-function-declaration] 962 | | S_GETRANGE STRING { getrange($2, macrofd); } | ^~~~~~~~ | sortrange gram.y:965:7: warning: implicit declaration of function 'doeval'; did you mean 'eval'? [-Wimplicit-function-declaration] 965 | | 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] 972 | | S_SEVAL e { doseval($2, currow, curcol, macrofd); } | ^~~~~~~ | seval gram.y:981:7: warning: implicit declaration of function 'dogetkey' [-Wimplicit-function-declaration] 981 | | S_GETKEY { dogetkey(); } | ^~~~~~~~ In file included from gram.y:20: sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ gram.y:982:7: note: in expansion of macro 'error' 982 | | S_ERROR STRING { error($2); } | ^~~~~ gram.y:881:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 881 | write(macrofd, line, strlen(line)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gram.y:887:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 887 | write($3, line, strlen(line)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gram.y:999:8: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] 999 | 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 307 | #define is_cleared 0200 | In file included from help.c:13: /usr/include/curses.h:1370: note: this is the location of the previous definition 1370 | #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 307 | #define is_cleared 0200 | In file included from interp.c:42: /usr/include/curses.h:1370: note: this is the location of the previous definition 1370 | #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] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ interp.c:155:3: note: in expansion of macro 'error' 155 | error("Unknown function in finfunc"); | ^~~~~ interp.c: In function 'doindex': sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ interp.c:209:2: note: in expansion of macro 'error' 209 | error("Improper indexing operation"); | ^~~~~ interp.c: In function 'dolookup': sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ interp.c:243:4: note: in expansion of macro 'error' 243 | error(" range specified to @[hv]lookup"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ interp.c:267:4: note: in expansion of macro 'error' 267 | error(" range specified to @[hv]lookup"); | ^~~~~ interp.c: In function 'dodts': sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ interp.c:537:9: note: in expansion of macro 'error' 537 | 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] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ interp.c:549:2: note: in expansion of macro 'error' 549 | error ("@tts: Invalid argument"); | ^~~~~ interp.c: In function 'dolmax': interp.c:691:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 691 | 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' 692 | maxval = v; count++; | ^~~~~ interp.c: In function 'dolmin': interp.c:709:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 709 | 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' 710 | 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] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ interp.c:963:11: note: in expansion of macro 'error' 963 | default: error ("Illegal numeric expression"); | ^~~~~ interp.c: In function 'doext': sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ interp.c:1110:2: note: in expansion of macro 'error' 1110 | error("Warning: external functions disabled; using %s value", | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ interp.c:1116:6: note: in expansion of macro 'error' 1116 | error ("Warning: external function given null command name"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ interp.c:1125:6: note: in expansion of macro 'error' 1125 | error("Running external function..."); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ interp.c:1129:3: note: in expansion of macro 'error' 1129 | error("Warning: running \"%s\" failed", buff); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ interp.c:1133:7: note: in expansion of macro 'error' 1133 | error("Warning: external function returned nothing"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ interp.c:1137:7: note: in expansion of macro 'error' 1137 | error(""); /* erase notice */ | ^~~~~ interp.c: In function 'seval': sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ interp.c:1352:8: note: in expansion of macro 'error' 1352 | error("Illegal string expression"); | ^~~~~ interp.c: In function 'setiterations': sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ interp.c:1376:2: note: in expansion of macro 'error' 1376 | 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] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ interp.c:1392:3: note: in expansion of macro 'error' 1392 | error("Still changing after %d iterations", repct - 1); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ interp.c:1410:3: note: in expansion of macro 'error' 1410 | 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] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ interp.c:1443:10: note: in expansion of macro 'error' 1443 | else error("Internal error calc_order"); | ^~~~~ interp.c: In function 'RealEvalOne': sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ interp.c:1456:6: note: in expansion of macro 'error' 1456 | error("Floating point exception %s", v_name(i, j)); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ interp.c:1477:6: note: in expansion of macro 'error' 1477 | 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] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ interp.c:1651:5: note: in expansion of macro 'error' 1651 | error("Copying..."); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ interp.c:1689:5: note: in expansion of macro 'error' 1689 | error("Copy done."); | ^~~~~ interp.c: In function 'go_last': sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ interp.c:1826:6: note: in expansion of macro 'error' 1826 | error("Nothing to repeat"); break; | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ interp.c:1845:11: note: in expansion of macro 'error' 1845 | default: error("go_last: internal error"); | ^~~~~ interp.c: In function 'num_search': sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ interp.c:1948:3: note: in expansion of macro 'error' 1948 | error("no %s cell found", errsearch == CELLERROR ? "ERROR" : | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ interp.c:1951:3: note: in expansion of macro 'error' 1951 | error("Number not found"); | ^~~~~ interp.c: In function 'str_search': sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ interp.c:1989:2: note: in expansion of macro 'error' 1989 | error(tmp); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ interp.c:2104:6: note: in expansion of macro 'error' 2104 | error("String not found"); | ^~~~~ interp.c: In function 'fill': sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ interp.c:2176:10: note: in expansion of macro 'error' 2176 | else error(" Internal error calc_order"); | ^~~~~ interp.c: In function 'let': sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ interp.c:2251:6: note: in expansion of macro 'error' 2251 | 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] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ interp.c:2323:2: note: in expansion of macro 'error' 2323 | 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] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ interp.c:2421:2: note: in expansion of macro 'error' 2421 | error("Invalid Range"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ interp.c:2426:6: note: in expansion of macro 'error' 2426 | 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] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ interp.c:2438:2: note: in expansion of macro 'error' 2438 | error("Invalid Range"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ interp.c:2443:6: note: in expansion of macro 'error' 2443 | 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] 2609 | 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' 2610 | linelim--; | ^~~~~~~ interp.c:2613:12: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2613 | 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' 2614 | linelim--; | ^~~~~~~ interp.c:2669:12: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2669 | 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' 2670 | linelim--; | ^~~~~~~ interp.c:2700:14: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2700 | 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' 2701 | linelim--; | ^~~~~~~ interp.c:2703:14: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2703 | 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' 2704 | linelim--; | ^~~~~~~ interp.c:2706:16: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2706 | 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' 2707 | linelim--; | ^~~~~~~ interp.c:2709:16: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2709 | 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' 2710 | linelim--; | ^~~~~~~ interp.c:2714:16: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2714 | 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' 2715 | linelim--; | ^~~~~~~ interp.c:2717:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2717 | 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' 2718 | linelim--; | ^~~~~~~ interp.c:2720:12: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2720 | 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' 2721 | linelim--; | ^~~~~~~ interp.c:2723:14: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2723 | 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' 2724 | linelim--; | ^~~~~~~ interp.c:2726:12: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2726 | 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' 2727 | linelim--; | ^~~~~~~ interp.c:2729:14: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2729 | 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' 2730 | linelim--; | ^~~~~~~ interp.c:2732:15: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | 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' 2733 | linelim--; | ^~~~~~~ interp.c:2735:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2735 | 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' 2736 | linelim--; | ^~~~~~~ interp.c:2738:16: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2738 | 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' 2739 | linelim--; | ^~~~~~~ interp.c:2741:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2741 | 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' 2742 | linelim--; | ^~~~~~~ interp.c:2744:14: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2744 | 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' 2745 | 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 307 | #define is_cleared 0200 | In file included from lex.c:33: /usr/include/curses.h:1370: note: this is the location of the previous definition 1370 | #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] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ lex.c:215:6: note: in expansion of macro 'error' 215 | 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 307 | #define is_cleared 0200 | In file included from pipe.c:10: /usr/include/curses.h:1370: note: this is the location of the previous definition 1370 | #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] 39 | 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] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ pipe.c:311:5: note: in expansion of macro 'error' 311 | error(""); | ^~~~~ pipe.c: In function 'getnum': pipe.c:49:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 49 | 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] 92 | 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] 117 | 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] 149 | 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] 163 | 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] 182 | 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] 206 | 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] 249 | 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] 271 | 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] 288 | write(fd, s, strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~~ pipe.c:289:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 289 | 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] 305 | write(fd, line, strlen(line)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pipe.c:306:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 306 | 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] 347 | 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] 358 | 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 307 | #define is_cleared 0200 | In file included from range.c:22: /usr/include/curses.h:1370: note: this is the location of the previous definition 1370 | #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] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ range.c:63:2: note: in expansion of macro 'error' 63 | error("Error: range name \"%s\" already defined", name); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ range.c:70:6: note: in expansion of macro 'error' 70 | error("Invalid range name \"%s\" - illegal combination", name); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ range.c:89:6: note: in expansion of macro 'error' 89 | 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 307 | #define is_cleared 0200 | In file included from sc.c:17: /usr/include/curses.h:1370: note: this is the location of the previous definition 1370 | #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] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:375:6: note: in expansion of macro 'error' 375 | error("New file: \"%s\"", curfile); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:453:4: note: in expansion of macro 'error' 453 | error("Select range:"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:493:8: note: in expansion of macro 'error' 493 | error(""); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:603:7: note: in expansion of macro 'error' 603 | error ("No such command (^%c)", c + 0100); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:674:5: note: in expansion of macro 'error' 674 | error("Invalid ^E command"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:801:7: note: in expansion of macro 'error' 801 | error( | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:811:8: note: in expansion of macro 'error' 811 | error("Automatic recalculation %sabled.", | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:816:8: note: in expansion of macro 'error' 816 | error("%sptimize expressions upon entry.", | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:821:8: note: in expansion of macro 'error' 821 | error("Numeric input %sabled.", | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:826:8: note: in expansion of macro 'error' 826 | error("Top line %sabled.", showtop ? "en" : "dis"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:831:8: note: in expansion of macro 'error' 831 | error("Cell highlighting %sabled.", | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:837:8: note: in expansion of macro 'error' 837 | error("Braille enhancement %sabled.", | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:843:8: note: in expansion of macro 'error' 843 | error("Color slop %sabled.", | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:857:8: note: in expansion of macro 'error' 857 | error("Color %sabled.", color ? "en" : "dis"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:861:8: note: in expansion of macro 'error' 861 | error("Color changing of negative numbers %sabled.", | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:866:8: note: in expansion of macro 'error' 866 | error("Color changing of cells with errors %sabled.", | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:871:8: note: in expansion of macro 'error' 871 | error("Encryption not available."); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:879:8: note: in expansion of macro 'error' 879 | error("Autolabel %sabled.", | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:884:5: note: in expansion of macro 'error' 884 | error("Prescale enabled."); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:888:5: note: in expansion of macro 'error' 888 | error("Prescale disabled."); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:893:8: note: in expansion of macro 'error' 893 | error("External functions %sabled.", | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:898:8: note: in expansion of macro 'error' 898 | error(""); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:902:8: note: in expansion of macro 'error' 902 | error("Which direction after return key?"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:906:9: note: in expansion of macro 'error' 906 | error("No action after new line"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:912:9: note: in expansion of macro 'error' 912 | error("Down row after new line"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:918:9: note: in expansion of macro 'error' 918 | error("Right column after new line"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:922:9: note: in expansion of macro 'error' 922 | error(""); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:925:9: note: in expansion of macro 'error' 925 | error("Not a valid direction"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:930:8: note: in expansion of macro 'error' 930 | error("Autoinsert %sabled.", | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:935:8: note: in expansion of macro 'error' 935 | error("Autowrap %sabled.", | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:941:8: note: in expansion of macro 'error' 941 | error("Row and column limits set"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:944:8: note: in expansion of macro 'error' 944 | error("Invalid toggle command"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:1056:3: note: in expansion of macro 'error' 1056 | error("Can't increment/decrement a formula\n"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:1164:7: note: in expansion of macro 'error' 1164 | error( | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:1170:7: note: in expansion of macro 'error' 1170 | error(""); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:1232:4: note: in expansion of macro 'error' 1232 | error("frame (top/bottom/left/right/all/unframe)"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:1237:4: note: in expansion of macro 'error' 1237 | error(""); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:1262:5: note: in expansion of macro 'error' 1262 | error("Invalid frame command"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:1290:8: note: in expansion of macro 'error' 1290 | error("Nothing to show"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:1303:5: note: in expansion of macro 'error' 1303 | 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] 1310 | 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] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:1345:4: note: in expansion of macro 'error' 1345 | error("Invalid region command"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:1357:7: note: in expansion of macro 'error' 1357 | error("Select buffer (a-z or 0-9):"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:1359:4: note: in expansion of macro 'error' 1359 | error(""); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:1362:4: note: in expansion of macro 'error' 1362 | error(""); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:1365:4: note: in expansion of macro 'error' 1365 | error(""); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:1368:4: note: in expansion of macro 'error' 1368 | error(""); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:1370:4: note: in expansion of macro 'error' 1370 | error("Invalid buffer"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:1391:8: note: in expansion of macro 'error' 1391 | error("Invalid row/column command"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:1395:4: note: in expansion of macro 'error' 1395 | error(""); /* clear line */ | ^~~~~ sc.c:1423:24: warning: implicit declaration of function 'yankrow'; did you mean 'yankr'? [-Wimplicit-function-declaration] 1423 | if (rcqual == 'r') yankrow(arg); | ^~~~~~~ | yankr sc.c:1424:12: warning: implicit declaration of function 'yankcol'; did you mean 'backcol'? [-Wimplicit-function-declaration] 1424 | else yankcol(arg); | ^~~~~~~ | backcol In file included from sc.c:37: sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:1468:11: note: in expansion of macro 'error' 1468 | error("No file name."); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:1506:9: note: in expansion of macro 'error' 1506 | error("At end of table"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:1531:9: note: in expansion of macro 'error' 1531 | error("At start of table"); | ^~~~~ sc.c:1600:8: warning: implicit declaration of function 'ljustify' [-Wimplicit-function-declaration] 1600 | ljustify(currow, curcol, currow, curcol); | ^~~~~~~~ In file included from sc.c:37: sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:1602:8: note: in expansion of macro 'error' 1602 | error("Nothing to justify"); | ^~~~~ sc.c:1610:8: warning: implicit declaration of function 'rjustify' [-Wimplicit-function-declaration] 1610 | rjustify(currow, curcol, currow, curcol); | ^~~~~~~~ In file included from sc.c:37: sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:1612:8: note: in expansion of macro 'error' 1612 | error("Nothing to justify"); | ^~~~~ sc.c:1620:8: warning: implicit declaration of function 'center' [-Wimplicit-function-declaration] 1620 | center(currow, curcol, currow, curcol); | ^~~~~~ In file included from sc.c:37: sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:1622:8: note: in expansion of macro 'error' 1622 | error("Nothing to center"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:1678:7: note: in expansion of macro 'error' 1678 | error("Color number to set (1-8)?"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:1680:4: note: in expansion of macro 'error' 1680 | error(""); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:1684:4: note: in expansion of macro 'error' 1684 | error("Invalid color number."); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:1687:7: note: in expansion of macro 'error' 1687 | error(""); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:1729:4: note: in expansion of macro 'error' 1729 | error("Default path is \"%s.%s\"", curfile, | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:1768:4: note: in expansion of macro 'error' 1768 | error("Default file is \"%s\"", curfile); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:1800:4: note: in expansion of macro 'error' 1800 | error("Default file is \"%s.%s\"", curfile, | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:1817:7: note: in expansion of macro 'error' 1817 | 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] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:1840:4: note: in expansion of macro 'error' 1840 | error("Default file is \"%s.%s\"", curfile, | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:1843:4: note: in expansion of macro 'error' 1843 | error("Default file is \"%s.%s\"", curfile, | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:1846:4: note: in expansion of macro 'error' 1846 | error("Default file is \"%s.%s\"", curfile, | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:1849:4: note: in expansion of macro 'error' 1849 | error("Default file is \"%s.%s\"", curfile, | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:1852:4: note: in expansion of macro 'error' 1852 | error("Default file is \"%s.%s\"", curfile, | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:1936:7: note: in expansion of macro 'error' 1936 | error("Copy marked cell:"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:1938:4: note: in expansion of macro 'error' 1938 | error(""); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:1953:4: note: in expansion of macro 'error' 1953 | error("Invalid mark (must be a-z, 0-9, ` or \')"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:1957:4: note: in expansion of macro 'error' 1957 | error("Mark not set"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:1960:7: note: in expansion of macro 'error' 1960 | error(""); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:1995:4: note: in expansion of macro 'error' 1995 | error("Note: Add/Delete/Show/*(go to note)?"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:1997:8: note: in expansion of macro 'error' 1997 | error(""); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:2006:8: note: in expansion of macro 'error' 2006 | error(""); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:2014:8: note: in expansion of macro 'error' 2014 | error(""); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:2023:8: note: in expansion of macro 'error' 2023 | error("Highlighted cells have attached notes."); | ^~~~~ sc.c:2027:8: warning: implicit declaration of function 'gotonote' [-Wimplicit-function-declaration] 2027 | gotonote(); | ^~~~~~~~ In file included from sc.c:37: sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:2028:8: note: in expansion of macro 'error' 2028 | error(""); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:2031:4: note: in expansion of macro 'error' 2031 | error("Invalid command"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:2074:4: note: in expansion of macro 'error' 2074 | error ("Weird character, decimal %d\n", | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:2077:8: note: in expansion of macro 'error' 2077 | error ("No such command (%c)", c); | ^~~~~ sc.c:242:14: warning: unused variable 'home' [-Wunused-variable] 242 | 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] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:2219:3: note: in expansion of macro 'error' 2219 | 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] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sc.c:2257:2: note: in expansion of macro 'error' 2257 | 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] 439 | freopen("/dev/tty", "r", stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sc.c:440:4: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] 440 | freopen("/dev/tty", "w", stdout); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sc.c:1027:6: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] 1027 | 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=] 2232 | (void) sprintf(lin,"File \"%s\" is modified, save%s? ",curfile,endstr); | ^~ ~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/curses.h:192, from sc.c:17: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 28 or more bytes (assuming 1051) into a destination of size 100 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __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 307 | #define is_cleared 0200 | In file included from screen.c:15: /usr/include/curses.h:1370: note: this is the location of the previous definition 1370 | #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] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ screen.c:136:3: note: in expansion of macro 'error' 136 | error("Frame too large for screen size - ignoring"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ screen.c:213:6: note: in expansion of macro 'error' 213 | error("column %s too wide - resizing", coltoa(curcol)); | ^~~~~ screen.c:457:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 457 | 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' 459 | if (currow < strow) | ^~ screen.c:877:24: warning: the address of 'has_colors' will always evaluate as 'true' [-Waddress] 877 | 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 307 | #define is_cleared 0200 | In file included from sort.c:23: /usr/include/curses.h:1370: note: this is the location of the previous definition 1370 | #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] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sort.c:73:7: note: in expansion of macro 'error' 73 | error("Invalid sort criteria"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sort.c:84:7: note: in expansion of macro 'error' 84 | error("Invalid sort criteria"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sort.c:90:3: note: in expansion of macro 'error' 90 | error("Invalid sort criteria"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sort.c:97:3: note: in expansion of macro 'error' 97 | error("Invalid sort criteria"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ sort.c:109:3: note: in expansion of macro 'error' 109 | 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 307 | #define is_cleared 0200 | In file included from vi.c:17: /usr/include/curses.h:1370: note: this is the location of the previous definition 1370 | #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] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ vi.c:143:5: note: in expansion of macro 'error' 143 | error(""); | ^~~~~ vi.c:153:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 153 | else | ^~~~ vi.c:154:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 154 | cr_line(); break; | ^~~~~ vi.c:523:35: warning: implicit declaration of function 'gotonote' [-Wimplicit-function-declaration] 523 | case '*': if (nmgetch() == '*') gotonote(); break; | ^~~~~~~~ In file included from vi.c:22: sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ vi.c:540:7: note: in expansion of macro 'error' 540 | error("At end of table"); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ vi.c:564:7: note: in expansion of macro 'error' 564 | error("At start of table"); | ^~~~~ vi.c: In function 'change_case': vi.c:1129:1: warning: type of 'arg' defaults to 'int' [-Wimplicit-int] 1129 | 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] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ vi.c:1479:2: note: in expansion of macro 'error' 1479 | error("History line %d", endhist - lasthist + histp); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ vi.c:1481:2: note: in expansion of macro 'error' 1481 | error(""); | ^~~~~ vi.c: In function 'back_hist': sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ vi.c:1508:2: note: in expansion of macro 'error' 1508 | error("History line %d", endhist - lasthist + histp); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ vi.c:1510:2: note: in expansion of macro 'error' 1510 | error(""); | ^~~~~ vi.c: In function 'search_hist': sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ vi.c:1537:2: note: in expansion of macro 'error' 1537 | error(tmp); | ^~~~~ vi.c: In function 'search_again': sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ vi.c:1589:5: note: in expansion of macro 'error' 1589 | error(""); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ vi.c:1610:3: note: in expansion of macro 'error' 1610 | error("No matches found"); | ^~~~~ vi.c:1617:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1617 | else | ^~~~ vi.c:1619:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 1619 | (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] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ vi.c:1653:2: note: in expansion of macro 'error' 1653 | error("History line %d", endhist - lasthist + histp); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ vi.c:1655:2: note: in expansion of macro 'error' 1655 | error("No matches found"); | ^~~~~ vi.c: In function 'query': sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ vi.c:2041:20: note: in expansion of macro 'error' 2041 | if (s != NULL) error(s); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ vi.c:2047:3: note: in expansion of macro 'error' 2047 | error(""); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ vi.c:2052:3: note: in expansion of macro 'error' 2052 | error(""); | ^~~~~ vi.c: In function 'doshell': vi.c:1399:12: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] 1399 | (void) fgets(cmd, MAXCMD, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:508, from vi.c:12: In function 'strncpy', inlined from 'dogoto' at vi.c:2012:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 5 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 307 | #define is_cleared 0200 | In file included from vmtbl.c:16: /usr/include/curses.h:1370: note: this is the location of the previous definition 1370 | #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] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ vmtbl.c:121:6: note: in expansion of macro 'error' 121 | error(nowider); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ vmtbl.c:59:2: note: in expansion of macro 'error' 59 | error(msg); \ | ^~~~~ vmtbl.c:139:2: note: in expansion of macro 'GROWALLOC' 139 | GROWALLOC(row_hidden2, row_hidden, newrows, char, nolonger); | ^~~~~~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ vmtbl.c:59:2: note: in expansion of macro 'error' 59 | error(msg); \ | ^~~~~ vmtbl.c:146:2: note: in expansion of macro 'GROWALLOC' 146 | GROWALLOC(tbl2, tbl, newrows, struct ent **, nolonger); | ^~~~~~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ vmtbl.c:59:2: note: in expansion of macro 'error' 59 | error(msg); \ | ^~~~~ vmtbl.c:155:2: note: in expansion of macro 'GROWALLOC' 155 | GROWALLOC(fwidth2, fwidth, newcols, int, nowider); | ^~~~~~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ vmtbl.c:59:2: note: in expansion of macro 'error' 59 | error(msg); \ | ^~~~~ vmtbl.c:156:2: note: in expansion of macro 'GROWALLOC' 156 | GROWALLOC(precision2, precision, newcols, int, nowider); | ^~~~~~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ vmtbl.c:59:2: note: in expansion of macro 'error' 59 | error(msg); \ | ^~~~~ vmtbl.c:157:2: note: in expansion of macro 'GROWALLOC' 157 | GROWALLOC(realfmt2, realfmt, newcols, int, nowider); | ^~~~~~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ vmtbl.c:59:2: note: in expansion of macro 'error' 59 | error(msg); \ | ^~~~~ vmtbl.c:164:2: note: in expansion of macro 'GROWALLOC' 164 | GROWALLOC(col_hidden2, col_hidden, newcols, char, nowider); | ^~~~~~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ vmtbl.c:176:6: note: in expansion of macro 'error' 176 | error(nowider); | ^~~~~ sc.h:46:68: warning: value computed is not used [-Wunused-value] 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^~ vmtbl.c:194:6: note: in expansion of macro 'error' 194 | 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 307 | #define is_cleared 0200 | In file included from xmalloc.c:6: /usr/include/curses.h:1370: note: this is the location of the previous definition 1370 | #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 307 | #define is_cleared 0200 | In file included from pxmalloc.c:6: /usr/include/curses.h:1370: note: this is the location of the previous definition 1370 | #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] 646 | (void) exit(0); | ^~~~ qhelp.c:646:12: warning: incompatible implicit declaration of built-in function 'exit' qhelp.c:10:1: note: include '' or provide a declaration of 'exit' 9 | #include +++ |+#include 10 | char *header = " Quick Reference"; make: Leaving directory '/usr/src/RPM/BUILD/sc-7.16' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.4214 + 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: 056-debuginfo.brp: WARNING: You have 3 stripped ELF objects. Please compile with debugging information! 056-debuginfo.brp: WARNING: An excerpt from the list of affected files follows: ./usr/bin/psc ./usr/bin/sc ./usr/bin/scqref 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.88225 + 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.HQMoZs find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Hrf5pr find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) 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), libm.so.6(GLIBC_2.29), 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.N5paBs Wrote: /usr/src/RPM/RPMS/i586/sc-7.16-alt3.qa1.i586.rpm 12.10user 1.14system 0:15.34elapsed 86%CPU (0avgtext+0avgdata 46736maxresident)k 0inputs+0outputs (0major+326271minor)pagefaults 0swaps /.out/sc-7.16-alt3.qa1.i586.rpm: license not found in '/usr/share/license' directory: PD 16.56user 5.07system 0:24.00elapsed 90%CPU (0avgtext+0avgdata 108820maxresident)k 0inputs+0outputs (0major+587459minor)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 2020-11-19 09:34:12.893089730 +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 @@ -24,2 +24,3 @@ Requires: libm.so.6(GLIBC_2.0) +Requires: libm.so.6(GLIBC_2.29) Requires: libncurses.so.5 >= set:mhWilR7Dvtl3kiV7wYae9T0AbAtqE8bS1pDqRkVe7TF2xkmZnrj0ujYofpOj1p0ovi