* Package: app-misc/screen-4.6.2  * Repository: gentoo  * Maintainer: swegener@gentoo.org shell-tools@gentoo.org  * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU  * FEATURES: compressdebug preserve-libs sandbox splitdebug userpriv usersandbox  * Package: app-misc/screen-4.6.2  * Repository: gentoo  * Maintainer: swegener@gentoo.org shell-tools@gentoo.org  * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU  * FEATURES: compressdebug preserve-libs sandbox splitdebug userpriv usersandbox >>> Unpacking source... >>> Unpacking screen-4.6.2.tar.gz to /var/tmp/portage/app-misc/screen-4.6.2/work >>> Source unpacked in /var/tmp/portage/app-misc/screen-4.6.2/work >>> Preparing source in /var/tmp/portage/app-misc/screen-4.6.2/work/screen-4.6.2 ... * Applying screen-4.3.0-no-utempter.patch ...  [ ok ] * Applying screen-4.6.2-utmp-exit.patch ...  [ ok ] * Running eautoreconf in '/var/tmp/portage/app-misc/screen-4.6.2/work/screen-4.6.2' ... * Running aclocal ...  [ ok ] * Running autoconf --force ...  [ ok ] * Running autoheader ...  [ ok ] * Running elibtoolize in: screen-4.6.2/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-misc/screen-4.6.2/work/screen-4.6.2 ... ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --docdir=/usr/share/doc/screen-4.6.2 --htmldir=/usr/share/doc/screen-4.6.2/html --libdir=/usr/lib64 --with-socket-dir=/tmp/screen --with-sys-screenrc=/etc/screenrc --with-pty-mode=0620 --with-pty-group=5 --enable-rxvt_osc --enable-telnet --enable-colors256 --disable-pam configure: loading site script /usr/share/config.site this is screen version 4.6.2 checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether x86_64-pc-linux-gnu-gcc needs -traditional... no checking for library containing strerror... none required checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for gawk... gawk checking for a BSD-compatible install... /usr/bin/install -c configure: checking for buggy tools... checking if a system-wide socket dir should be used... yes checking for the socket dir... "/tmp/screen" configure: checking for MIPS... configure: checking for Ultrix... configure: checking for butterfly... configure: checking for POSIX.1... - you have a POSIX system configure: checking for System V... configure: checking for sequent/ptx... configure: checking SVR4... checking dwarf.h usability... yes checking dwarf.h presence... yes checking for dwarf.h... yes checking stropts.h usability... yes checking stropts.h presence... yes checking for stropts.h... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes configure: checking for Solaris 2.x... configure: checking BSD job jontrol... - you have jobcontrol configure: checking setresuid... configure: checking setreuid... configure: checking seteuid... configure: checking execvpe... configure: checking select... configure: checking fifos... - your fifos are usable configure: checking for broken fifo implementation... - your implementation is ok configure: checking ut_exit... configure: checking sockets... - your sockets are usable configure: checking socket implementation... - you are normal - select can't count configure: checking for tgetent... configure: checking libcurses... - you use the terminfo database configure: checking ospeed... configure: checking for /dev/ptc... configure: checking for SVR4 ptys... checking for getpt... yes configure: checking for ptyranges... configure: checking getutent... configure: checking ut_host... configure: checking for libutil(s)... configure: checking getloadavg... assuming posix signal definition configure: checking for crypt and sec libraries... configure: checking crypt... configure: checking IRIX sun library... configure: checking syslog... configure: checking wait union... configure: checking for termio or termios... configure: checking getspnam... configure: checking getttyent... configure: checking fdwalk... configure: checking whether memcpy/memmove/bcopy handles overlapping arguments... checking for long file names... yes checking for vsprintf... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for setenv... checking for nl_langinfo(CODESET)... yes checking for library containing gethostname... none required checking for rename... yes checking for fchmod... yes checking for fchown... yes checking for strerror... yes checking for lstat... yes checking for _exit... yes checking for utimes... yes checking for vsnprintf... yes checking for getcwd... yes checking for setlocale... yes checking for strftime... yes checking for the global screenrc file... configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating config.h config.status: executing default commands Now please check the pathnames in the Makefile and in the user configuration section in config.h. Then type 'make' to make screen. Good luck. >>> Source configured. >>> Compiling source in /var/tmp/portage/app-misc/screen-4.6.2/work/screen-4.6.2 ... make -j5 -l8 comm.h term.h AWK=gawk CC="x86_64-pc-linux-gnu-gcc -march=native -O3 -ggdb -pipe -D_GNU_SOURCE" srcdir=. sh ./comm.sh AWK=gawk srcdir=. sh ./term.sh make -j5 -l8 osdef.h CPP="x86_64-pc-linux-gnu-gcc -E -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"'" srcdir=. sh ./osdef.sh make -j5 -l8 -C doc screen.info make: Entering directory '/var/tmp/portage/app-misc/screen-4.6.2/work/screen-4.6.2/doc' makeinfo ./screen.texinfo -o screen.info make: Leaving directory '/var/tmp/portage/app-misc/screen-4.6.2/work/screen-4.6.2/doc' make -j5 -l8 x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -march=native -O3 -ggdb -pipe -D_GNU_SOURCE screen.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -march=native -O3 -ggdb -pipe -D_GNU_SOURCE ansi.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -march=native -O3 -ggdb -pipe -D_GNU_SOURCE fileio.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -march=native -O3 -ggdb -pipe -D_GNU_SOURCE mark.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -march=native -O3 -ggdb -pipe -D_GNU_SOURCE misc.c screen.c: In function 'main': screen.c:1118:16: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] (void) chown(SockPath, real_uid, real_gid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ screen.c:981:5: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(real_gid); \ ^~~~~~~~~~~~~~~~ screen.c:1178:5: note: in expansion of macro 'SET_GUID' SET_GUID(); ^~~~~~~~ screen.c:982:5: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(real_uid); \ ^~~~~~~~~~~~~~~~ screen.c:1178:5: note: in expansion of macro 'SET_GUID' SET_GUID(); ^~~~~~~~ screen.c:981:5: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(real_gid); \ ^~~~~~~~~~~~~~~~ screen.c:1197:5: note: in expansion of macro 'SET_GUID' SET_GUID(); ^~~~~~~~ screen.c:982:5: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(real_uid); \ ^~~~~~~~~~~~~~~~ screen.c:1197:5: note: in expansion of macro 'SET_GUID' SET_GUID(); ^~~~~~~~ screen.c:981:5: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(real_gid); \ ^~~~~~~~~~~~~~~~ screen.c:1224:5: note: in expansion of macro 'SET_GUID' SET_GUID(); ^~~~~~~~ screen.c:982:5: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(real_uid); \ ^~~~~~~~~~~~~~~~ screen.c:1224:5: note: in expansion of macro 'SET_GUID' SET_GUID(); ^~~~~~~~ screen.c:981:5: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(real_gid); \ ^~~~~~~~~~~~~~~~ screen.c:1258:5: note: in expansion of macro 'SET_GUID' SET_GUID(); ^~~~~~~~ screen.c:982:5: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(real_uid); \ ^~~~~~~~~~~~~~~~ screen.c:1258:5: note: in expansion of macro 'SET_GUID' SET_GUID(); ^~~~~~~~ screen.c:1306:3: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen("/dev/null", "r", stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ screen.c:1307:3: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen("/dev/null", "w", stdout); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ screen.c:1312:3: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen("/dev/null", "w", stderr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ screen.c: In function 'serv_select_fn': screen.c:3133:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(W_UWP(fore) ? fore->w_pwin->p_ptyfd : fore->w_ptyfd, &ibuf, 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ screen.c: In function 'CoreDump': screen.c:1650:3: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(getgid()); ^~~~~~~~~~~~~~~~ screen.c:1651:3: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(getuid()); ^~~~~~~~~~~~~~~~ screen.c:1665:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(disp->d_userfd, buf, strlen(buf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ screen.c: In function 'eexit': screen.c:1843:5: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(real_gid); ^~~~~~~~~~~~~~~~ screen.c:1844:5: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(real_uid); ^~~~~~~~~~~~~~~~ screen.c: In function 'Msg': screen.c:2109:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(queryflag, buf, strlen(buf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ screen.c: In function 'Panic': screen.c:2147:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(D_userfd, buf, strlen(buf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ screen.c:2148:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(D_userfd, "\n", 1); ^~~~~~~~~~~~~~~~~~~~~~~~ screen.c: In function 'QueryMsg': screen.c:2178:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(queryflag, buf, strlen(buf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c: In function 'WriteFile': fileio.c:426:13: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(fd, 0); ^~~~~~~~~~~~~~~~ fileio.c: In function 'printpipe': fileio.c:716:7: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(pi[0]); ^~~~~~~~~~ x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -march=native -O3 -ggdb -pipe -D_GNU_SOURCE resize.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -march=native -O3 -ggdb -pipe -D_GNU_SOURCE socket.c socket.c: In function 'SendErrorMsg': socket.c:754:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(s, (char *) &m, sizeof m); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ socket.c: In function 'CreateTempDisplay': socket.c:958:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(i, "Attaching from inside of screen?\n", 33); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ socket.c:969:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(i, "Access to session denied.\n", 26); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ socket.c:993:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(i, "Could not make display.\n", 24); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -march=native -O3 -ggdb -pipe -D_GNU_SOURCE search.c sh ./tty.sh tty.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -march=native -O3 -ggdb -pipe -D_GNU_SOURCE term.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -march=native -O3 -ggdb -pipe -D_GNU_SOURCE window.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -march=native -O3 -ggdb -pipe -D_GNU_SOURCE utmp.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -march=native -O3 -ggdb -pipe -D_GNU_SOURCE loadav.c loadav.c: In function 'GetLoadav': loadav.c:89:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, sizeof(buf), fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ window.c: In function 'ForkWindow': window.c:1295:4: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(slave); ^~~~~~~~~~ window.c:1346:3: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(newfd); ^~~~~~~~~~ window.c:1350:8: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(win->w_ptyfd); ^~~~~~~~~~~~~~~~~ window.c: In function 'CloseDevice': window.c:982:13: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] (void)chown(wp->w_tty, 0, 0); ^~~~~~~~~~~~~~~~~~~~~~ window.c: In function 'FreePseudowin': window.c:1702:9: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] (void)chown(pwin->p_tty, 0, 0); ^~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -march=native -O3 -ggdb -pipe -D_GNU_SOURCE putenv.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -march=native -O3 -ggdb -pipe -D_GNU_SOURCE help.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -march=native -O3 -ggdb -pipe -D_GNU_SOURCE termcap.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -march=native -O3 -ggdb -pipe -D_GNU_SOURCE input.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -march=native -O3 -ggdb -pipe -D_GNU_SOURCE attacher.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -march=native -O3 -ggdb -pipe -D_GNU_SOURCE pty.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -march=native -O3 -ggdb -pipe -D_GNU_SOURCE process.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -march=native -O3 -ggdb -pipe -D_GNU_SOURCE display.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -march=native -O3 -ggdb -pipe -D_GNU_SOURCE comm.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -march=native -O3 -ggdb -pipe -D_GNU_SOURCE kmapdef.c process.c: In function 'pow_detach_fn': process.c:6277:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(D_userfd, "\007", 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~ display.c: In function 'DisplaySleep1000': display.c:3147:9: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(D_userfd, &buf, 1); ^~~~~~~~~~~~~~~~~~~~~~~ display.c: In function 'RunBlanker': display.c:3782:7: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(0); ^~~~~~ display.c:3783:7: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(0); ^~~~~~ x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -march=native -O3 -ggdb -pipe -D_GNU_SOURCE acls.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -march=native -O3 -ggdb -pipe -D_GNU_SOURCE braille.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -march=native -O3 -ggdb -pipe -D_GNU_SOURCE braille_tsi.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -march=native -O3 -ggdb -pipe -D_GNU_SOURCE logfile.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -march=native -O3 -ggdb -pipe -D_GNU_SOURCE layer.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -march=native -O3 -ggdb -pipe -D_GNU_SOURCE list_generic.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -march=native -O3 -ggdb -pipe -D_GNU_SOURCE list_display.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -march=native -O3 -ggdb -pipe -D_GNU_SOURCE list_window.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -march=native -O3 -ggdb -pipe -D_GNU_SOURCE sched.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -march=native -O3 -ggdb -pipe -D_GNU_SOURCE teln.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -march=native -O3 -ggdb -pipe -D_GNU_SOURCE nethack.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -march=native -O3 -ggdb -pipe -D_GNU_SOURCE encoding.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -march=native -O3 -ggdb -pipe -D_GNU_SOURCE canvas.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -march=native -O3 -ggdb -pipe -D_GNU_SOURCE layout.c In file included from screen.h:150, from encoding.c:27: encoding.c: In function 'AddUtf8': display.h:311:18: warning: overflow in conversion from 'int' to 'char' changes value from 'c >> 12 & 12288^ 248' to '-8' [-Woverflow] *D_obufp++ = (c); \ ^ encoding.c:682:4: note: in expansion of macro 'AddChar' AddChar((c & 0x3000000) >> 12 ^ 0xf8); ^~~~~~~ encoding.c: In function 'ToUtf8': encoding.c:727:13: warning: overflow in conversion from 'int' to 'char' changes value from 'c >> 12 & 12288^ 248' to '-8' [-Woverflow] *p++ = (c & 0x3000000) >> 12 ^ 0xf8; ^ x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -march=native -O3 -ggdb -pipe -D_GNU_SOURCE viewport.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -march=native -O3 -ggdb -pipe -D_GNU_SOURCE tty.c x86_64-pc-linux-gnu-gcc -Wl,-O2 -Wl,--as-needed -o screen screen.o ansi.o fileio.o mark.o misc.o resize.o socket.o search.o tty.o term.o window.o utmp.o loadav.o putenv.o help.o termcap.o input.o attacher.o pty.o process.o display.o comm.o kmapdef.o acls.o braille.o braille_tsi.o logfile.o layer.o list_generic.o list_display.o list_window.o sched.o teln.o nethack.o encoding.o canvas.o layout.o viewport.o -lcurses -lelf -lutil -lcrypt >>> Source compiled.