<86>Apr 14 01:12:55 userdel[5521]: delete user 'rooter' <86>Apr 14 01:12:55 userdel[5521]: removed group 'rooter' owned by 'rooter' <86>Apr 14 01:12:55 userdel[5521]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 14 01:12:55 groupadd[5537]: group added to /etc/group: name=rooter, GID=693 <86>Apr 14 01:12:55 groupadd[5537]: group added to /etc/gshadow: name=rooter <86>Apr 14 01:12:55 groupadd[5537]: new group: name=rooter, GID=693 <86>Apr 14 01:12:55 useradd[5552]: new user: name=rooter, UID=693, GID=693, home=/root, shell=/bin/bash <86>Apr 14 01:12:55 userdel[5574]: delete user 'builder' <86>Apr 14 01:12:55 userdel[5574]: removed group 'builder' owned by 'builder' <86>Apr 14 01:12:55 userdel[5574]: removed shadow group 'builder' owned by 'builder' <86>Apr 14 01:12:55 groupadd[5609]: group added to /etc/group: name=builder, GID=694 <86>Apr 14 01:12:55 groupadd[5609]: group added to /etc/gshadow: name=builder <86>Apr 14 01:12:55 groupadd[5609]: new group: name=builder, GID=694 <86>Apr 14 01:12:55 useradd[5623]: new user: name=builder, UID=694, GID=694, home=/usr/src, shell=/bin/bash <13>Apr 14 01:12:57 rpmi: libtinfo-devel-5.9-alt8 1456756459 installed <13>Apr 14 01:12:57 rpmi: libncurses-devel-5.9-alt8 1456756459 installed Installing sc-7.16-alt3.qa1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.47116 + 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.47116 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd sc-7.16 + make 'CFLAGS=-DSYSV3 -pipe -Wall -g -O2' LIBDIR=/usr/share/doc/sc-7.16 make: Entering directory `/usr/src/RPM/BUILD/sc-7.16' gcc -DSYSV3 -pipe -Wall -g -O2 -DDFLT_PAGER=\"less\" -c abbrev.c In file included from abbrev.c:24:0: sc.h:307:0: warning: "is_cleared" redefined #define is_cleared 0200 ^ In file included from abbrev.c:22:0: /usr/include/curses.h:1339:0: note: this is the location of the previous definition #define is_cleared(win) ((win) ? (win)->_clear : FALSE) ^ In file included from abbrev.c:24:0: abbrev.c: In function 'add_abbr': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ abbrev.c:41:6: note: in expansion of macro 'error' error("No abbreviations defined"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ abbrev.c:57:3: note: in expansion of macro 'error' error("Can't open pipe to %s", pager); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ abbrev.c:82:3: note: in expansion of macro 'error' error("Invalid abbreviation: %s", string); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ abbrev.c:89:3: note: in expansion of macro 'error' error("Invalid abbreviation: %s", string); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ abbrev.c:97:6: note: in expansion of macro 'error' error("abbrev \"%s %s\"", a->abbr, a->exp); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ abbrev.c:100:6: note: in expansion of macro 'error' error("abreviation \"%s\" doesn't exist", string); ^ gcc -DSYSV3 -pipe -Wall -g -O2 -DDOBACKUPS -c cmds.c In file included from cmds.c:31:0: sc.h:307:0: warning: "is_cleared" redefined #define is_cleared 0200 ^ In file included from cmds.c:23:0: /usr/include/curses.h:1339:0: note: this is the location of the previous definition #define is_cleared(win) ((win) ? (win)->_clear : FALSE) ^ In file included from cmds.c:31:0: cmds.c: In function 'deleterow': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:327:2: note: in expansion of macro 'error' error(buf); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:333:6: note: in expansion of macro 'error' error("Locked cells encountered. Nothing changed"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:430:6: note: in expansion of macro 'error' error("Locked cells encountered. Nothing changed"); ^ cmds.c: In function 'yankrow': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:489:2: note: in expansion of macro 'error' error(buf); ^ cmds.c: In function 'yankcol': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:544:2: note: in expansion of macro 'error' error(buf); ^ cmds.c: In function 'valueize_area': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:745:3: note: in expansion of macro 'error' error(" Cell %s%d is locked", coltoa(c), r); ^ cmds.c: In function 'pullcells': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:777:2: note: in expansion of macro 'error' error("No data to pull"); ^ cmds.c: In function 'colshow_op': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:949:2: note: in expansion of macro 'error' error("No hidden columns to show"); ^ cmds.c: In function 'rowshow_op': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:971:2: note: in expansion of macro 'error' error("No hidden rows to show"); ^ cmds.c: In function 'get_rcqual': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:990:5: note: in expansion of macro 'error' error("%sow/column: r: row c: column%s", ^ cmds.c: In function 'closecol': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:1215:2: note: in expansion of macro 'error' error(buf); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:1219:2: note: in expansion of macro 'error' error("Locked cells encountered. Nothing changed"); ^ cmds.c: In function 'doend': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:1394:2: note: in expansion of macro 'error' error (""); /* clear line */ ^ cmds.c: In function 'doformat': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:1440:2: note: in expansion of macro 'error' error("Width too small - setting to 1"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:1445:2: note: in expansion of macro 'error' error("Width too large - Maximum = %d", COLS - rescol - 2); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:1450:2: note: in expansion of macro 'error' error("Precision too large"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:1456:2: note: in expansion of macro 'error' error("Format statement failed to create implied column %d", c2); ^ cmds.c: In function 'formatcol': cmds.c:1471:1: warning: type of 'arg' defaults to 'int' [-Wimplicit-int] formatcol(arg) ^ In file included from cmds.c:31:0: sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:1477:5: note: in expansion of macro 'error' error("Current format is %d %d %d", ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:1550:7: note: in expansion of macro 'error' error("Current format is %d %d %d", ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:1555:7: note: in expansion of macro 'error' error("Define format type (0-9):"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:1569:4: note: in expansion of macro 'error' error(""); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:1571:4: note: in expansion of macro 'error' error("Invalid format type"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:1582:2: note: in expansion of macro 'error' error("Current format is %d %d %d", ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:1602:2: note: in expansion of macro 'error' error(""); ^ cmds.c: In function 'ljustify': cmds.c:1606:1: warning: type of 'sr' defaults to 'int' [-Wimplicit-int] ljustify(sr, sc, er, ec) ^ cmds.c:1606:1: warning: type of 'sc' defaults to 'int' [-Wimplicit-int] cmds.c:1606:1: warning: type of 'er' defaults to 'int' [-Wimplicit-int] cmds.c:1606:1: warning: type of 'ec' defaults to 'int' [-Wimplicit-int] cmds.c: In function 'rjustify': cmds.c:1635:1: warning: type of 'sr' defaults to 'int' [-Wimplicit-int] rjustify(sr, sc, er, ec) ^ cmds.c:1635:1: warning: type of 'sc' defaults to 'int' [-Wimplicit-int] cmds.c:1635:1: warning: type of 'er' defaults to 'int' [-Wimplicit-int] cmds.c:1635:1: warning: type of 'ec' defaults to 'int' [-Wimplicit-int] cmds.c: In function 'center': cmds.c:1664:1: warning: type of 'sr' defaults to 'int' [-Wimplicit-int] center(sr, sc, er, ec) ^ cmds.c:1664:1: warning: type of 'sc' defaults to 'int' [-Wimplicit-int] cmds.c:1664:1: warning: type of 'er' defaults to 'int' [-Wimplicit-int] cmds.c:1664:1: warning: type of 'ec' defaults to 'int' [-Wimplicit-int] In file included from cmds.c:31:0: cmds.c: In function 'printfile': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:1826:6: note: in expansion of macro 'error' error("Can't create file \"%s\"", fname); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:1834:2: note: in expansion of macro 'error' error("Malloc failed in printfile()"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:1865:4: note: in expansion of macro 'error' error ("Realloc failed in printfile()"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:1878:4: note: in expansion of macro 'error' error("Realloc failed in printfile()"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:1950:4: note: in expansion of macro 'error' error ("scxrealloc failed in printfile()"); ^ cmds.c: In function 'tblprintfile': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:2076:2: note: in expansion of macro 'error' error ("Can't create file \"%s\"", fname); ^ cmds.c: In function 'hiderow': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:2438:2: note: in expansion of macro 'error' error("Invalid range"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:2443:6: note: in expansion of macro 'error' error("You can't hide the last row"); ^ cmds.c: In function 'hidecol': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:2463:2: note: in expansion of macro 'error' error ("Invalid range"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:2468:6: note: in expansion of macro 'error' error("You can't hide the last col"); ^ cmds.c: In function 'showrow': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:2483:2: note: in expansion of macro 'error' error ("Invalid range"); ^ cmds.c: In function 'showcol': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:2500:2: note: in expansion of macro 'error' error ("Invalid range"); ^ cmds.c: In function 'openfile': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:2545:2: note: in expansion of macro 'error' error("Can't make pipe to child"); ^ cmds.c:2565:2: warning: missing sentinel in function call [-Wformat=] (void) execl("/bin/sh", "sh", "-c", efname, 0); ^ In file included from cmds.c:31:0: sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:2571:6: note: in expansion of macro 'error' error("Can't fdopen %sput", rfd==NULL?"out":"in"); ^ cmds.c: In function 'closefile': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:2628:2: note: in expansion of macro 'error' error("Broken pipe"); ^ cmds.c: In function 'copyent': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:2644:2: note: in expansion of macro 'error' error("internal error"); ^ cmds.c: In function 'addplugin': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:2694:2: note: in expansion of macro 'error' error("Cannot find plugin %s", plugin); ^ cmds.c: In function 'writefile': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:2862:3: note: in expansion of macro 'error' error("plugin not found"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:2867:3: note: in expansion of macro 'error' error("Path too long"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:2931:2: note: in expansion of macro 'error' error("Can't create file \"%s\"", save); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:2936:2: note: in expansion of macro 'error' error("Writing file \"%s\"...", save); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:2948:6: note: in expansion of macro 'error' error("File \"%s\" written", curfile); ^ cmds.c: In function 'readfile': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:2983:3: note: in expansion of macro 'error' error("plugin not found"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:2988:3: note: in expansion of macro 'error' error("Path too long"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:3032:6: note: in expansion of macro 'error' error("Can't read file \"%s\"", save); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:3037:3: note: in expansion of macro 'error' error("Reading file \"%s\"", save); ^ cmds.c: In function 'backcol': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:3190:7: note: in expansion of macro 'error' {error ("At column A"); break;} ^ cmds.c: In function 'backrow': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:3244:7: note: in expansion of macro 'error' {error("At row zero"); break;} ^ cmds.c: In function 'markcell': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:3257:5: note: in expansion of macro 'error' error("Mark cell:"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:3259:2: note: in expansion of macro 'error' error(""); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:3263:2: note: in expansion of macro 'error' error("Invalid mark (must be a-z)"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:3266:5: note: in expansion of macro 'error' error(""); ^ cmds.c: In function 'dotick': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:3280:5: note: in expansion of macro 'error' error("Go to marked cell:"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:3282:2: note: in expansion of macro 'error' error(""); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:3289:2: note: in expansion of macro 'error' error("Invalid mark (must be a-z, 0-9, ` or \')"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:3293:2: note: in expansion of macro 'error' error("Mark not set"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:3296:5: note: in expansion of macro 'error' error(""); ^ cmds.c: In function 'gotonote': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ cmds.c:3319:2: note: in expansion of macro 'error' error("No note attached"); ^ cmds.c: In function 'openfile': cmds.c:2558:2: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] (void) dup(pipefd[0]); /* connect to first pipe */ ^ cmds.c:2562:6: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] (void) dup(pipefd[3]); /* connect to second pipe */ ^ cmds.c: In function 'readfile': cmds.c:3069:2: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen("/dev/tty", "r", stdin); ^ cmds.c: In function 'backup_file': cmds.c:3586:2: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown(tpath, statbuf.st_uid, statbuf.st_gid); ^ gcc -DSYSV3 -pipe -Wall -g -O2 -c -o color.o color.c In file included from color.c:23:0: sc.h:307:0: warning: "is_cleared" redefined #define is_cleared 0200 ^ In file included from color.c:20:0: /usr/include/curses.h:1339:0: note: this is the location of the previous definition #define is_cleared(win) ((win) ? (win)->_clear : FALSE) ^ In file included from color.c:23:0: color.c: In function 'change_color': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ color.c:111:2: note: in expansion of macro 'error' error("Invalid color number"); ^ color.c: In function 'add_crange': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ color.c:159:2: note: in expansion of macro 'error' error("Color range not defined"); ^ gcc -DSYSV3 -pipe -Wall -g -O2 -DDOBACKUPS -c crypt.c gcc -DSYSV3 -pipe -Wall -g -O2 -c -o format.o format.c gcc -DSYSV3 -pipe -Wall -g -O2 -c -o frame.o frame.c In file included from frame.c:24:0: sc.h:307:0: warning: "is_cleared" redefined #define is_cleared 0200 ^ In file included from frame.c:22:0: /usr/include/curses.h:1339:0: note: this is the location of the previous definition #define is_cleared(win) ((win) ? (win)->_clear : FALSE) ^ In file included from frame.c:24:0: frame.c: In function 'add_frange': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ frame.c:58:6: note: in expansion of macro 'error' error("Invalid parameters"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ frame.c:112:3: note: in expansion of macro 'error' error("Framed ranges may not be nested or overlapping"); ^ bison -y -d gram.y mv y.tab.c gram.c gcc -DSYSV3 -pipe -Wall -g -O2 -DUSELOCALE -c gram.c In file included from gram.y:20:0: sc.h:307:0: warning: "is_cleared" redefined #define is_cleared 0200 ^ In file included from gram.y:18:0: /usr/include/curses.h:1339:0: note: this is the location of the previous definition #define is_cleared(win) ((win) ? (win)->_clear : FALSE) ^ gram.y: In function 'yyparse': gram.y:310:7: warning: implicit declaration of function 'ljustify' [-Wimplicit-function-declaration] { ljustify($2.left.vp->row, $2.left.vp->col, ^ gram.y:317:7: warning: implicit declaration of function 'rjustify' [-Wimplicit-function-declaration] { rjustify($2.left.vp->row, $2.left.vp->col, ^ gram.y:324:7: warning: implicit declaration of function 'center' [-Wimplicit-function-declaration] { center($2.left.vp->row, $2.left.vp->col, ^ In file included from gram.y:20:0: sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ gram.y:380:9: note: in expansion of macro 'error' error("Invalid format number"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ gram.y:414:9: note: in expansion of macro 'error' error("Invalid function key"); ^ gram.y:619:7: warning: implicit declaration of function 'add_abbr' [-Wimplicit-function-declaration] | S_ABBREV STRING { add_abbr($2); } ^ In file included from gram.y:20:0: sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ gram.y:653:10: note: in expansion of macro 'error' error("Need both outer and inner" ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ gram.y:709:10: note: in expansion of macro 'error' error("Invalid color number"); } ^ In file included from gram.y:20:0: sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ gram.y:734:10: note: in expansion of macro 'error' error("Invalid buffer"); ^ gram.y:817:8: warning: implicit declaration of function 'yankrow' [-Wimplicit-function-declaration] yankrow(arg); ^ gram.y:847:8: warning: implicit declaration of function 'yankcol' [-Wimplicit-function-declaration] yankcol(arg); ^ gram.y:960:7: warning: implicit declaration of function 'getframe' [-Wimplicit-function-declaration] | S_GETFRAME { getframe(macrofd); } ^ gram.y:962:7: warning: implicit declaration of function 'getrange' [-Wimplicit-function-declaration] | S_GETRANGE STRING { getrange($2, macrofd); } ^ gram.y:965:7: warning: implicit declaration of function 'doeval' [-Wimplicit-function-declaration] | S_EVAL e { doeval($2, NULL, currow, curcol, ^ gram.y:972:7: warning: implicit declaration of function 'doseval' [-Wimplicit-function-declaration] | S_SEVAL e { doseval($2, currow, curcol, macrofd); } ^ gram.y:981:7: warning: implicit declaration of function 'dogetkey' [-Wimplicit-function-declaration] | S_GETKEY { dogetkey(); } ^ In file included from gram.y:20:0: sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ gram.y:982:7: note: in expansion of macro 'error' | S_ERROR STRING { error($2); } ^ gram.y:881:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(macrofd, line, strlen(line)); ^ gram.y:887:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write($3, line, strlen(line)); ^ gram.y:999:8: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system($2); ^ sed < gram.y > experres.h -f eres.sed sed < gram.y > statres.h -f sres.sed gcc -DSYSV3 -pipe -Wall -g -O2 -c help.c In file included from help.c:15:0: sc.h:307:0: warning: "is_cleared" redefined #define is_cleared 0200 ^ In file included from help.c:13:0: /usr/include/curses.h:1339:0: note: this is the location of the previous definition #define is_cleared(win) ((win) ? (win)->_clear : FALSE) ^ gcc -DSYSV3 -pipe -Wall -g -O2 -ffloat-store -DSIGVOID \ -DREGCOMP -c interp.c In file included from interp.c:43:0: sc.h:307:0: warning: "is_cleared" redefined #define is_cleared 0200 ^ In file included from interp.c:42:0: /usr/include/curses.h:1339:0: note: this is the location of the previous definition #define is_cleared(win) ((win) ? (win)->_clear : FALSE) ^ In file included from interp.c:43:0: interp.c: In function 'finfunc': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ interp.c:155:3: note: in expansion of macro 'error' error("Unknown function in finfunc"); ^ interp.c: In function 'doindex': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ interp.c:209:2: note: in expansion of macro 'error' error("Improper indexing operation"); ^ interp.c: In function 'dolookup': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ interp.c:243:4: note: in expansion of macro 'error' error(" range specified to @[hv]lookup"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ interp.c:267:4: note: in expansion of macro 'error' error(" range specified to @[hv]lookup"); ^ interp.c: In function 'dodts': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ interp.c:537:9: note: in expansion of macro 'error' error("@dts: invalid argument or date out of range"); ^ interp.c: In function 'dotts': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ interp.c:549:2: note: in expansion of macro 'error' error ("@tts: Invalid argument"); ^ interp.c: In function 'eval': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ interp.c:963:11: note: in expansion of macro 'error' default: error ("Illegal numeric expression"); ^ interp.c: In function 'doext': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ interp.c:1110:2: note: in expansion of macro 'error' error("Warning: external functions disabled; using %s value", ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ interp.c:1116:6: note: in expansion of macro 'error' error ("Warning: external function given null command name"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ interp.c:1125:6: note: in expansion of macro 'error' error("Running external function..."); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ interp.c:1129:3: note: in expansion of macro 'error' error("Warning: running \"%s\" failed", buff); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ interp.c:1133:7: note: in expansion of macro 'error' error("Warning: external function returned nothing"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ interp.c:1137:7: note: in expansion of macro 'error' error(""); /* erase notice */ ^ interp.c: In function 'seval': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ interp.c:1352:8: note: in expansion of macro 'error' error("Illegal string expression"); ^ interp.c: In function 'setiterations': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ interp.c:1376:2: note: in expansion of macro 'error' error("iteration count must be at least 1"); ^ interp.c: In function 'EvalAll': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ interp.c:1392:3: note: in expansion of macro 'error' error("Still changing after %d iterations", repct - 1); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ interp.c:1410:3: note: in expansion of macro 'error' error("Error in color 1: color turned off"); ^ interp.c: In function 'RealEvalAll': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ interp.c:1443:10: note: in expansion of macro 'error' else error("Internal error calc_order"); ^ interp.c: In function 'RealEvalOne': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ interp.c:1456:6: note: in expansion of macro 'error' error("Floating point exception %s", v_name(i, j)); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ interp.c:1477:6: note: in expansion of macro 'error' error("Floating point exception %s", v_name(i, j)); ^ interp.c: In function 'copy': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ interp.c:1651:5: note: in expansion of macro 'error' error("Copying..."); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ interp.c:1689:5: note: in expansion of macro 'error' error("Copy done."); ^ interp.c: In function 'go_last': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ interp.c:1826:6: note: in expansion of macro 'error' error("Nothing to repeat"); break; ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ interp.c:1845:11: note: in expansion of macro 'error' default: error("go_last: internal error"); ^ interp.c: In function 'num_search': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ interp.c:1948:3: note: in expansion of macro 'error' error("no %s cell found", errsearch == CELLERROR ? "ERROR" : ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ interp.c:1951:3: note: in expansion of macro 'error' error("Number not found"); ^ interp.c: In function 'str_search': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ interp.c:1989:2: note: in expansion of macro 'error' error(tmp); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ interp.c:2104:6: note: in expansion of macro 'error' error("String not found"); ^ interp.c: In function 'fill': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ interp.c:2176:10: note: in expansion of macro 'error' else error(" Internal error calc_order"); ^ interp.c: In function 'let': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ interp.c:2251:6: note: in expansion of macro 'error' error("Floating point exception in cell %s", v_name(v->row, v->col)); ^ interp.c: In function 'slet': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ interp.c:2323:2: note: in expansion of macro 'error' error ("Floating point exception in cell %s", v_name(v->row, v->col)); ^ interp.c: In function 'hide_row': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ interp.c:2421:2: note: in expansion of macro 'error' error("Invalid Range"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ interp.c:2426:6: note: in expansion of macro 'error' error("You can't hide the last row"); ^ interp.c: In function 'hide_col': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ interp.c:2438:2: note: in expansion of macro 'error' error("Invalid Range"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ interp.c:2443:6: note: in expansion of macro 'error' error("You can't hide the last col"); ^ gcc -DSYSV3 -pipe -Wall -g -O2 -DLIBDIR=\"/usr/share/doc/sc-7.16\" -DSIGVOID \ -c lex.c In file included from lex.c:39:0: sc.h:307:0: warning: "is_cleared" redefined #define is_cleared 0200 ^ In file included from lex.c:33:0: /usr/include/curses.h:1339:0: note: this is the location of the previous definition #define is_cleared(win) ((win) ? (win)->_clear : FALSE) ^ In file included from lex.c:39:0: lex.c: In function 'yylex': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ lex.c:215:6: note: in expansion of macro 'error' error("Floating point exception\n"); ^ gcc -DSYSV3 -pipe -Wall -g -O2 -c -o pipe.o pipe.c In file included from pipe.c:12:0: sc.h:307:0: warning: "is_cleared" redefined #define is_cleared 0200 ^ In file included from pipe.c:10:0: /usr/include/curses.h:1339:0: note: this is the location of the previous definition #define is_cleared(win) ((win) ? (win)->_clear : FALSE) ^ pipe.c: In function 'getnum': pipe.c:39:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (p) ^ In file included from pipe.c:12:0: pipe.c: In function 'doquery': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ pipe.c:311:5: note: in expansion of macro 'error' error(""); ^ pipe.c: In function 'getnum': pipe.c:49:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, line, strlen(line)); ^ pipe.c: In function 'fgetnum': pipe.c:92:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, line, strlen(line)); ^ pipe.c: In function 'getstring': pipe.c:117:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, line, strlen(line)); ^ pipe.c: In function 'getexp': pipe.c:149:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, line, strlen(line)); ^ pipe.c: In function 'getformat': pipe.c:163:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, line, strlen(line)); ^ pipe.c: In function 'getfmt': pipe.c:182:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, line, strlen(line)); ^ pipe.c: In function 'getframe': pipe.c:206:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, line, strlen(line)); ^ pipe.c: In function 'getrange': pipe.c:249:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, line, strlen(line)); ^ pipe.c: In function 'doeval': pipe.c:271:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, line, strlen(line)); ^ pipe.c: In function 'doseval': pipe.c:288:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, s, strlen(s)); ^ pipe.c:289:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, "\n", 1); ^ pipe.c: In function 'doquery': pipe.c:305:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, line, strlen(line)); ^ pipe.c:306:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, "\n", 1); ^ pipe.c: In function 'dogetkey': pipe.c:347:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(macrofd, line, len); ^ pipe.c: In function 'dostat': pipe.c:358:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, line, strlen(line)); ^ gcc -DSYSV3 -pipe -Wall -g -O2 -c -o range.o range.c In file included from range.c:23:0: sc.h:307:0: warning: "is_cleared" redefined #define is_cleared 0200 ^ In file included from range.c:22:0: /usr/include/curses.h:1339:0: note: this is the location of the previous definition #define is_cleared(win) ((win) ? (win)->_clear : FALSE) ^ In file included from range.c:23:0: range.c: In function 'add_range': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ range.c:63:2: note: in expansion of macro 'error' error("Error: range name \"%s\" already defined", name); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ range.c:70:6: note: in expansion of macro 'error' error("Invalid range name \"%s\" - illegal combination", name); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ range.c:89:6: note: in expansion of macro 'error' error("Invalid range name \"%s\" - ambiguous", name); ^ gcc -DSYSV3 -pipe -Wall -g -O2 -DDFLT_PAGER=\"less\" -DSIGVOID -DSAVENAME=\"SC.SAVE\" -c sc.c In file included from sc.c:37:0: sc.h:307:0: warning: "is_cleared" redefined #define is_cleared 0200 ^ In file included from sc.c:17:0: /usr/include/curses.h:1339:0: note: this is the location of the previous definition #define is_cleared(win) ((win) ? (win)->_clear : FALSE) ^ In file included from sc.c:37:0: sc.c: In function 'main': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:375:6: note: in expansion of macro 'error' error("New file: \"%s\"", curfile); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:453:4: note: in expansion of macro 'error' error("Select range:"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:493:8: note: in expansion of macro 'error' error(""); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:603:7: note: in expansion of macro 'error' error ("No such command (^%c)", c + 0100); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:674:5: note: in expansion of macro 'error' error("Invalid ^E command"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:801:7: note: in expansion of macro 'error' error( ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:811:8: note: in expansion of macro 'error' error("Automatic recalculation %sabled.", ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:816:8: note: in expansion of macro 'error' error("%sptimize expressions upon entry.", ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:821:8: note: in expansion of macro 'error' error("Numeric input %sabled.", ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:826:8: note: in expansion of macro 'error' error("Top line %sabled.", showtop ? "en" : "dis"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:831:8: note: in expansion of macro 'error' error("Cell highlighting %sabled.", ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:837:8: note: in expansion of macro 'error' error("Braille enhancement %sabled.", ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:843:8: note: in expansion of macro 'error' error("Color slop %sabled.", ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:857:8: note: in expansion of macro 'error' error("Color %sabled.", color ? "en" : "dis"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:861:8: note: in expansion of macro 'error' error("Color changing of negative numbers %sabled.", ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:866:8: note: in expansion of macro 'error' error("Color changing of cells with errors %sabled.", ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:871:8: note: in expansion of macro 'error' error("Encryption not available."); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:879:8: note: in expansion of macro 'error' error("Autolabel %sabled.", ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:884:5: note: in expansion of macro 'error' error("Prescale enabled."); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:888:5: note: in expansion of macro 'error' error("Prescale disabled."); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:893:8: note: in expansion of macro 'error' error("External functions %sabled.", ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:898:8: note: in expansion of macro 'error' error(""); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:902:8: note: in expansion of macro 'error' error("Which direction after return key?"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:906:9: note: in expansion of macro 'error' error("No action after new line"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:912:9: note: in expansion of macro 'error' error("Down row after new line"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:918:9: note: in expansion of macro 'error' error("Right column after new line"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:922:9: note: in expansion of macro 'error' error(""); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:925:9: note: in expansion of macro 'error' error("Not a valid direction"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:930:8: note: in expansion of macro 'error' error("Autoinsert %sabled.", ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:935:8: note: in expansion of macro 'error' error("Autowrap %sabled.", ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:941:8: note: in expansion of macro 'error' error("Row and column limits set"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:944:8: note: in expansion of macro 'error' error("Invalid toggle command"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:1056:3: note: in expansion of macro 'error' error("Can't increment/decrement a formula\n"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:1164:7: note: in expansion of macro 'error' error( ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:1170:7: note: in expansion of macro 'error' error(""); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:1232:4: note: in expansion of macro 'error' error("frame (top/bottom/left/right/all/unframe)"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:1237:4: note: in expansion of macro 'error' error(""); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:1262:5: note: in expansion of macro 'error' error("Invalid frame command"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:1290:8: note: in expansion of macro 'error' error("Nothing to show"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:1303:5: note: in expansion of macro 'error' error("Can't open pipe to %s", pager); ^ sc.c:1310:25: warning: implicit declaration of function 'list_frames' [-Wimplicit-function-declaration] if (!brokenpipe) list_frames(f); ^ In file included from sc.c:37:0: sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:1345:4: note: in expansion of macro 'error' error("Invalid region command"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:1357:7: note: in expansion of macro 'error' error("Select buffer (a-z or 0-9):"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:1359:4: note: in expansion of macro 'error' error(""); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:1362:4: note: in expansion of macro 'error' error(""); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:1365:4: note: in expansion of macro 'error' error(""); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:1368:4: note: in expansion of macro 'error' error(""); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:1370:4: note: in expansion of macro 'error' error("Invalid buffer"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:1391:8: note: in expansion of macro 'error' error("Invalid row/column command"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:1395:4: note: in expansion of macro 'error' error(""); /* clear line */ ^ sc.c:1423:24: warning: implicit declaration of function 'yankrow' [-Wimplicit-function-declaration] if (rcqual == 'r') yankrow(arg); ^ sc.c:1424:12: warning: implicit declaration of function 'yankcol' [-Wimplicit-function-declaration] else yankcol(arg); ^ In file included from sc.c:37:0: sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:1468:11: note: in expansion of macro 'error' error("No file name."); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:1506:9: note: in expansion of macro 'error' error("At end of table"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:1531:9: note: in expansion of macro 'error' error("At start of table"); ^ sc.c:1600:8: warning: implicit declaration of function 'ljustify' [-Wimplicit-function-declaration] ljustify(currow, curcol, currow, curcol); ^ In file included from sc.c:37:0: sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:1602:8: note: in expansion of macro 'error' error("Nothing to justify"); ^ sc.c:1610:8: warning: implicit declaration of function 'rjustify' [-Wimplicit-function-declaration] rjustify(currow, curcol, currow, curcol); ^ In file included from sc.c:37:0: sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:1612:8: note: in expansion of macro 'error' error("Nothing to justify"); ^ sc.c:1620:8: warning: implicit declaration of function 'center' [-Wimplicit-function-declaration] center(currow, curcol, currow, curcol); ^ In file included from sc.c:37:0: sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:1622:8: note: in expansion of macro 'error' error("Nothing to center"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:1678:7: note: in expansion of macro 'error' error("Color number to set (1-8)?"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:1680:4: note: in expansion of macro 'error' error(""); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:1684:4: note: in expansion of macro 'error' error("Invalid color number."); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:1687:7: note: in expansion of macro 'error' error(""); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:1729:4: note: in expansion of macro 'error' error("Default path is \"%s.%s\"", curfile, ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:1768:4: note: in expansion of macro 'error' error("Default file is \"%s\"", curfile); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:1800:4: note: in expansion of macro 'error' error("Default file is \"%s.%s\"", curfile, ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:1817:7: note: in expansion of macro 'error' error("Options:byrows,bycols,iterations=n,tblstyle=(0|tbl|latex|slatex|tex|frame),"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:1840:4: note: in expansion of macro 'error' error("Default file is \"%s.%s\"", curfile, ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:1843:4: note: in expansion of macro 'error' error("Default file is \"%s.%s\"", curfile, ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:1846:4: note: in expansion of macro 'error' error("Default file is \"%s.%s\"", curfile, ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:1849:4: note: in expansion of macro 'error' error("Default file is \"%s.%s\"", curfile, ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:1852:4: note: in expansion of macro 'error' error("Default file is \"%s.%s\"", curfile, ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:1936:7: note: in expansion of macro 'error' error("Copy marked cell:"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:1938:4: note: in expansion of macro 'error' error(""); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:1953:4: note: in expansion of macro 'error' error("Invalid mark (must be a-z, 0-9, ` or \')"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:1957:4: note: in expansion of macro 'error' error("Mark not set"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:1960:7: note: in expansion of macro 'error' error(""); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:1995:4: note: in expansion of macro 'error' error("Note: Add/Delete/Show/*(go to note)?"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:1997:8: note: in expansion of macro 'error' error(""); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:2006:8: note: in expansion of macro 'error' error(""); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:2014:8: note: in expansion of macro 'error' error(""); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:2023:8: note: in expansion of macro 'error' error("Highlighted cells have attached notes."); ^ sc.c:2027:8: warning: implicit declaration of function 'gotonote' [-Wimplicit-function-declaration] gotonote(); ^ In file included from sc.c:37:0: sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:2028:8: note: in expansion of macro 'error' error(""); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:2031:4: note: in expansion of macro 'error' error("Invalid command"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:2074:4: note: in expansion of macro 'error' error ("Weird character, decimal %d\n", ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:2077:8: note: in expansion of macro 'error' error ("No such command (%c)", c); ^ sc.c:242:14: warning: unused variable 'home' [-Wunused-variable] char *home; ^ In file included from sc.c:37:0: sc.c: In function 'diesave': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:2219:3: note: in expansion of macro 'error' error("Couldn't save current spreadsheet, Sorry"); ^ sc.c: In function 'locked_cell': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sc.c:2257:2: note: in expansion of macro 'error' error("Cell %s%d is locked", coltoa(c), r) ; ^ sc.c: In function 'main': sc.c:439:4: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen("/dev/tty", "r", stdin); ^ sc.c:440:4: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen("/dev/tty", "w", stdout); ^ sc.c:1027:6: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system("man sc"); ^ gcc -DSYSV3 -pipe -Wall -g -O2 -DSIGVOID \ -c screen.c In file included from screen.c:17:0: sc.h:307:0: warning: "is_cleared" redefined #define is_cleared 0200 ^ In file included from screen.c:15:0: /usr/include/curses.h:1339:0: note: this is the location of the previous definition #define is_cleared(win) ((win) ? (win)->_clear : FALSE) ^ In file included from screen.c:17:0: screen.c: In function 'update': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ screen.c:136:3: note: in expansion of macro 'error' error("Frame too large for screen size - ignoring"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ screen.c:213:6: note: in expansion of macro 'error' error("column %s too wide - resizing", coltoa(curcol)); ^ screen.c:877:24: warning: the address of 'has_colors' will always evaluate as 'true' [-Waddress] if (!*pp && color && has_colors && cr && cr->r_color != 1) { ^ gcc -DSYSV3 -pipe -Wall -g -O2 -c -o sort.o sort.c In file included from sort.c:24:0: sc.h:307:0: warning: "is_cleared" redefined #define is_cleared 0200 ^ In file included from sort.c:23:0: /usr/include/curses.h:1339:0: note: this is the location of the previous definition #define is_cleared(win) ((win) ? (win)->_clear : FALSE) ^ In file included from sort.c:24:0: sort.c: In function 'sortrange': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sort.c:73:7: note: in expansion of macro 'error' error("Invalid sort criteria"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sort.c:84:7: note: in expansion of macro 'error' error("Invalid sort criteria"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sort.c:90:3: note: in expansion of macro 'error' error("Invalid sort criteria"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sort.c:97:3: note: in expansion of macro 'error' error("Invalid sort criteria"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sort.c:109:3: note: in expansion of macro 'error' error("sort error"); ^ gcc -DSYSV3 -pipe -Wall -g -O2 -c -o version.o version.c gcc -DSYSV3 -pipe -Wall -g -O2 -DREGCOMP -DHISTORY_FILE=\"~/.sc_history\" -c vi.c In file included from vi.c:22:0: sc.h:307:0: warning: "is_cleared" redefined #define is_cleared 0200 ^ In file included from vi.c:17:0: /usr/include/curses.h:1339:0: note: this is the location of the previous definition #define is_cleared(win) ((win) ? (win)->_clear : FALSE) ^ In file included from vi.c:22:0: vi.c: In function 'write_line': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ vi.c:143:5: note: in expansion of macro 'error' error(""); ^ vi.c:523:35: warning: implicit declaration of function 'gotonote' [-Wimplicit-function-declaration] case '*': if (nmgetch() == '*') gotonote(); break; ^ In file included from vi.c:22:0: sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ vi.c:540:7: note: in expansion of macro 'error' error("At end of table"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ vi.c:564:7: note: in expansion of macro 'error' error("At start of table"); ^ vi.c: In function 'change_case': vi.c:1129:1: warning: type of 'arg' defaults to 'int' [-Wimplicit-int] change_case(arg) ^ In file included from vi.c:22:0: vi.c: In function 'for_hist': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ vi.c:1479:2: note: in expansion of macro 'error' error("History line %d", endhist - lasthist + histp); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ vi.c:1481:2: note: in expansion of macro 'error' error(""); ^ vi.c: In function 'back_hist': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ vi.c:1508:2: note: in expansion of macro 'error' error("History line %d", endhist - lasthist + histp); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ vi.c:1510:2: note: in expansion of macro 'error' error(""); ^ vi.c: In function 'search_hist': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ vi.c:1537:2: note: in expansion of macro 'error' error(tmp); ^ vi.c: In function 'search_again': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ vi.c:1589:5: note: in expansion of macro 'error' error(""); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ vi.c:1610:3: note: in expansion of macro 'error' error("No matches found"); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ vi.c:1653:2: note: in expansion of macro 'error' error("History line %d", endhist - lasthist + histp); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ vi.c:1655:2: note: in expansion of macro 'error' error("No matches found"); ^ vi.c: In function 'query': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ vi.c:2041:20: note: in expansion of macro 'error' if (s != NULL) error(s); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ vi.c:2047:3: note: in expansion of macro 'error' error(""); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ vi.c:2052:3: note: in expansion of macro 'error' error(""); ^ vi.c: In function 'doshell': vi.c:1399:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] (void) fgets(cmd, MAXCMD, stdin); ^ gcc -DSYSV3 -pipe -Wall -g -O2 -c -o vmtbl.o vmtbl.c In file included from vmtbl.c:20:0: sc.h:307:0: warning: "is_cleared" redefined #define is_cleared 0200 ^ In file included from vmtbl.c:16:0: /usr/include/curses.h:1339:0: note: this is the location of the previous definition #define is_cleared(win) ((win) ? (win)->_clear : FALSE) ^ In file included from vmtbl.c:20:0: vmtbl.c: In function 'growtbl': sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ vmtbl.c:121:6: note: in expansion of macro 'error' error(nowider); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ vmtbl.c:59:2: note: in expansion of macro 'error' error(msg); \ ^ vmtbl.c:139:2: note: in expansion of macro 'GROWALLOC' GROWALLOC(row_hidden2, row_hidden, newrows, char, nolonger); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ vmtbl.c:59:2: note: in expansion of macro 'error' error(msg); \ ^ vmtbl.c:146:2: note: in expansion of macro 'GROWALLOC' GROWALLOC(tbl2, tbl, newrows, struct ent **, nolonger); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ vmtbl.c:59:2: note: in expansion of macro 'error' error(msg); \ ^ vmtbl.c:155:2: note: in expansion of macro 'GROWALLOC' GROWALLOC(fwidth2, fwidth, newcols, int, nowider); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ vmtbl.c:59:2: note: in expansion of macro 'error' error(msg); \ ^ vmtbl.c:156:2: note: in expansion of macro 'GROWALLOC' GROWALLOC(precision2, precision, newcols, int, nowider); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ vmtbl.c:59:2: note: in expansion of macro 'error' error(msg); \ ^ vmtbl.c:157:2: note: in expansion of macro 'GROWALLOC' GROWALLOC(realfmt2, realfmt, newcols, int, nowider); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ vmtbl.c:59:2: note: in expansion of macro 'error' error(msg); \ ^ vmtbl.c:164:2: note: in expansion of macro 'GROWALLOC' GROWALLOC(col_hidden2, col_hidden, newcols, char, nowider); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ vmtbl.c:176:6: note: in expansion of macro 'error' error(nowider); ^ sc.h:46:68: warning: value computed is not used [-Wunused-value] # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ vmtbl.c:194:6: note: in expansion of macro 'error' error(nowider); ^ gcc -DSYSV3 -pipe -Wall -g -O2 -c -o xmalloc.o xmalloc.c In file included from xmalloc.c:8:0: sc.h:307:0: warning: "is_cleared" redefined #define is_cleared 0200 ^ In file included from xmalloc.c:6:0: /usr/include/curses.h:1339:0: note: this is the location of the previous definition #define is_cleared(win) ((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 -Wall -g -O2 -c -DPSC pvmtbl.c rm -f pxmalloc.c ln xmalloc.c pxmalloc.c gcc -DSYSV3 -pipe -Wall -g -O2 -c -DPSC pxmalloc.c In file included from pxmalloc.c:8:0: sc.h:307:0: warning: "is_cleared" redefined #define is_cleared 0200 ^ In file included from pxmalloc.c:6:0: /usr/include/curses.h:1339:0: note: this is the location of the previous definition #define is_cleared(win) ((win) ? (win)->_clear : FALSE) ^ gcc -DSYSV3 -pipe -Wall -g -O2 -o psc psc.c pvmtbl.o pxmalloc.o rm -f qhelp.c ln help.c qhelp.c gcc -DSYSV3 -pipe -Wall -g -O2 -DQREF -DTROFF -DSCNAME=\"SC\" -o scqref qhelp.c qhelp.c: In function 'main': qhelp.c:646:12: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] (void) exit(0); ^ qhelp.c:646:12: warning: incompatible implicit declaration of built-in function 'exit' qhelp.c:646:12: note: include '' or provide a declaration of 'exit' make: Leaving directory `/usr/src/RPM/BUILD/sc-7.16' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.5116 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/sc-buildroot + : + /bin/rm -rf -- /usr/src/tmp/sc-buildroot + cd sc-7.16 + mkdir -p /usr/src/tmp/sc-buildroot/usr/bin /usr/src/tmp/sc-buildroot/usr/lib64 /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) Compressing files in /usr/src/tmp/sc-buildroot (auto) Adjusting library links in /usr/src/tmp/sc-buildroot ./usr/lib64: 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) Hardlinking identical .pyc and .pyo files Processing files: sc-7.16-alt3.qa1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.5116 + 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.0w5yVq find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.HVE4zQ find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Requires: /lib64/ld-linux-x86-64.so.2, libc.so.6(GLIBC_2.11)(64bit), libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libm.so.6(GLIBC_2.2.5)(64bit), libncurses.so.5()(64bit) >= set:mhWilR7Dvtl3kiV7wYae9T0AbAtqE8bS1pDqRkVe7TF2xkmZnrj0ujYofpOj1p0ovi, libtinfo.so.5()(64bit) >= 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.K9aV3i Wrote: /usr/src/RPM/RPMS/x86_64/sc-7.16-alt3.qa1.x86_64.rpm 9.05user 0.96system 0:14.69elapsed 68%CPU (0avgtext+0avgdata 55764maxresident)k 0inputs+0outputs (0major+310019minor)pagefaults 0swaps 11.92user 3.05system 0:20.48elapsed 73%CPU (0avgtext+0avgdata 124004maxresident)k 0inputs+0outputs (0major+504709minor)pagefaults 0swaps --- sc-7.16-alt3.qa1.x86_64.rpm.repo 2011-04-17 08:00:46.000000000 +0000 +++ sc-7.16-alt3.qa1.x86_64.rpm.hasher 2019-04-14 01:13:13.882386415 +0000 @@ -13,6 +13,7 @@ /usr/share/doc/sc-7.16/tutorial.sc 100644 -/usr/share/man/man1/psc.1.gz 100644 -/usr/share/man/man1/sc.1.bz2 100644 +/usr/share/man/man1/psc.1.xz 100644 +/usr/share/man/man1/sc.1.xz 100644 Requires: /lib64/ld-linux-x86-64.so.2 Requires: libc.so.6(GLIBC_2.11)(64bit) +Requires: libc.so.6(GLIBC_2.14)(64bit) Requires: libc.so.6(GLIBC_2.2.5)(64bit)