<86>Dec 2 04:56:41 userdel[30384]: delete user 'rooter' <86>Dec 2 04:56:41 userdel[30384]: removed group 'rooter' owned by 'rooter' <86>Dec 2 04:56:41 userdel[30384]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 2 04:56:41 groupadd[30441]: group added to /etc/group: name=rooter, GID=1805 <86>Dec 2 04:56:41 groupadd[30441]: group added to /etc/gshadow: name=rooter <86>Dec 2 04:56:41 groupadd[30441]: new group: name=rooter, GID=1805 <86>Dec 2 04:56:41 useradd[30480]: new user: name=rooter, UID=1805, GID=1805, home=/root, shell=/bin/bash, from=none <86>Dec 2 04:56:41 userdel[30524]: delete user 'builder' <86>Dec 2 04:56:41 userdel[30524]: removed group 'builder' owned by 'builder' <86>Dec 2 04:56:41 userdel[30524]: removed shadow group 'builder' owned by 'builder' <86>Dec 2 04:56:41 groupadd[30566]: group added to /etc/group: name=builder, GID=1806 <86>Dec 2 04:56:41 groupadd[30566]: group added to /etc/gshadow: name=builder <86>Dec 2 04:56:41 groupadd[30566]: new group: name=builder, GID=1806 <86>Dec 2 04:56:41 useradd[30586]: new user: name=builder, UID=1806, GID=1806, home=/usr/src, shell=/bin/bash, from=none /usr/src/in/srpm/sc-7.16-alt3.qa1.src.rpm: license not found in '/usr/share/license' directory: PD <13>Dec 2 04:56:44 rpmi: libncurses6-6.3.20220618-alt4 sisyphus+328055.40.2.1 1693213017 installed <13>Dec 2 04:56:44 rpmi: libtinfo-devel-6.3.20220618-alt4 sisyphus+328055.40.2.1 1693213017 installed <13>Dec 2 04:56:44 rpmi: libncurses-devel-6.3.20220618-alt4 sisyphus+328055.40.2.1 1693213017 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/sc-7.16-alt3.qa1.nosrc.rpm (w1.gzdio) 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.55075 + 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.55075 + 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 -flto=auto -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 -flto=auto -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:1417: note: this is the location of the previous definition 1417 | #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) | 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:13: 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:17: 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:17: 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:17: 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:13: 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:13: note: in expansion of macro 'error' 100 | error("abreviation \"%s\" doesn't exist", string); | ^~~~~ gcc -DSYSV3 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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:1417: note: this is the location of the previous definition 1417 | #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) | 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:9: 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:13: 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:13: 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:9: 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:9: 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:17: 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:9: 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:9: 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:9: 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:9: 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:9: note: in expansion of macro 'error' 1219 | error("Locked cells encountered. Nothing changed"); | ^~~~~ cmds.c: In function 'doend': cmds.c:1394:16: warning: zero-length gnu_printf format string [-Wformat-zero-length] 1394 | error (""); /* clear line */ | ^~ 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:9: 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:9: 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:9: 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:9: 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:9: 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) | ^~~~~~~~~ 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:21: 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:21: note: in expansion of macro 'error' 1555 | error("Define format type (0-9):"); | ^~~~~ cmds.c:1569:31: warning: zero-length gnu_printf format string [-Wformat-zero-length] 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:1569:25: 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:25: 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:9: note: in expansion of macro 'error' 1582 | error("Current format is %d %d %d", | ^~~~~ cmds.c:1602:15: warning: zero-length gnu_printf format string [-Wformat-zero-length] 1602 | 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:1602:9: 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] 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:13: 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:9: 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:25: 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:25: 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:25: 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:9: 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:9: 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:13: 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:9: 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:13: 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:9: 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:9: 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:9: note: in expansion of macro 'error' 2545 | error("Can't make pipe to child"); | ^~~~~ cmds.c:2565:9: warning: missing sentinel in function call [-Wformat=] 2565 | (void) execl("/bin/sh", "sh", "-c", efname, 0); | ^ 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:13: 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:9: 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:9: 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:9: 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:17: 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:17: 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:9: 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:9: 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:13: 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:17: 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:17: 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:13: 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:17: 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:14: 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:14: 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:"); | ^~~~~ cmds.c:3259:15: warning: zero-length gnu_printf format string [-Wformat-zero-length] 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:3259:9: 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:9: note: in expansion of macro 'error' 3263 | error("Invalid mark (must be a-z)"); | ^~~~~ cmds.c:3266:11: warning: zero-length gnu_printf format string [-Wformat-zero-length] 3266 | 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: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:"); | ^~~~~ cmds.c:3282:15: warning: zero-length gnu_printf format string [-Wformat-zero-length] 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:3282:9: 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:9: 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:9: note: in expansion of macro 'error' 3293 | error("Mark not set"); | ^~~~~ cmds.c:3296:11: warning: zero-length gnu_printf format string [-Wformat-zero-length] 3296 | 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: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:9: note: in expansion of macro 'error' 3319 | error("No note attached"); | ^~~~~ cmds.c: In function 'openfile': cmds.c:2558:16: 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:20: 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:9: 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:9: 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 -flto=auto -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:1417: note: this is the location of the previous definition 1417 | #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) | 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:9: 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:9: note: in expansion of macro 'error' 159 | error("Color range not defined"); | ^~~~~ gcc -DSYSV3 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -DDOBACKUPS -c crypt.c gcc -DSYSV3 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o format.o format.c gcc -DSYSV3 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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:1417: note: this is the location of the previous definition 1417 | #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) | 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:13: 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:17: 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 -flto=auto -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:1417: note: this is the location of the previous definition 1417 | #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) | gram.y: In function 'yyparse': gram.y:310:63: warning: implicit declaration of function 'ljustify' [-Wimplicit-function-declaration] 310 | { ljustify($2.left.vp->row, $2.left.vp->col, | ^~~~~~~~ gram.y:317:63: warning: implicit declaration of function 'rjustify' [-Wimplicit-function-declaration] 317 | { rjustify($2.left.vp->row, $2.left.vp->col, | ^~~~~~~~ gram.y:324:63: warning: implicit declaration of function 'center' [-Wimplicit-function-declaration] 324 | { center($2.left.vp->row, $2.left.vp->col, | ^~~~~~ 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:37: 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:37: note: in expansion of macro 'error' 414 | error("Invalid function key"); | ^~~~~ gram.y:619:57: warning: implicit declaration of function 'add_abbr' [-Wimplicit-function-declaration] 619 | | S_ABBREV STRING { add_abbr($2); } | ^ 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:45: note: in expansion of macro 'error' 653 | error("Need both outer and inner" | ^~~~~ 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:45: 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:45: note: in expansion of macro 'error' 734 | error("Invalid buffer"); | ^~~~~ gram.y:817:43: warning: implicit declaration of function 'yankrow'; did you mean 'yankr'? [-Wimplicit-function-declaration] 817 | yankrow(arg); | ^~~~~~~ | yankr gram.y:847:43: warning: implicit declaration of function 'yankcol'; did you mean 'backcol'? [-Wimplicit-function-declaration] 847 | yankcol(arg); | ^~~~~~~ | backcol gram.y:960:68: warning: implicit declaration of function 'getframe'; did you mean 'getformat'? [-Wimplicit-function-declaration] 960 | | S_GETFRAME { getframe(macrofd); } | ^ | getformat gram.y:962:62: warning: implicit declaration of function 'getrange'; did you mean 'sortrange'? [-Wimplicit-function-declaration] 962 | | S_GETRANGE STRING { getrange($2, macrofd); } | ^~~~~ | sortrange gram.y:965:70: 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:69: 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:70: warning: implicit declaration of function 'dogetkey' [-Wimplicit-function-declaration] 981 | | S_GETKEY { dogetkey(); } | ^ 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:64: note: in expansion of macro 'error' 982 | | S_ERROR STRING { error($2); } | ^ gram.y:881:43: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 881 | write(macrofd, line, strlen(line)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gram.y:887:43: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 887 | write($3, line, strlen(line)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gram.y:999:43: 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 -flto=auto -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:1417: note: this is the location of the previous definition 1417 | #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) | gcc -DSYSV3 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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:1417: note: this is the location of the previous definition 1417 | #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) | 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:17: 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:9: 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:25: 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:25: 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:9: note: in expansion of macro 'error' 549 | error ("@tts: Invalid argument"); | ^~~~~ interp.c: In function 'dolmax': interp.c:691:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 691 | if (!count || v > maxval) | ^~ interp.c:692:25: 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:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 709 | if (!count || v < minval) | ^~ interp.c:710:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | minval = v; count++; | ^~~~~ 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:25: 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:9: 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:13: 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:13: 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:17: 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:21: note: in expansion of macro 'error' 1133 | error("Warning: external function returned nothing"); | ^~~~~ interp.c:1137:27: warning: zero-length gnu_printf format string [-Wformat-zero-length] 1137 | error(""); /* erase notice */ | ^~ 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:21: 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:22: 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:9: 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:9: 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:17: 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:13: 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:13: 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:13: 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:18: 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:17: 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:17: 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:9: 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:13: 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:13: 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:9: 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:9: 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:13: 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:9: 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:13: note: in expansion of macro 'error' 2443 | error("You can't hide the last col"); | ^~~~~ interp.c: In function 'decompile': interp.c:2609:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2609 | case 'f': for (s="@fixed "; (line[linelim++] = *s++); ); | ^~~ interp.c:2610:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2610 | linelim--; | ^~~~~~~ interp.c:2613:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2613 | case 'F': for (s="(@fixed)"; (line[linelim++] = *s++); ); | ^~~ interp.c:2614:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2614 | linelim--; | ^~~~~~~ interp.c:2669:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2669 | case NOW: for (s = "@now"; (line[linelim++] = *s++); ); | ^~~ interp.c:2670:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2670 | linelim--; | ^~~~~~~ interp.c:2700:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2700 | case MYROW: for (s = "@myrow"; (line[linelim++] = *s++); ); | ^~~ interp.c:2701:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2701 | linelim--; | ^~~~~~~ interp.c:2703:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2703 | case MYCOL: for (s = "@mycol"; (line[linelim++] = *s++); ); | ^~~ interp.c:2704:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2704 | linelim--; | ^~~~~~~ interp.c:2706:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2706 | case LASTROW: for (s = "@lastrow"; (line[linelim++] = *s++); ); | ^~~ interp.c:2707:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2707 | linelim--; | ^~~~~~~ interp.c:2709:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2709 | case LASTCOL: for (s = "@lastcol"; (line[linelim++] = *s++); ); | ^~~ interp.c:2710:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2710 | linelim--; | ^~~~~~~ interp.c:2714:25: 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:25: 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:25: 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:25: 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:25: 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:25: 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:25: 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:25: 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:25: 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:25: 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:25: 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 -flto=auto -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:1417: note: this is the location of the previous definition 1417 | #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) | 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:13: note: in expansion of macro 'error' 215 | error("Floating point exception\n"); | ^~~~~ gcc -DSYSV3 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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:1417: note: this is the location of the previous definition 1417 | #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) | pipe.c: In function 'getnum': pipe.c:39:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 39 | if (p) | ^ pipe.c: In function 'doquery': pipe.c:311:11: warning: zero-length gnu_printf format string [-Wformat-zero-length] 311 | error(""); | ^~ 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:13: 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:13: 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:13: 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:13: 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:13: 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:9: 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:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 305 | write(fd, line, strlen(line)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pipe.c:306:9: 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 -flto=auto -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:1417: note: this is the location of the previous definition 1417 | #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) | 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:9: 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:13: 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:13: note: in expansion of macro 'error' 89 | error("Invalid range name \"%s\" - ambiguous", name); | ^~~~~ gcc -DSYSV3 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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:1417: note: this is the location of the previous definition 1417 | #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) | 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:13: 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:25: note: in expansion of macro 'error' 453 | error("Select range:"); | ^~~~~ sc.c:493:35: warning: zero-length gnu_printf format string [-Wformat-zero-length] 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:493:29: 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:21: 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:33: 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:21: 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:29: 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:29: 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:29: 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:29: 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:29: 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:29: 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:29: 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:29: 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:29: 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:29: 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:29: 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:29: 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:33: 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:33: 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:29: note: in expansion of macro 'error' 893 | error("External functions %sabled.", | ^~~~~ sc.c:898:35: warning: zero-length gnu_printf format string [-Wformat-zero-length] 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:898:29: 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:29: 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:37: 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:37: 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:37: note: in expansion of macro 'error' 918 | error("Right column after new line"); | ^~~~~ sc.c:922:43: warning: zero-length gnu_printf format string [-Wformat-zero-length] 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:922:37: 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:37: 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:29: 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:29: 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:29: 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:29: 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:17: 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:21: note: in expansion of macro 'error' 1164 | error( | ^~~~~ sc.c:1170:27: warning: zero-length gnu_printf format string [-Wformat-zero-length] 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:1170:21: 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:25: note: in expansion of macro 'error' 1232 | error("frame (top/bottom/left/right/all/unframe)"); | ^~~~~ sc.c:1237:31: warning: zero-length gnu_printf format string [-Wformat-zero-length] 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:1237:25: 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:33: 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:29: 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:33: note: in expansion of macro 'error' 1303 | error("Can't open pipe to %s", pager); | ^~~~~ sc.c:1310:46: warning: implicit declaration of function 'list_frames'; did you mean 'list_ranges'? [-Wimplicit-function-declaration] 1310 | if (!brokenpipe) list_frames(f); | ^~~~~~~~~~~ | list_ranges 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:25: 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:21: note: in expansion of macro 'error' 1357 | error("Select buffer (a-z or 0-9):"); | ^~~~~ sc.c:1359:31: warning: zero-length gnu_printf format string [-Wformat-zero-length] 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:1359:25: note: in expansion of macro 'error' 1359 | error(""); | ^~~~~ sc.c:1362:31: warning: zero-length gnu_printf format string [-Wformat-zero-length] 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:1362:25: note: in expansion of macro 'error' 1362 | error(""); | ^~~~~ sc.c:1365:31: warning: zero-length gnu_printf format string [-Wformat-zero-length] 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:1365:25: note: in expansion of macro 'error' 1365 | error(""); | ^~~~~ sc.c:1368:31: warning: zero-length gnu_printf format string [-Wformat-zero-length] 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:1368:25: 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:25: 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:29: note: in expansion of macro 'error' 1391 | error("Invalid row/column command"); | ^~~~~ sc.c:1395:31: warning: zero-length gnu_printf format string [-Wformat-zero-length] 1395 | error(""); /* clear 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:1395:25: note: in expansion of macro 'error' 1395 | error(""); /* clear line */ | ^~~~~ sc.c:1423:57: warning: implicit declaration of function 'yankrow'; did you mean 'yankr'? [-Wimplicit-function-declaration] 1423 | if (rcqual == 'r') yankrow(arg); | ^~~~~~~ | yankr sc.c:1424:57: warning: implicit declaration of function 'yankcol'; did you mean 'backcol'? [-Wimplicit-function-declaration] 1424 | else yankcol(arg); | ^~~~~~~ | backcol 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:53: 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:37: 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:37: note: in expansion of macro 'error' 1531 | error("At start of table"); | ^~~~~ sc.c:1600:29: warning: implicit declaration of function 'ljustify' [-Wimplicit-function-declaration] 1600 | ljustify(currow, curcol, currow, curcol); | ^~~~~~~~ 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:29: note: in expansion of macro 'error' 1602 | error("Nothing to justify"); | ^~~~~ sc.c:1610:29: warning: implicit declaration of function 'rjustify' [-Wimplicit-function-declaration] 1610 | rjustify(currow, curcol, currow, curcol); | ^~~~~~~~ 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:29: note: in expansion of macro 'error' 1612 | error("Nothing to justify"); | ^~~~~ sc.c:1620:29: warning: implicit declaration of function 'center' [-Wimplicit-function-declaration] 1620 | center(currow, curcol, currow, curcol); | ^~~~~~ 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:29: 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:21: note: in expansion of macro 'error' 1678 | error("Color number to set (1-8)?"); | ^~~~~ sc.c:1680:31: warning: zero-length gnu_printf format string [-Wformat-zero-length] 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:1680:25: 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:25: note: in expansion of macro 'error' 1684 | error("Invalid color number."); | ^~~~~ sc.c:1687:27: warning: zero-length gnu_printf format string [-Wformat-zero-length] 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:1687:21: 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:25: 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:25: 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:25: 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:21: 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:25: 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:25: 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:25: 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:25: 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:25: 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:21: note: in expansion of macro 'error' 1936 | error("Copy marked cell:"); | ^~~~~ sc.c:1938:31: warning: zero-length gnu_printf format string [-Wformat-zero-length] 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:1938:25: 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:25: 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:25: note: in expansion of macro 'error' 1957 | error("Mark not set"); | ^~~~~ sc.c:1960:27: warning: zero-length gnu_printf format string [-Wformat-zero-length] 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:1960:21: 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:25: note: in expansion of macro 'error' 1995 | error("Note: Add/Delete/Show/*(go to note)?"); | ^~~~~ sc.c:1997:35: warning: zero-length gnu_printf format string [-Wformat-zero-length] 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:1997:29: note: in expansion of macro 'error' 1997 | error(""); | ^~~~~ sc.c:2006:35: warning: zero-length gnu_printf format string [-Wformat-zero-length] 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:2006:29: note: in expansion of macro 'error' 2006 | error(""); | ^~~~~ sc.c:2014:35: warning: zero-length gnu_printf format string [-Wformat-zero-length] 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:2014:29: 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:29: note: in expansion of macro 'error' 2023 | error("Highlighted cells have attached notes."); | ^~~~~ sc.c:2027:29: warning: implicit declaration of function 'gotonote' [-Wimplicit-function-declaration] 2027 | gotonote(); | ^~~~~~~~ sc.c:2028:35: warning: zero-length gnu_printf format string [-Wformat-zero-length] 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:2028:29: 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:25: 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:25: 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:29: 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; | ^~~~ 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:17: 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:9: note: in expansion of macro 'error' 2257 | error("Cell %s%d is locked", coltoa(c), r) ; | ^~~~~ sc.c: In function 'main': sc.c:439:25: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 439 | freopen("/dev/tty", "r", stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sc.c:440:25: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 440 | freopen("/dev/tty", "w", stdout); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sc.c:1027:13: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1027 | system("man sc"); | ^~~~~~~~~~~~~~~~ gcc -DSYSV3 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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:1417: note: this is the location of the previous definition 1417 | #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) | 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:17: 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:13: note: in expansion of macro 'error' 213 | error("column %s too wide - resizing", coltoa(curcol)); | ^~~~~ screen.c:457:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 457 | if (fr && strow < fr->or_left->row + ftoprows) | ^~ screen.c:459:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 459 | if (currow < strow) | ^~ screen.c:877:31: 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 -flto=auto -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:1417: note: this is the location of the previous definition 1417 | #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) | 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:21: 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:21: 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:17: 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:17: 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:17: note: in expansion of macro 'error' 109 | error("sort error"); | ^~~~~ gcc -DSYSV3 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o version.o version.c gcc -DSYSV3 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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:1417: note: this is the location of the previous definition 1417 | #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) | vi.c: In function 'write_line': vi.c:143:11: warning: zero-length gnu_printf format string [-Wformat-zero-length] 143 | 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:143:5: note: in expansion of macro 'error' 143 | error(""); | ^~~~~ vi.c:153:33: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 153 | else | ^~~~ vi.c:154:73: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 154 | cr_line(); break; | ^~~~~ vi.c:523:55: warning: implicit declaration of function 'gotonote' [-Wimplicit-function-declaration] 523 | case '*': if (nmgetch() == '*') gotonote(); break; | ^~~~~~~~ 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:49: 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:49: 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) | ^~~~~~~~~~~ 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:9: note: in expansion of macro 'error' 1479 | error("History line %d", endhist - lasthist + histp); | ^~~~~ vi.c:1481:15: warning: zero-length gnu_printf format string [-Wformat-zero-length] 1481 | 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:1481:9: 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:9: note: in expansion of macro 'error' 1508 | error("History line %d", endhist - lasthist + histp); | ^~~~~ vi.c:1510:15: warning: zero-length gnu_printf format string [-Wformat-zero-length] 1510 | 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:1510:9: 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:9: note: in expansion of macro 'error' 1537 | error(tmp); | ^~~~~ vi.c: In function 'search_again': vi.c:1589:11: warning: zero-length gnu_printf format string [-Wformat-zero-length] 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: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:17: note: in expansion of macro 'error' 1610 | error("No matches found"); | ^~~~~ vi.c:1617:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1617 | else | ^~~~ vi.c:1619:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 1619 | (void) strcpy(line, history[histp].histline); | ^ 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:9: 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:9: 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); | ^~~~~ vi.c:2047:23: warning: zero-length gnu_printf format string [-Wformat-zero-length] 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:2047:17: note: in expansion of macro 'error' 2047 | error(""); | ^~~~~ vi.c:2052:23: warning: zero-length gnu_printf format string [-Wformat-zero-length] 2052 | 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:17: 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~ vi.c: In function 'dogoto': vi.c:2012:9: warning: 'strncpy' output truncated before terminating nul copying 5 bytes from a string of the same length [-Wstringop-truncation] 2012 | strncpy(line, "goto ", 5); | ^ gcc -DSYSV3 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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:1417: note: this is the location of the previous definition 1417 | #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) | 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:13: 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:9: note: in expansion of macro 'error' 59 | error(msg); \ | ^~~~~ vmtbl.c:139:9: 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:9: note: in expansion of macro 'error' 59 | error(msg); \ | ^~~~~ vmtbl.c:146:9: 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:9: note: in expansion of macro 'error' 59 | error(msg); \ | ^~~~~ vmtbl.c:155:9: 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:9: note: in expansion of macro 'error' 59 | error(msg); \ | ^~~~~ vmtbl.c:156:9: 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:9: note: in expansion of macro 'error' 59 | error(msg); \ | ^~~~~ vmtbl.c:157:9: 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:9: note: in expansion of macro 'error' 59 | error(msg); \ | ^~~~~ vmtbl.c:164:9: 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:13: 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:13: note: in expansion of macro 'error' 194 | error(nowider); | ^~~~~ gcc -DSYSV3 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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:1417: note: this is the location of the previous definition 1417 | #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 -flto=auto -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 -flto=auto -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:1417: note: this is the location of the previous definition 1417 | #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) | gcc -DSYSV3 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 -flto=auto -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:10:1: note: include '' or provide a declaration of 'exit' 9 | #include +++ |+#include 10 | char *header = " Quick Reference"; qhelp.c:646:12: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 646 | (void) exit(0); | ^~~~ qhelp.c:646:12: note: include '' or provide a declaration of 'exit' make: Leaving directory '/usr/src/RPM/BUILD/sc-7.16' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.35910 + 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 + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + 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,gnuconfig) 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: (from :0) 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: fopen freopen open stat tmpfile Processing files: sc-7.16-alt3.qa1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.35910 + 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.q3OFx2 find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Xk61il find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,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.1.3), 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.33), libc.so.6(GLIBC_2.34), libc.so.6(GLIBC_2.4), libm.so.6(GLIBC_2.0), libm.so.6(GLIBC_2.29), libm.so.6(GLIBC_2.35), libncurses.so.6 >= set:mhWilR7Dvtl3kiV7wYae9TgdlhxXSFxyIo7AtGtJ16fsDzXkxgabZHJ90L9uIDcVFwc0If9, libtinfo.so.6 >= 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.rWwj4M Wrote: /usr/src/RPM/RPMS/i586/sc-7.16-alt3.qa1.i586.rpm (w2.lzdio) 8.02user 1.07system 0:07.23elapsed 125%CPU (0avgtext+0avgdata 59700maxresident)k 0inputs+0outputs (0major+356386minor)pagefaults 0swaps /.out/sc-7.16-alt3.qa1.i586.rpm: license not found in '/usr/share/license' directory: PD 2.79user 1.24system 0:13.22elapsed 30%CPU (0avgtext+0avgdata 125772maxresident)k 0inputs+0outputs (0major+206454minor)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 2023-12-02 04:56:53.228397947 +0000 @@ -13,4 +13,4 @@ /usr/share/doc/sc-7.16/tutorial.sc 100644 root:root -/usr/share/man/man1/psc.1.gz 100644 root:root -/usr/share/man/man1/sc.1.bz2 100644 root:root +/usr/share/man/man1/psc.1.xz 100644 root:root +/usr/share/man/man1/sc.1.xz 100644 root:root Requires: /lib/ld-linux.so.2 @@ -18,2 +18,3 @@ Requires: libc.so.6(GLIBC_2.1) +Requires: libc.so.6(GLIBC_2.1.3) Requires: libc.so.6(GLIBC_2.11) @@ -22,7 +23,11 @@ Requires: libc.so.6(GLIBC_2.3.4) +Requires: libc.so.6(GLIBC_2.33) +Requires: libc.so.6(GLIBC_2.34) Requires: libc.so.6(GLIBC_2.4) Requires: libm.so.6(GLIBC_2.0) -Requires: libncurses.so.5 >= set:mhWilR7Dvtl3kiV7wYae9T0AbAtqE8bS1pDqRkVe7TF2xkmZnrj0ujYofpOj1p0ovi +Requires: libm.so.6(GLIBC_2.29) +Requires: libm.so.6(GLIBC_2.35) +Requires: libncurses.so.6 >= set:mhWilR7Dvtl3kiV7wYae9TgdlhxXSFxyIo7AtGtJ16fsDzXkxgabZHJ90L9uIDcVFwc0If9 Requires: rpmlib(SetVersions) -Requires: libtinfo.so.5 >= set:lhZKHDmtvpla1efMGZ4fGgNTbKKYm1 +Requires: libtinfo.so.6 >= set:lhZKHDmtvpla1efMGZ4fGgNTbKKYm1 Requires: rtld(GNU_HASH) @@ -30,5 +35,5 @@ Provides: sc = 7.16-alt3.qa1 -File: /usr/bin/psc 100755 root:root 132e26247700084ef8fb76ad33596973 -File: /usr/bin/sc 100755 root:root abdb7e95d504b38ab4555b592eb65daf -File: /usr/bin/scqref 100755 root:root b352860b487fe45a3cb811c4a86e39dd +File: /usr/bin/psc 100755 root:root 211d54ffd41db0f35e18991606cbd28e +File: /usr/bin/sc 100755 root:root b760f885c5f949b733c806852ca270b1 +File: /usr/bin/scqref 100755 root:root a494df8b945391c1166f77125f0f0b24 File: /usr/share/applications/sc.desktop 100644 root:root bfd69e9b073c363faeb3c06386589a01 @@ -43,4 +48,4 @@ File: /usr/share/doc/sc-7.16/tutorial.sc 100644 root:root 7f7367ed942ab949b6121e4112f9d636 -File: /usr/share/man/man1/psc.1.gz 100644 root:root be81de393334189c4e8bc0543cdb3c22 -File: /usr/share/man/man1/sc.1.bz2 100644 root:root f435584c4633b85c92247abb4013cbb0 -RPMIdentity: 185b32c0b0d8c0bea5e39e8f3db95cda7ee4c4dcf0f2ac1235a584c4b9e2ec73a93eafbab4fc1e702f4b3523c89b9e2509bd7beff7fc0b6e0fe94d24f5959b7b +File: /usr/share/man/man1/psc.1.xz 100644 root:root d1c9f0c64d763a06c993a8e41c05665b +File: /usr/share/man/man1/sc.1.xz 100644 root:root e7964ed55d76fa5052451382755fafb4 +RPMIdentity: 9b06ddde6034445d87496d45f9772388a6cc7b9c25060260e03c3e5cf21edd0d6361b1ccfb53d17dc2b8dc9dd5376297ef4682ddce4099329a935d07c4c0f208