Port-vax archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: HEADS UP: GCC 10 now default on several ports



New one:

In the process of running build.sh for a full distribution:

#   compile  tmux/cmd-display-menu.o
/usr/src/obj/tooldir.NetBSD-8.0-amd64/bin/vax--netbsdelf-gcc -O2 -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wsystem-headers -Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wsign-compare -Wformat=2 -Wno-format-zero-length -Werror --sysroot=/usr/src/obj/destdir.vax -DSUPPORT_UTMP -DSUPPORT_UTMPX -I/usr/src/external/bsd/tmux/dist -I/usr/src/external/bsd/tmux/usr.bin/tmux -DHAVE_ASPRINTF=1 -DHAVE_B64_NTOP=1 -DHAVE_BITSTRING_H=1 -DHAVE_BSD_GETOPT=1 -DHAVE_CFMAKERAW=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_CLOSEFROM=1 -DHAVE_CURSES_H=1 -DHAVE_DAEMON=1 -DHAVE_DIRENT_H=1 -DHAVE_EVENT2_EVENT_H=1 -DHAVE_FCNTL_CLOSEM=1 -DHAVE_FCNTL_H=1 -DHAVE_FGETLN=1 -DHAVE_FLOCK=1 -DHAVE_FORKPTY=1 -DHAVE_FPARSELN=1 -DHAVE_GETDTABLESIZE=1 -DHAVE_GETLINE=1 -DHAVE_GETOPT=1 -DHAVE_GETPROGNAME=1 -DHAVE_INTTYPES_H=1 -DHAVE_LIBM=1 -DHAVE_LIBPROC_H=1 -DHAVE_MEMMEM=1 -DHAVE_MEMORY_H=1 -DHAVE_PATHS_H=1 -DHAVE_PROC_PID=1 -DHAVE_QUEUE_H=1 -DHAVE_REALLOCARRAY=1 -DHAVE_SETENV=1 -DHAVE_SETPROCTITLE=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRCASESTR=1 -DHAVE_STRINGS_H=1 -DHAVE_STRING_H=1 -DHAVE_STRLCAT=1 -DHAVE_STRLCPY=1 -DHAVE_STRNDUP=1 -DHAVE_STRSEP=1 -DHAVE_STRTONUM=1 -DHAVE_SYSCONF=1 -DHAVE_SYS_DIR_H=1 -DHAVE_SYS_SIGNAME=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TREE_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_TREE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_UTEMPTER=1 -DHAVE_UTIL_H=1 -DHAVE_VIS=1 -DHAVE___PROGNAME=1 -DPACKAGE=\"tmux\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_NAME=\"tmux\" -DPACKAGE_STRING=\"tmux\ 3.2\" -DPACKAGE_TARNAME=\"tmux\" -DPACKAGE_URL=\"\" -DPACKAGE_VERSION=\"3.2\" -DSTDC_HEADERS=1 -DTMUX_CONF="\"/etc/tmux.conf:~/.tmux.conf:~/.config/tmux/tmux.conf\"" -DTMUX_VERSION='"3.2"' -DVERSION=\"3.2\" -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_NETBSD_SOURCE -D_OPENBSD_SOURCE -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -D_XOPEN_SOURCE=500 -D__EXTENSIONS__=1 -c /usr/src/external/bsd/tmux/dist/cmd-display-menu.c -o cmd-display-menu.o /usr/src/external/bsd/tmux/dist/cmd-display-menu.c: In function 'cmd_display_menu_get_position': /usr/src/external/bsd/tmux/dist/cmd-display-menu.c:158:8: error: comparison of integer expressions of different signedness: 'long int' and 'u_int' {aka 'unsigned int'} [-Werror=sign-compare]
  158 |  if (n >= tty->sy)
      |        ^~
/usr/src/external/bsd/tmux/dist/cmd-display-menu.c:191:8: error: comparison of integer expressions of different signedness: 'long int' and 'u_int' {aka 'unsigned int'} [-Werror=sign-compare]
  191 |  if (n >= tty->sy)
      |        ^~
/usr/src/external/bsd/tmux/dist/cmd-display-menu.c:239:8: error: comparison of integer expressions of different signedness: 'long int' and 'u_int' {aka 'unsigned int'} [-Werror=sign-compare]
  239 |  if (n < h)
      |        ^
cc1: all warnings being treated as errors

*** Failed target:  cmd-display-menu.o


Anyone have any idea about that one?

  Johnny

--
Johnny Billquist                  || "I'm on a bus
                                  ||  on a psychedelic trip
email: bqt%softjar.se@localhost             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol


Home | Main Index | Thread Index | Old Index