------------------------------------------------------------------------------- -- Phase: Environment ------------------------------------------------------------------------------- NO_DEPENDS=1 UNAME_r=6.5 UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=unknown UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 LANG=C HOME=/root USER=root TERM=dumb SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: showconfig ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ENV ------------------------------------------------------------------------------- XDG_DATA_HOME=/construction/net/fspclient XDG_CONFIG_HOME=/construction/net/fspclient XDG_CACHE_HOME=/construction/net/fspclient/.cache HOME=/construction/net/fspclient TMPDIR="/tmp" PATH=/construction/net/fspclient/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/net/fspclient/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ARGS ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ENV ------------------------------------------------------------------------------- XDG_DATA_HOME=/construction/net/fspclient XDG_CONFIG_HOME=/construction/net/fspclient XDG_CACHE_HOME=/construction/net/fspclient/.cache HOME=/construction/net/fspclient TMPDIR="/tmp" PATH=/construction/net/fspclient/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/net/fspclient/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS=" -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ARGS ------------------------------------------------------------------------------- prefix=/usr/local CC="cc" CCFLAGS="-pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing " CPPPATH="/usr/local/include" CXX="c++" CXXFLAGS=" -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing " LIBPATH="/usr/local/lib" LINKFLAGS=" " PKGCONFIGDIR="" PREFIX="/usr/local" destdir=/construction/net/fspclient/stage DESTDIR=/construction/net/fspclient/stage SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: PLIST_SUB ------------------------------------------------------------------------------- OSREL=6.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/fspclient" EXAMPLESDIR="share/examples/fspclient" DATADIR="share/fspclient" WWWDIR="www/fspclient" ETCDIR="etc/fspclient" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: SUB_LIST ------------------------------------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/fspclient DOCSDIR=/usr/local/share/doc/fspclient EXAMPLESDIR=/usr/local/share/examples/fspclient WWWDIR=/usr/local/www/fspclient ETCDIR=/usr/local/etc/fspclient SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: /etc/make.conf ------------------------------------------------------------------------------- DPORTS_BUILDER=yes DISABLE_LICENSES=yes DEFAULT_VERSIONS=ssl=openssl FORCE_PACKAGE=yes DEVELOPER=yes DFLY_STING_XFAIL=yes USE_PACKAGE_DEPENDS_ONLY=yes PORTSDIR=/xports PORT_DBDIR=/options PKG_DBDIR=/var/db/pkg PKG_CACHEDIR=/var/cache/pkg PKG_COMPRESSION_FORMAT=.tgz DEVELOPER=1 WITH_CCACHE_BUILD=yes CCACHE_DIR=/ccache UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=600503 OSVERSION=9999999 OSREL=6.5 _OSRELEASE=6.5-SYNTH DISTDIR=/distfiles WRKDIRPREFIX=/construction BATCH=yes PACKAGE_BUILDING=yes PKG_CREATE_VERBOSE=yes MAKE_JOBS_NUMBER=13 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/indexinfo-0.3.1.pkg Installing /packages/All/libffi-3.4.4.pkg Installing /packages/All/expat-2.5.0.pkg Installing /packages/All/mpdecimal-2.5.1.pkg Installing /packages/All/ncurses-6.4.pkg ===== Message from ncurses-6.4: -- To get the terminfo database please install the terminfo-db package: pkg install terminfo-db Installing /packages/All/readline-8.2.1.pkg Installing /packages/All/gettext-runtime-0.21.1.pkg Installing /packages/All/openssl-1.1.1u,1.pkg Installing /packages/All/python39-3.9.17.pkg ===== Message from python39-3.9.17: -- Note that some standard Python modules are provided as separate ports as they require additional dependencies. They are available as: py39-gdbm databases/py-gdbm@py39 py39-sqlite3 databases/py-sqlite3@py39 py39-tkinter x11-toolkits/py-tkinter@py39 Installing /packages/All/py39-setuptools-63.1.0_1.pkg Installing /packages/All/scons-py39-4.4.0.pkg Installing /packages/All/ccache-3.7.12_4.pkg Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for gcc create symlink for gcc (world) create symlink for g++ create symlink for g++ (world) ===== Message from ccache-3.7.12_4: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. SUCCEEDED 00:00:04 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> fspclient-0.93.1 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> fspclient-0.93.1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by fspclient-0.93.1 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> fspclient-0.93.1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by fspclient-0.93.1 for building => SHA256 Checksum OK for fspclient-0.93.1.tar.bz2. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> fspclient-0.93.1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by fspclient-0.93.1 for building ===> Extracting for fspclient-0.93.1 => SHA256 Checksum OK for fspclient-0.93.1.tar.bz2. Extracted Memory Use: 0.53M SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for fspclient-0.93.1 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> fspclient-0.93.1 depends on file: /usr/local/bin/scons-3.9 - found ===> fspclient-0.93.1 depends on file: /usr/local/bin/ccache - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> fspclient-0.93.1 depends on file: /usr/local/bin/scons-3.9 - found ===> fspclient-0.93.1 depends on file: /usr/local/bin/ccache - found ===> Configuring for fspclient-0.93.1 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for fspclient-0.93.1 scons: Reading SConscript files ... Checking whether the C compiler works... yes Checking whether cc supports -Wall... yes Checking whether cc supports -W... yes Checking whether cc supports -Wstrict-prototypes... yes Checking whether cc supports -Wmissing-prototypes... yes Checking whether cc supports -Wshadow... yes Checking whether cc supports -Wbad-function-cast... yes Checking whether cc supports -Wcast-qual... yes Checking whether cc supports -Wcast-align... yes Checking whether cc supports -Wwrite-strings... yes Checking whether cc supports -Waggregate-return... yes Checking whether cc supports -Wmissing-declarations... yes Checking whether cc supports -Wmissing-format-attribute... yes Checking whether cc supports -Wnested-externs... yes Checking whether cc supports -ggdb... yes Checking whether cc supports -fno-common... yes Checking whether cc supports -Wchar-subscripts... yes Checking whether cc supports -Wcomment... yes Checking whether cc supports -Wimplicit... yes Checking whether cc supports -Wsequence-point... yes Checking whether cc supports -Wreturn-type... yes Checking whether cc supports -Wfloat-equal... yes Checking whether cc supports -Wno-system-headers... yes Checking whether cc supports -Wredundant-decls... yes Checking whether cc supports -Wmissing-noreturn... yes Checking whether cc supports -pedantic... yes Checking whether cc supports -Wlong-long... yes Checking whether cc supports -Wundef... yes Checking whether cc supports -Winline... yes Checking whether cc supports -Wpointer-arith... yes Checking whether cc supports -Wno-unused-parameter... yes Checking whether cc supports -Wunreachable-code... yes Checking if variable optreset is defined... yes Checking for C function srandomdev()... yes Checking for C type union semun... yes Checking for C header file utmpx.h... yes Checking for C function lockf()... yes Checking for C function semop()... yes Checking for C function shmget()... yes Checking for C function flock()... yes Checking for FSP locking type... (cached) semop and shmget Checking for user supplied lockprefix... (cached) no Checking for user supplied prefix... (cached) yes Checking where to install man pages... (cached) /usr/local/share/man Checking for user supplied mandir... (cached) no Checking whether to enable maintainer mode... (cached) no scons: done reading SConscript files. scons: Building targets ... cc -o client/glob.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/glob.c cc -o client/lock.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/lock.c cd client/local;../maketable l cd client/remote;../maketable r cc -o client/redirect.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/redirect.c cc -o client/lib.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/lib.c cc -o client/macro.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/macro.c cc -o client/parse.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/parse.c cc -o client/util.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/util.c cc -o common/udp_io.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude common/udp_io.c cc -o client/local/util.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/local/util.c cc -o bsd/cmp.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude bsd/cmp.c cc -o bsd/ls.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude bsd/ls.c cc -o client/local/ltrace.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/local/ltrace.c client/redirect.c:30:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "in", (FILE*)0 }, ^~~~ client/redirect.c:31:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "out", (FILE*)0 }, ^~~~~ client/redirect.c:32:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "err", (FILE*)0 }, ^~~~~ client/redirect.c:33:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "prompt", (FILE*)0 }, ^~~~~~~~ client/redirect.c:34:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "info", (FILE*)0 }, ^~~~~~ client/redirect.c:35:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "warn", (FILE*)0 }, ^~~~~~ client/redirect.c:36:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "dbg", (FILE*)0 }, ^~~~~ client/redirect.c:37:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "all", (FILE*)0 }, ^~~~~ client/redirect.c: In function 'initialise_stdio': client/redirect.c:105:34: warning: passing argument 2 of 'choose_stream' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] STDDBG = choose_stream(6, "a+", STDERR); ^~~~ client/redirect.c:90:29: note: expected 'char *' but argument is of type 'const char *' choose_stream(int fd, char *type, FILE *defaultfs) ~~~~~~^~~~ client/redirect.c:109:31: warning: passing argument 2 of 'choose_stream' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] STDPROMPT = choose_stream(3, "a+", STDOUT); ^~~~ client/redirect.c:90:29: note: expected 'char *' but argument is of type 'const char *' choose_stream(int fd, char *type, FILE *defaultfs) ~~~~~~^~~~ client/redirect.c:110:31: warning: passing argument 2 of 'choose_stream' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] STDINFO = choose_stream(4, "a+", STDOUT); ^~~~ client/redirect.c:90:29: note: expected 'char *' but argument is of type 'const char *' choose_stream(int fd, char *type, FILE *defaultfs) ~~~~~~^~~~ client/redirect.c:115:31: warning: passing argument 2 of 'choose_stream' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] STDINFO = choose_stream(4, "a+", STDERR); ^~~~ client/redirect.c:90:29: note: expected 'char *' but argument is of type 'const char *' choose_stream(int fd, char *type, FILE *defaultfs) ~~~~~~^~~~ client/redirect.c:118:34: warning: passing argument 2 of 'choose_stream' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] STDWARN = choose_stream(5, "a+", STDERR); ^~~~ client/redirect.c:90:29: note: expected 'char *' but argument is of type 'const char *' choose_stream(int fd, char *type, FILE *defaultfs) ~~~~~~^~~~ client/redirect.c: At top level: cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' cc -o client/local/lstat.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/local/lstat.c client/glob.c: In function 'split_pat': client/glob.c:233:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] *table++ = "/"; ^ client/glob.c: In function 'expand_tilde': client/glob.c:420:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] pat = tmp ? tmp : ""; ^ client/glob.c: In function 'glob': client/glob.c:445:9: warning: declaration of 'nnames' shadows a global declaration [-Wshadow] int nnames; ^~~~~~ client/glob.c:164:12: note: shadowed declaration is here static int nnames; /* no of names found */ ^~~~~~ client/glob.c:449:21: warning: passing argument 1 of 'expand_tilde' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] pat = expand_tilde(pat); ^~~ client/glob.c:394:20: note: expected 'char *' but argument is of type 'const char *' expand_tilde(char *pat) ~~~~~~^~~ client/glob.c:465:39: warning: passing argument 4 of 'qsort' from incompatible pointer type [-Wincompatible-pointer-types] qsort(names, nnames, sizeof(char *), name_cmp); ^~~~~~~~ In file included from client/glob.c:24: /usr/include/stdlib.h:112:37: note: expected 'int (*)(const void *, const void *)' but argument is of type 'int (*)(char **, char **)' void qsort(void *, size_t, size_t, int (*)(const void *, const void *)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/glob.c:466:9: warning: returning 'char **' from a function with incompatible return type 'const char **' [-Wincompatible-pointer-types] return names; ^~~~~ client/glob.c: At top level: cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' cc -o client/local/llcd.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/local/llcd.c cc -o client/local/lmaxdelay.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/local/lmaxdelay.c client/macro.c: In function 'initialise_macro': client/macro.c:229:6: warning: declaration of 'i' shadows a previous local [-Wshadow] int i; ^ client/macro.c:221:9: note: shadowed declaration is here int i; ^ client/macro.c: At top level: cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' cc -o client/local/lreadme.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/local/lreadme.c client/lib.c: In function 'client_interact': client/lib.c:152:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] static char *idlech[2] = { "-\\|/-\\|/", "+X+X+X+X" }; ^~~~~~~~~~~~ client/lib.c:152:45: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] static char *idlech[2] = { "-\\|/-\\|/", "+X+X+X+X" }; ^~~~~~~~~~ client/lib.c:234:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] char ch[2], *idlech = "_s$s"; ^~~~~~ client/lib.c:298:25: warning: comparison of integer expressions of different signedness: 'u_int' {aka 'unsigned int'} and 'int' [-Wsign-compare] for (i = 0, sum = 0; i < bytes; i++) ^ client/lib.c:323:10: warning: comparison of integer expressions of different signedness: 'u_int' {aka 'unsigned int'} and 'int8_t' {aka 'signed char'} [-Wsign-compare] if (cmd != rbuf.cmd && rbuf.cmd != CC_ERR) continue; /* bad cmd */ ^~ client/lib.c:52:24: warning: unused variable 'from' [-Wunused-variable] struct sockaddr_in from; ^~~~ client/lib.c: In function 'init_client': client/lib.c:433:23: warning: passing argument 2 of 'connect' from incompatible pointer type [-Wincompatible-pointer-types] if ( connect(myfd,&server_addr,sizeof(server_addr)) == -1) ^~~~~~~~~~~~ In file included from include/common.h:22, from include/client.h:11, from client/lib.c:11: /usr/include/sys/socket.h:546:18: note: expected 'const struct sockaddr *' but argument is of type 'struct sockaddr_in *' int connect(int, const struct sockaddr *, socklen_t); ^~~~~~~~~~~~~~~~~~~~~~~ client/lib.c: At top level: cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' ar rc common/libcommon.a common/udp_io.o cc -o client/local/ltimeout.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/local/ltimeout.c client/parse.c: In function 'parsemyargs': client/parse.c:159:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] (*pargv)[i] = "shell"; ^ client/parse.c:162:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] (*pargv)[i] = BUILTIN; ^ client/parse.c:165:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] (*pargv)[i] = "error"; ^ client/parse.c: At top level: cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' cc -o client/remote/rtar.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/remote/rtar.c cc -o client/remote/rpro.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/remote/rpro.c bsd/ls.c: In function 'fls_main': bsd/ls.c:129:28: warning: passing argument 2 of 'getopt' from incompatible pointer type [-Wincompatible-pointer-types] while ((ch = getopt(argc, argv, "1ACFLRacdfgiklqrstu")) != EOF) { ^~~~ In file included from include/common.h:17, from include/client.h:11, from bsd/ls.c:33: /usr/include/unistd.h:429:18: note: expected 'char * const*' but argument is of type 'const char * const*' int getopt(int, char * const [], const char *); ^~~~~~~~~~~~~~~ bsd/ls.c:241:12: warning: assignment to 'void (*)(LS *, unsigned int)' {aka 'void (*)(struct _lsstruct *, unsigned int)'} from incompatible pointer type 'void (*)(LS *, int)' {aka 'void (*)(struct _lsstruct *, int)'} [-Wincompatible-pointer-types] printfcn = printscol; ^ bsd/ls.c:243:12: warning: assignment to 'void (*)(LS *, unsigned int)' {aka 'void (*)(struct _lsstruct *, unsigned int)'} from incompatible pointer type 'void (*)(LS *, int)' {aka 'void (*)(struct _lsstruct *, int)'} [-Wincompatible-pointer-types] printfcn = printlong; ^ bsd/ls.c:245:12: warning: assignment to 'void (*)(LS *, unsigned int)' {aka 'void (*)(struct _lsstruct *, unsigned int)'} from incompatible pointer type 'void (*)(LS *, int)' {aka 'void (*)(struct _lsstruct *, int)'} [-Wincompatible-pointer-types] printfcn = printcol; ^ bsd/ls.c: In function 'tidyup_mem': bsd/ls.c:267:16: warning: passing argument 1 of 'free_glob' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] free_glob(gav[i]); ~~~^~~ In file included from bsd/ls.c:33: include/client.h:189:30: note: expected 'char **' but argument is of type 'char * const*' extern void free_glob(char **argv); ~~~~~~~^~~~ bsd/ls.c: In function 'doargs': bsd/ls.c:304:15: warning: assignment to 'char * const*' from incompatible pointer type 'const char **' [-Wincompatible-pointer-types] gav[gavi]=av; ^ bsd/ls.c:341:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] dstatp->name = *av; ^ bsd/ls.c:365:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] rstatp->name = *av; ^ bsd/ls.c:372:12: warning: passing argument 1 of 'prcopy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] prcopy(*av, *av, rstatp->len); ^~~ In file included from bsd/ls.c:37: include/ls.h:45:26: note: expected 'char *' but argument is of type 'const char *' extern void prcopy(char *src, char *dest, int len); ~~~~~~^~~ bsd/ls.c:372:17: warning: passing argument 2 of 'prcopy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] prcopy(*av, *av, rstatp->len); ^~~ In file included from bsd/ls.c:37: include/ls.h:45:37: note: expected 'char *' but argument is of type 'const char *' extern void prcopy(char *src, char *dest, int len); ~~~~~~^~~~ bsd/ls.c:401:46: warning: passing argument 4 of 'qsort' from incompatible pointer type [-Wincompatible-pointer-types] qsort((char *)dstats, dircnt, sizeof(LS), sortfcn); ^~~~~~~ In file included from bsd/ls.c:36: /usr/include/stdlib.h:112:37: note: expected 'int (*)(const void *, const void *)' but argument is of type 'int (*)(const LS *, const LS *)' {aka 'int (*)(const struct _lsstruct *, const struct _lsstruct *)'} void qsort(void *, size_t, size_t, int (*)(const void *, const void *)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bsd/ls.c: In function 'displaydir': bsd/ls.c:430:41: warning: passing argument 4 of 'qsort' from incompatible pointer type [-Wincompatible-pointer-types] qsort((char *)stats, num, sizeof(LS), sortfcn); ^~~~~~~ In file included from bsd/ls.c:36: /usr/include/stdlib.h:112:37: note: expected 'int (*)(const void *, const void *)' but argument is of type 'int (*)(const LS *, const LS *)' {aka 'int (*)(const struct _lsstruct *, const struct _lsstruct *)'} void qsort(void *, size_t, size_t, int (*)(const void *, const void *)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bsd/ls.c: In function 'tabdir': bsd/ls.c:494:28: warning: passing argument 1 of 'util_opendir' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (!(dirp = util_opendir("."))) { ^~~ In file included from bsd/ls.c:33: include/client.h:116:14: note: expected 'char *' but argument is of type 'const char *' extern RDIR *util_opendir(char *path); ^~~~~~~~~~~~ At top level: bsd/ls.c:30:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)ls.c 5.42 (Berkeley) 5/17/90"; ^~~~~~ bsd/ls.c: In function 'subdir': bsd/ls.c:474:3: warning: 'stats' may be used uninitialized in this function [-Wmaybe-uninitialized] displaydir(stats, num); ^~~~~~~~~~~~~~~~~~~~~~ bsd/ls.c: In function 'doargs': bsd/ls.c:376:12: warning: 'blocks' may be used uninitialized in this function [-Wmaybe-uninitialized] blocks += (sb.st_size + 1023)/1024; ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ bsd/ls.c:279:6: warning: 'maxlen' may be used uninitialized in this function [-Wmaybe-uninitialized] int maxlen; ^~~~~~ bsd/ls.c:366:18: warning: 'rstatp' may be used uninitialized in this function [-Wmaybe-uninitialized] rstatp->lstat = sb; ~~~~~~~~~~~~~~^~~~ bsd/ls.c:342:18: warning: 'dstatp' may be used uninitialized in this function [-Wmaybe-uninitialized] dstatp->lstat = sb; ~~~~~~~~~~~~~~^~~~ bsd/ls.c: At top level: cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' cc -o client/remote/rgrab.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/remote/rgrab.c cc -o client/remote/rcd.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/remote/rcd.c bsd/cmp.c:24:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)cmp.c 5.2 (Berkeley) 4/8/90"; ^~~~~~ cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' cc -o client/remote/rrmdir.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/remote/rrmdir.c In file included from client/local/lstat.c:13: client/local/table.h:9:16: warning: redundant redeclaration of 'lecho_main' [-Wredundant-decls] CMDPROTO(echon,lecho_main,NOGLOB,"echo a string without newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:8:15: note: previous declaration of 'lecho_main' was here CMDPROTO(echo,lecho_main,NOGLOB,"echo a string with newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:11:18: note: previous declaration of 'lif_main' was here CMDPROTO(iferror,lif_main,NOGLOB,"perform an operation if the last command had an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:13:18: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(onerror,lif_main,NOGLOB,"the operation to perform after any command causes an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: note: previous declaration of 'lif_main' was here CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:18:15: warning: redundant redeclaration of 'lopen_main' [-Wredundant-decls] CMDPROTO(host,lopen_main,NOGLOB,"same as `open'") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:17:15: note: previous declaration of 'lopen_main' was here CMDPROTO(open,lopen_main,NOGLOB,"specify the remote host (and optionally port/directory)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:24:15: warning: redundant redeclaration of 'lquit_main' [-Wredundant-decls] CMDPROTO(exit,lquit_main,NOGLOB,"exit with return code of last command, or code given") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:23:15: note: previous declaration of 'lquit_main' was here CMDPROTO(quit,lquit_main,NOGLOB,"quit (what did you expect?)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' cc -o client/remote/rmv.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/remote/rmv.c In file included from client/local/ltrace.c:12: client/local/table.h:9:16: warning: redundant redeclaration of 'lecho_main' [-Wredundant-decls] CMDPROTO(echon,lecho_main,NOGLOB,"echo a string without newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:8:15: note: previous declaration of 'lecho_main' was here CMDPROTO(echo,lecho_main,NOGLOB,"echo a string with newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:11:18: note: previous declaration of 'lif_main' was here CMDPROTO(iferror,lif_main,NOGLOB,"perform an operation if the last command had an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:13:18: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(onerror,lif_main,NOGLOB,"the operation to perform after any command causes an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: note: previous declaration of 'lif_main' was here CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:18:15: warning: redundant redeclaration of 'lopen_main' [-Wredundant-decls] CMDPROTO(host,lopen_main,NOGLOB,"same as `open'") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:17:15: note: previous declaration of 'lopen_main' was here CMDPROTO(open,lopen_main,NOGLOB,"specify the remote host (and optionally port/directory)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:24:15: warning: redundant redeclaration of 'lquit_main' [-Wredundant-decls] CMDPROTO(exit,lquit_main,NOGLOB,"exit with return code of last command, or code given") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:23:15: note: previous declaration of 'lquit_main' was here CMDPROTO(quit,lquit_main,NOGLOB,"quit (what did you expect?)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' cc -o client/remote/rdir.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/remote/rdir.c In file included from client/local/llcd.c:12: client/local/table.h:9:16: warning: redundant redeclaration of 'lecho_main' [-Wredundant-decls] CMDPROTO(echon,lecho_main,NOGLOB,"echo a string without newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:8:15: note: previous declaration of 'lecho_main' was here CMDPROTO(echo,lecho_main,NOGLOB,"echo a string with newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:11:18: note: previous declaration of 'lif_main' was here CMDPROTO(iferror,lif_main,NOGLOB,"perform an operation if the last command had an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:13:18: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(onerror,lif_main,NOGLOB,"the operation to perform after any command causes an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: note: previous declaration of 'lif_main' was here CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:18:15: warning: redundant redeclaration of 'lopen_main' [-Wredundant-decls] CMDPROTO(host,lopen_main,NOGLOB,"same as `open'") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:17:15: note: previous declaration of 'lopen_main' was here CMDPROTO(open,lopen_main,NOGLOB,"specify the remote host (and optionally port/directory)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:24:15: warning: redundant redeclaration of 'lquit_main' [-Wredundant-decls] CMDPROTO(exit,lquit_main,NOGLOB,"exit with return code of last command, or code given") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:23:15: note: previous declaration of 'lquit_main' was here CMDPROTO(quit,lquit_main,NOGLOB,"quit (what did you expect?)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/llcd.c: In function 'llcd_main': client/local/llcd.c:34:16: warning: assignment to 'char **' from incompatible pointer type 'const char **' [-Wincompatible-pointer-types] if ((files = glob(newldir)) != 0) ^ client/local/llcd.c: At top level: cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' client/util.c: In function 'ffprintf': client/util.c:45:2: warning: function 'ffprintf' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] (void)vfprintf(out, fmt, args); ^ client/util.c: In function 'get_dir_blk': client/util.c:174:26: warning: pointer targets in passing argument 4 of 'client_interact' differ in signedness [-Wpointer-sign] strlen(fpath), fpath+1, ~~~~~^~ In file included from client/util.c:11: include/client.h:68:14: note: expected 'unsigned char *' but argument is of type 'char *' extern UBUF *client_interact(u_int cmd, u_long pos, ^~~~~~~~~~~~~~~ client/util.c:175:9: warning: pointer targets in passing argument 6 of 'client_interact' differ in signedness [-Wpointer-sign] 2, (char *)&client_net_len); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from client/util.c:11: include/client.h:68:14: note: expected 'unsigned char *' but argument is of type 'char *' extern UBUF *client_interact(u_int cmd, u_long pos, ^~~~~~~~~~~~~~~ client/util.c:215:14: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] if (rem < RDHSIZE) ^ client/util.c:258:14: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] if (rem < RDHSIZE) ^ client/util.c:274:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] l = strlen(p2p->name); ~~~^~~~~~ In file included from include/common.h:11, from include/client.h:11, from client/util.c:11: /usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^~~~~~ client/util.c:281:26: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] (void)strcpy(dp[cnt]->name, p2p->name); ~~~~~~~^~~~~~ In file included from include/common.h:11, from include/client.h:11, from client/util.c:11: /usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ client/util.c:281:37: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] (void)strcpy(dp[cnt]->name, p2p->name); ~~~^~~~~~ In file included from include/common.h:11, from include/client.h:11, from client/util.c:11: /usr/include/string.h:95:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ client/util.c: In function 'util_download_main': client/util.c:327:16: warning: comparison of integer expressions of different signedness: 'u_long' {aka 'long unsigned int'} and 'off_t' {aka 'long int'} [-Wsign-compare] if (offset > rfstat.st_size || length <= 0) ^ client/util.c:338:60: warning: pointer targets in passing argument 4 of 'client_interact' differ in signedness [-Wpointer-sign] ub = client_interact(cmd, pos, strlen(fpath), fpath+1, ~~~~~^~ In file included from client/util.c:11: include/client.h:68:14: note: expected 'unsigned char *' but argument is of type 'char *' extern UBUF *client_interact(u_int cmd, u_long pos, ^~~~~~~~~~~~~~~ client/util.c:339:12: warning: pointer targets in passing argument 6 of 'client_interact' differ in signedness [-Wpointer-sign] 2, (char *)&client_net_len); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from client/util.c:11: include/client.h:68:14: note: expected 'unsigned char *' but argument is of type 'char *' extern UBUF *client_interact(u_int cmd, u_long pos, ^~~~~~~~~~~~~~~ client/util.c: In function 'util_grab_file': client/util.c:433:64: warning: pointer targets in passing argument 4 of 'client_interact' differ in signedness [-Wpointer-sign] ub = client_interact(CC_GRAB_DONE, 0L, strlen(fpath), fpath+1, 0, NULLP); ~~~~~^~ In file included from client/util.c:11: include/client.h:68:14: note: expected 'unsigned char *' but argument is of type 'char *' extern UBUF *client_interact(u_int cmd, u_long pos, ^~~~~~~~~~~~~~~ client/util.c: In function 'util_upload': client/util.c:494:49: warning: pointer targets in passing argument 4 of 'client_interact' differ in signedness [-Wpointer-sign] ub = client_interact(CC_UP_LOAD,pos, bytes,buf, 0,NULLP); ^~~ In file included from client/util.c:11: include/client.h:68:14: note: expected 'unsigned char *' but argument is of type 'char *' extern UBUF *client_interact(u_int cmd, u_long pos, ^~~~~~~~~~~~~~~ client/util.c:516:63: warning: pointer targets in passing argument 4 of 'client_interact' differ in signedness [-Wpointer-sign] ub = client_interact(CC_INSTALL,4,strlen(fpath),fpath+1,4,&lastmod); ~~~~~^~ In file included from client/util.c:11: include/client.h:68:14: note: expected 'unsigned char *' but argument is of type 'char *' extern UBUF *client_interact(u_int cmd, u_long pos, ^~~~~~~~~~~~~~~ client/util.c:516:68: warning: passing argument 6 of 'client_interact' from incompatible pointer type [-Wincompatible-pointer-types] ub = client_interact(CC_INSTALL,4,strlen(fpath),fpath+1,4,&lastmod); ^~~~~~~~ In file included from client/util.c:11: include/client.h:68:14: note: expected 'unsigned char *' but argument is of type 'uint32_t *' {aka 'unsigned int *'} extern UBUF *client_interact(u_int cmd, u_long pos, ^~~~~~~~~~~~~~~ client/util.c:520:63: warning: pointer targets in passing argument 4 of 'client_interact' differ in signedness [-Wpointer-sign] ub = client_interact(CC_INSTALL,0,strlen(fpath),fpath+1,0,NULLP); ~~~~~^~ In file included from client/util.c:11: include/client.h:68:14: note: expected 'unsigned char *' but argument is of type 'char *' extern UBUF *client_interact(u_int cmd, u_long pos, ^~~~~~~~~~~~~~~ client/util.c:527:42: warning: passing argument 4 of 'client_interact' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ub = client_interact(CC_INSTALL,0,1,"",0,NULLP); ^~ In file included from client/util.c:11: include/client.h:68:14: note: expected 'unsigned char *' but argument is of type 'const char *' extern UBUF *client_interact(u_int cmd, u_long pos, ^~~~~~~~~~~~~~~ client/util.c: In function 'util_flushdir': client/util.c:738:24: warning: trigraph ??( ignored, use -trigraphs to enable [-Wtrigraphs] ffprintf(STDDBG, "??(dir = %s; ref_cnt = %d)\n", client/util.c: In function 'util_dirtydir': client/util.c:778:27: warning: trigraph ??( ignored, use -trigraphs to enable [-Wtrigraphs] ffprintf(STDDBG, "??(dir = %s; ref_cnt = %d)\n", client/util.c: In function 'util_readdir': client/util.c:889:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] rde.rd_namlen = strlen((*dep)->name); ~~~~~~^~~~~~ In file included from include/common.h:11, from include/client.h:11, from client/util.c:11: /usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^~~~~~ client/util.c:890:19: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] rde.rd_name = (*dep)->name; ^ client/util.c: In function 'util_split_path': client/util.c:902:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] *p1 = "/"; ^ client/util.c:925:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] *p3 = "."; ^ client/util.c: In function 'util_stat': client/util.c:946:8: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] pfile = "."; ^ client/util.c:977:24: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp((*dep)->name, pfile)) ~~~~~~^~~~~~ In file included from include/common.h:11, from include/client.h:11, from client/util.c:11: /usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^~~~~~ client/util.c: In function 'util_cache_protection': client/util.c:1136:63: warning: pointer targets in passing argument 4 of 'client_interact' differ in signedness [-Wpointer-sign] ub = client_interact(CC_GET_PRO, 0L, strlen(fpath), fpath + 1, 0, NULLP); ~~~~~~^~~ In file included from client/util.c:11: include/client.h:68:14: note: expected 'unsigned char *' but argument is of type 'char *' extern UBUF *client_interact(u_int cmd, u_long pos, ^~~~~~~~~~~~~~~ client/util.c:1174:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] prop->bmap = (char *)malloc(prop->bmaplen); ^ client/util.c:1175:16: warning: comparison of integer expressions of different signedness: 'int' and 'u_int' {aka 'unsigned int'} [-Wsign-compare] for (i = 0; i < prop->bmaplen; i++) ^ client/util.c: In function 'util_process_arglist': client/util.c:1345:25: warning: assignment to 'char **' from incompatible pointer type 'const char **' [-Wincompatible-pointer-types] if (!(globdata = files = glob(*argv))) ^ client/util.c: In function 'util_print_protection': client/util.c:1415:31: warning: passing argument 3 of 'util_pro' from incompatible pointer type [-Wincompatible-pointer-types] if (util_pro(name, &text, &bmap, &bmaplen, &readme, &readmecntp) < 0) ^~~~~ client/util.c:1192:26: note: expected 'unsigned char **' but argument is of type 'char **' unsigned char **bmapp, u_int *bmaplenp, ~~~~~~~~~~~~~~~~^~~~~ client/util.c:1426:61: warning: comparison of integer expressions of different signedness: 'u_int' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (readme && *readme && (readme_max < 0 || *readmecntp < readme_max)) ^ client/util.c: In function 'util_get_version': client/util.c:1508:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] verbmap = (char *)malloc(verbmaplen); ^ client/util.c:1511:23: warning: comparison of integer expressions of different signedness: 'int' and 'u_int' {aka 'unsigned int'} [-Wsign-compare] for (i -= ub->len; i < verbmaplen; i++) ^ client/util.c: In function 'my_fgets': client/util.c:64:18: warning: variable 'oldintr' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] RETSIGTYPE (*oldintr)(int); ^~~~~~~ client/util.c:65:9: warning: variable 'resetintr' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] int resetintr = 0; ^~~~~~~~~ client/util.c: At top level: cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' cc -o client/remote/rget.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/remote/rget.c cc -o client/main.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/main.c In file included from client/local/lreadme.c:14: client/local/table.h:9:16: warning: redundant redeclaration of 'lecho_main' [-Wredundant-decls] CMDPROTO(echon,lecho_main,NOGLOB,"echo a string without newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:8:15: note: previous declaration of 'lecho_main' was here CMDPROTO(echo,lecho_main,NOGLOB,"echo a string with newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:11:18: note: previous declaration of 'lif_main' was here CMDPROTO(iferror,lif_main,NOGLOB,"perform an operation if the last command had an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:13:18: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(onerror,lif_main,NOGLOB,"the operation to perform after any command causes an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: note: previous declaration of 'lif_main' was here CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:18:15: warning: redundant redeclaration of 'lopen_main' [-Wredundant-decls] CMDPROTO(host,lopen_main,NOGLOB,"same as `open'") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:17:15: note: previous declaration of 'lopen_main' was here CMDPROTO(open,lopen_main,NOGLOB,"specify the remote host (and optionally port/directory)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:24:15: warning: redundant redeclaration of 'lquit_main' [-Wredundant-decls] CMDPROTO(exit,lquit_main,NOGLOB,"exit with return code of last command, or code given") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:23:15: note: previous declaration of 'lquit_main' was here CMDPROTO(quit,lquit_main,NOGLOB,"quit (what did you expect?)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' cc -o client/remote/rver.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/remote/rver.c In file included from client/local/ltimeout.c:12: client/local/table.h:9:16: warning: redundant redeclaration of 'lecho_main' [-Wredundant-decls] CMDPROTO(echon,lecho_main,NOGLOB,"echo a string without newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:8:15: note: previous declaration of 'lecho_main' was here CMDPROTO(echo,lecho_main,NOGLOB,"echo a string with newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:11:18: note: previous declaration of 'lif_main' was here CMDPROTO(iferror,lif_main,NOGLOB,"perform an operation if the last command had an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:13:18: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(onerror,lif_main,NOGLOB,"the operation to perform after any command causes an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: note: previous declaration of 'lif_main' was here CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:18:15: warning: redundant redeclaration of 'lopen_main' [-Wredundant-decls] CMDPROTO(host,lopen_main,NOGLOB,"same as `open'") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:17:15: note: previous declaration of 'lopen_main' was here CMDPROTO(open,lopen_main,NOGLOB,"specify the remote host (and optionally port/directory)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:24:15: warning: redundant redeclaration of 'lquit_main' [-Wredundant-decls] CMDPROTO(exit,lquit_main,NOGLOB,"exit with return code of last command, or code given") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:23:15: note: previous declaration of 'lquit_main' was here CMDPROTO(quit,lquit_main,NOGLOB,"quit (what did you expect?)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' In file included from client/local/lmaxdelay.c:13: client/local/table.h:9:16: warning: redundant redeclaration of 'lecho_main' [-Wredundant-decls] CMDPROTO(echon,lecho_main,NOGLOB,"echo a string without newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:8:15: note: previous declaration of 'lecho_main' was here CMDPROTO(echo,lecho_main,NOGLOB,"echo a string with newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:11:18: note: previous declaration of 'lif_main' was here CMDPROTO(iferror,lif_main,NOGLOB,"perform an operation if the last command had an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:13:18: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(onerror,lif_main,NOGLOB,"the operation to perform after any command causes an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: note: previous declaration of 'lif_main' was here CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:18:15: warning: redundant redeclaration of 'lopen_main' [-Wredundant-decls] CMDPROTO(host,lopen_main,NOGLOB,"same as `open'") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:17:15: note: previous declaration of 'lopen_main' was here CMDPROTO(open,lopen_main,NOGLOB,"specify the remote host (and optionally port/directory)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:24:15: warning: redundant redeclaration of 'lquit_main' [-Wredundant-decls] CMDPROTO(exit,lquit_main,NOGLOB,"exit with return code of last command, or code given") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:23:15: note: previous declaration of 'lquit_main' was here CMDPROTO(quit,lquit_main,NOGLOB,"quit (what did you expect?)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); cc -o client/remote/rrm.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/remote/rrm.c ^~~ cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' cc -o client/remote/rmkdir.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/remote/rmkdir.c client/remote/rpro.c: In function 'set_pro': client/remote/rpro.c:28:70: warning: pointer targets in passing argument 4 of 'client_interact' differ in signedness [-Wpointer-sign] ub = client_interact(CC_SET_PRO, strlen(acl), strlen(path), path + 1, ~~~~~^~~ In file included from client/remote/rpro.c:15: include/client.h:68:14: note: expected 'unsigned char *' but argument is of type 'char *' extern UBUF *client_interact(u_int cmd, u_long pos, ^~~~~~~~~~~~~~~ client/remote/rpro.c:29:18: warning: pointer targets in passing argument 6 of 'client_interact' differ in signedness [-Wpointer-sign] strlen(acl), acl); ^~~ In file included from client/remote/rpro.c:15: include/client.h:68:14: note: expected 'unsigned char *' but argument is of type 'char *' extern UBUF *client_interact(u_int cmd, u_long pos, ^~~~~~~~~~~~~~~ client/remote/rpro.c: In function 'rpro_main': client/remote/rpro.c:77:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] here[0] = env_dir ? env_dir : "."; ^ client/remote/rpro.c:84:36: warning: passing argument 1 of 'util_process_arglist' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] retval = -util_process_arglist(argv, do_pro); ^~~~ In file included from client/remote/rpro.c:15: include/client.h:132:40: note: expected 'char **' but argument is of type 'char * const*' extern int util_process_arglist(char **argv, int (*procfn)(char *name)); ~~~~~~~^~~~ client/remote/rpro.c: At top level: cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' ranlib common/libcommon.a cc -o client/remote/rdu.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/remote/rdu.c client/remote/rgrab.c: In function 'rgrab_main': client/remote/rgrab.c:74:38: warning: passing argument 1 of 'util_process_arglist' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] retval = -util_process_arglist(argv + 1, do_grab_file); ~~~~~^~~ In file included from client/remote/rgrab.c:15: include/client.h:132:40: note: expected 'char **' but argument is of type 'char * const*' extern int util_process_arglist(char **argv, int (*procfn)(char *name)); ~~~~~~~^~~~ client/remote/rgrab.c:105:16: warning: passing argument 1 of 'util_dirtydir' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] util_dirtydir("."); ^~~ In file included from client/remote/rgrab.c:15: include/client.h:115:33: note: expected 'char *' but argument is of type 'const char *' extern void util_dirtydir(char *path); ~~~~~~^~~~ client/remote/rgrab.c: At top level: cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' client/remote/rcd.c: In function 'rcd_main': client/remote/rcd.c:36:32: warning: assignment to 'char **' from incompatible pointer type 'const char **' [-Wincompatible-pointer-types] if (!(globdata = files = glob(argv[1]))) ^ client/remote/rcd.c: At top level: cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' cc -o client/remote/rtouch.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/remote/rtouch.c cc -o client/remote/rput.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/remote/rput.c client/remote/rtar.c: In function 'addtar_chksum': client/remote/rtar.c:58:35: warning: field width specifier '*' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] (void)sprintf(&tarhdr.h.F[0], "%0*o ", sizeof(tarhdr.h.F) - 2, (V)) ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ client/remote/rtar.c:72:5: note: in expansion of macro 'sprintf_fieldn' sprintf_fieldn(chksum, chksum); ^~~~~~~~~~~~~~ client/remote/rtar.c:58:35: warning: format '%o' expects argument of type 'unsigned int', but argument 4 has type 'u_long' {aka 'long unsigned int'} [-Wformat=] (void)sprintf(&tarhdr.h.F[0], "%0*o ", sizeof(tarhdr.h.F) - 2, (V)) ^~~~~~~ ~~~ client/remote/rtar.c:72:5: note: in expansion of macro 'sprintf_fieldn' sprintf_fieldn(chksum, chksum); ^~~~~~~~~~~~~~ client/remote/rtar.c: In function 'tar_file': client/remote/rtar.c:58:35: warning: field width specifier '*' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] (void)sprintf(&tarhdr.h.F[0], "%0*o ", sizeof(tarhdr.h.F) - 2, (V)) ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ client/remote/rtar.c:88:5: note: in expansion of macro 'sprintf_fieldn' sprintf_fieldn(mode, sbufp->st_mode); ^~~~~~~~~~~~~~ client/remote/rtar.c:58:35: warning: field width specifier '*' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] (void)sprintf(&tarhdr.h.F[0], "%0*o ", sizeof(tarhdr.h.F) - 2, (V)) ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ client/remote/rtar.c:89:5: note: in expansion of macro 'sprintf_fieldn' sprintf_fieldn(uid, (u_short)(-2)); /* nobody */ ^~~~~~~~~~~~~~ client/remote/rtar.c:58:35: warning: field width specifier '*' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] (void)sprintf(&tarhdr.h.F[0], "%0*o ", sizeof(tarhdr.h.F) - 2, (V)) ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ client/remote/rtar.c:90:5: note: in expansion of macro 'sprintf_fieldn' sprintf_fieldn(gid, (u_short)(-2)); /* nogroup */ ^~~~~~~~~~~~~~ client/remote/rtar.c:56:35: warning: field width specifier '*' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] (void)sprintf(&tarhdr.h.F[0], "%0*o ", sizeof(tarhdr.h.F) - 1, (V)) ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ client/remote/rtar.c:92:5: note: in expansion of macro 'sprintf_field' sprintf_field(size, sbufp->st_size); ^~~~~~~~~~~~~ client/remote/rtar.c:56:35: warning: format '%o' expects argument of type 'unsigned int', but argument 4 has type 'off_t' {aka 'long int'} [-Wformat=] (void)sprintf(&tarhdr.h.F[0], "%0*o ", sizeof(tarhdr.h.F) - 1, (V)) ^~~~~~~ ~~~ client/remote/rtar.c:92:5: note: in expansion of macro 'sprintf_field' sprintf_field(size, sbufp->st_size); ^~~~~~~~~~~~~ client/remote/rtar.c:56:35: warning: field width specifier '*' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] (void)sprintf(&tarhdr.h.F[0], "%0*o ", sizeof(tarhdr.h.F) - 1, (V)) ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ client/remote/rtar.c:93:5: note: in expansion of macro 'sprintf_field' sprintf_field(mtime, sbufp->st_mtime); ^~~~~~~~~~~~~ client/remote/rtar.c:56:35: warning: format '%o' expects argument of type 'unsigned int', but argument 4 has type 'time_t' {aka 'long int'} [-Wformat=] (void)sprintf(&tarhdr.h.F[0], "%0*o ", sizeof(tarhdr.h.F) - 1, (V)) ^~~~~~~ ~~~ client/remote/rtar.c:93:5: note: in expansion of macro 'sprintf_field' sprintf_field(mtime, sbufp->st_mtime); ^~~~~~~~~~~~~ client/remote/rtar.c:78:11: warning: variable 'path' set but not used [-Wunused-but-set-variable] char *path, *remname; ^~~~ client/remote/rtar.c: In function 'rtar_main': client/remote/rtar.c:230:50: warning: passing argument 1 of 'util_process_arglist' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] retval = -util_process_arglist(argv + optind + 1, do_tar); ~~~~~~~~~~~~~~^~~ In file included from client/remote/rtar.c:12: include/client.h:132:40: note: expected 'char **' but argument is of type 'char * const*' extern int util_process_arglist(char **argv, int (*procfn)(char *name)); ~~~~~~~^~~~ client/remote/rtar.c: At top level: cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' cc -o client/remote/rcat.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/remote/rcat.c client/remote/rmv.c: In function 'do_mv': client/remote/rmv.c:55:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(buf,op); ^~~ In file included from include/common.h:11, from include/client.h:11, from client/remote/rmv.c:16: /usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ client/remote/rmv.c:56:26: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(buf+strlen(op)+1,op2); ~~~~~~~~~~~~~~^~ In file included from include/common.h:11, from include/client.h:11, from client/remote/rmv.c:16: /usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ client/remote/rmv.c: In function 'rmv_main': client/remote/rmv.c:93:16: warning: passing argument 1 of 'util_dirtydir' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] util_dirtydir("."); ^~~ In file included from client/remote/rmv.c:16: include/client.h:115:33: note: expected 'char *' but argument is of type 'const char *' extern void util_dirtydir(char *path); ~~~~~~^~~~ client/remote/rmv.c: At top level: cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' cc -o client/remote/rls.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/remote/rls.c client/remote/rrmdir.c: In function 'do_rmdir': client/remote/rrmdir.c:44:57: warning: pointer targets in passing argument 4 of 'client_interact' differ in signedness [-Wpointer-sign] ub = client_interact(CC_DEL_DIR, 0L, strlen(op), op + 1, 0, NULLP); ~~~^~~ In file included from client/remote/rrmdir.c:15: include/client.h:68:14: note: expected 'unsigned char *' but argument is of type 'char *' extern UBUF *client_interact(u_int cmd, u_long pos, ^~~~~~~~~~~~~~~ client/remote/rrmdir.c: In function 'rrmdir_main': client/remote/rrmdir.c:69:41: warning: passing argument 1 of 'util_process_arglist' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] retval = -util_process_arglist(argv + 1, do_rmdir); ~~~~~^~~ In file included from client/remote/rrmdir.c:15: include/client.h:132:40: note: expected 'char **' but argument is of type 'char * const*' extern int util_process_arglist(char **argv, int (*procfn)(char *name)); ~~~~~~~^~~~ client/remote/rrmdir.c:72:16: warning: passing argument 1 of 'util_dirtydir' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] util_dirtydir("."); ^~~ In file included from client/remote/rrmdir.c:15: include/client.h:115:33: note: expected 'char *' but argument is of type 'const char *' extern void util_dirtydir(char *path); ~~~~~~^~~~ client/remote/rrmdir.c: At top level: cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' cc -o client/local/ldatestamp.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/local/ldatestamp.c client/remote/rget.c: In function 'rget_main': client/remote/rget.c:304:38: warning: passing argument 1 of 'util_process_arglist' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] retval = -util_process_arglist(argv + optind, do_get); ~~~~~^~~~~~~~ In file included from client/remote/rget.c:15: include/client.h:132:40: note: expected 'char **' but argument is of type 'char * const*' extern int util_process_arglist(char **argv, int (*procfn)(char *name)); ~~~~~~~^~~~ client/remote/rget.c: In function 'get_file': client/remote/rget.c:103:15: warning: 'openname' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((fd = open(openname, mode, 0644)) < 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~ client/remote/rget.c: At top level: cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' cc -o client/local/lmacro.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/local/lmacro.c client/remote/rdir.c: In function 'rdir_main': client/remote/rdir.c:34:23: warning: passing argument 2 of 'rls_main' from incompatible pointer type [-Wincompatible-pointer-types] i=rls_main(argc+1,newargv,envp); ^~~~~~~ In file included from client/remote/rdir.c:14: include/client.h:200:75: note: expected 'char * const*' but argument is of type 'const char **' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ~~~~~~~~~~~~~^~~~~~ client/remote/table.h:8:1: note: in expansion of macro 'CMDPROTO' CMDPROTO(ls,rls_main,REMOTEGLOB,"list the contents of the remote directory") ^~~~~~~~ client/remote/rdir.c: At top level: cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' cc -o client/local/lquit.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/local/lquit.c cc -o client/local/lclose.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/local/lclose.c client/remote/rrm.c: In function 'do_rm': client/remote/rrm.c:44:57: warning: pointer targets in passing argument 4 of 'client_interact' differ in signedness [-Wpointer-sign] ub = client_interact(CC_DEL_FILE, 0L, strlen(op), op+1, 0, NULLP); ~~^~ In file included from client/remote/rrm.c:15: include/client.h:68:14: note: expected 'unsigned char *' but argument is of type 'char *' extern UBUF *client_interact(u_int cmd, u_long pos, ^~~~~~~~~~~~~~~ client/remote/rrm.c: In function 'rrm_main': client/remote/rrm.c:69:41: warning: passing argument 1 of 'util_process_arglist' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] retval = -util_process_arglist(argv + 1, do_rm); ~~~~~^~~ In file included from client/remote/rrm.c:15: include/client.h:132:40: note: expected 'char **' but argument is of type 'char * const*' extern int util_process_arglist(char **argv, int (*procfn)(char *name)); ~~~~~~~^~~~ client/remote/rrm.c:72:16: warning: passing argument 1 of 'util_dirtydir' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] util_dirtydir("."); ^~~ In file included from client/remote/rrm.c:15: include/client.h:115:33: note: expected 'char *' but argument is of type 'const char *' extern void util_dirtydir(char *path); ~~~~~~^~~~ client/remote/rrm.c: At top level: cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' cc -o client/local/lport.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/local/lport.c cc -o client/local/lpwd.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/local/lpwd.c In file included from client/main.c:7: client/local/table.h:9:16: warning: redundant redeclaration of 'lecho_main' [-Wredundant-decls] CMDPROTO(echon,lecho_main,NOGLOB,"echo a string without newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:8:15: note: previous declaration of 'lecho_main' was here CMDPROTO(echo,lecho_main,NOGLOB,"echo a string with newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:11:18: note: previous declaration of 'lif_main' was here CMDPROTO(iferror,lif_main,NOGLOB,"perform an operation if the last command had an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:13:18: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(onerror,lif_main,NOGLOB,"the operation to perform after any command causes an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: note: previous declaration of 'lif_main' was here CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:18:15: warning: redundant redeclaration of 'lopen_main' [-Wredundant-decls] CMDPROTO(host,lopen_main,NOGLOB,"same as `open'") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:17:15: note: previous declaration of 'lopen_main' was here CMDPROTO(open,lopen_main,NOGLOB,"specify the remote host (and optionally port/directory)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:24:15: warning: redundant redeclaration of 'lquit_main' [-Wredundant-decls] CMDPROTO(exit,lquit_main,NOGLOB,"exit with return code of last command, or code given") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:23:15: note: previous declaration of 'lquit_main' was here CMDPROTO(quit,lquit_main,NOGLOB,"quit (what did you expect?)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/remote/table.h:2:69: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(cat,rcat_main,REMOTEGLOB,"cat the contents of remote files") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:2:14: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(cat,rcat_main,REMOTEGLOB,"cat the contents of remote files") ^~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:2:14: note: (near initialization for 'dispatch_table[0].fun') CMDPROTO(cat,rcat_main,REMOTEGLOB,"cat the contents of remote files") ^~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:2:35: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(cat,rcat_main,REMOTEGLOB,"cat the contents of remote files") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/remote/table.h:3:62: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(cd,rcd_main,REMOTEGLOB,"change the remote directory") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:3:13: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(cd,rcd_main,REMOTEGLOB,"change the remote directory") ^~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:3:13: note: (near initialization for 'dispatch_table[1].fun') CMDPROTO(cd,rcd_main,REMOTEGLOB,"change the remote directory") ^~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:3:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(cd,rcd_main,REMOTEGLOB,"change the remote directory") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/remote/table.h:4:70: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(dir,rdir_main,REMOTEGLOB,"long list of the remote directory") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:4:14: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(dir,rdir_main,REMOTEGLOB,"long list of the remote directory") ^~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:4:14: note: (near initialization for 'dispatch_table[2].fun') CMDPROTO(dir,rdir_main,REMOTEGLOB,"long list of the remote directory") ^~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:4:35: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(dir,rdir_main,REMOTEGLOB,"long list of the remote directory") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/remote/table.h:5:66: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(du,rdu_main,REMOTEGLOB,"calculate the remote disk usage") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:5:13: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(du,rdu_main,REMOTEGLOB,"calculate the remote disk usage") ^~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:5:13: note: (near initialization for 'dispatch_table[3].fun') CMDPROTO(du,rdu_main,REMOTEGLOB,"calculate the remote disk usage") ^~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:5:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(du,rdu_main,REMOTEGLOB,"calculate the remote disk usage") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/remote/table.h:6:74: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(get,rget_main,REMOTEGLOB,"download files from the remote system") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:6:14: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(get,rget_main,REMOTEGLOB,"download files from the remote system") ^~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:6:14: note: (near initialization for 'dispatch_table[4].fun') CMDPROTO(get,rget_main,REMOTEGLOB,"download files from the remote system") ^~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:6:35: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(get,rget_main,REMOTEGLOB,"download files from the remote system") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/remote/table.h:7:87: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(grab,rgrab_main,REMOTEGLOB,"download and delete files from the remote system") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:7:15: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(grab,rgrab_main,REMOTEGLOB,"download and delete files from the remote system") ^~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:7:15: note: (near initialization for 'dispatch_table[5].fun') CMDPROTO(grab,rgrab_main,REMOTEGLOB,"download and delete files from the remote system") ^~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:7:37: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(grab,rgrab_main,REMOTEGLOB,"download and delete files from the remote system") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/remote/table.h:8:76: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(ls,rls_main,REMOTEGLOB,"list the contents of the remote directory") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:8:13: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(ls,rls_main,REMOTEGLOB,"list the contents of the remote directory") ^~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:8:13: note: (near initialization for 'dispatch_table[6].fun') CMDPROTO(ls,rls_main,REMOTEGLOB,"list the contents of the remote directory") ^~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:8:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(ls,rls_main,REMOTEGLOB,"list the contents of the remote directory") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/remote/table.h:9:74: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(mkdir,rmkdir_main,NOGLOB,"make a directory on the remote system") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:9:16: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(mkdir,rmkdir_main,NOGLOB,"make a directory on the remote system") ^~~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:9:16: note: (near initialization for 'dispatch_table[7].fun') CMDPROTO(mkdir,rmkdir_main,NOGLOB,"make a directory on the remote system") ^~~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:9:35: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(mkdir,rmkdir_main,NOGLOB,"make a directory on the remote system") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/remote/table.h:10:64: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(mv,rmv_main,NOGLOB,"rename files on the remote system") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:10:13: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(mv,rmv_main,NOGLOB,"rename files on the remote system") ^~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:10:13: note: (near initialization for 'dispatch_table[8].fun') CMDPROTO(mv,rmv_main,NOGLOB,"rename files on the remote system") ^~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:10:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(mv,rmv_main,NOGLOB,"rename files on the remote system") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/remote/table.h:11:81: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(pro,rpro_main,REMOTEGLOB,"change the permissions on a remote directory") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:11:14: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(pro,rpro_main,REMOTEGLOB,"change the permissions on a remote directory") ^~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:11:14: note: (near initialization for 'dispatch_table[9].fun') CMDPROTO(pro,rpro_main,REMOTEGLOB,"change the permissions on a remote directory") ^~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:11:35: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(pro,rpro_main,REMOTEGLOB,"change the permissions on a remote directory") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/remote/table.h:12:69: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(put,rput_main,LOCALGLOB,"upload files to the remote system") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:12:14: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(put,rput_main,LOCALGLOB,"upload files to the remote system") ^~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:12:14: note: (near initialization for 'dispatch_table[10].fun') CMDPROTO(put,rput_main,LOCALGLOB,"upload files to the remote system") ^~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:12:34: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(put,rput_main,LOCALGLOB,"upload files to the remote system") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/remote/table.h:13:70: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(rm,rrm_main,REMOTEGLOB,"remove files from the remote system") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:13:13: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(rm,rrm_main,REMOTEGLOB,"remove files from the remote system") ^~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:13:13: note: (near initialization for 'dispatch_table[11].fun') CMDPROTO(rm,rrm_main,REMOTEGLOB,"remove files from the remote system") ^~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:13:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(rm,rrm_main,REMOTEGLOB,"remove files from the remote system") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/remote/table.h:14:82: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(rmdir,rrmdir_main,REMOTEGLOB,"remove directories from the remote system") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:14:16: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(rmdir,rrmdir_main,REMOTEGLOB,"remove directories from the remote system") ^~~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:14:16: note: (near initialization for 'dispatch_table[12].fun') CMDPROTO(rmdir,rrmdir_main,REMOTEGLOB,"remove directories from the remote system") ^~~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:14:39: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(rmdir,rrmdir_main,REMOTEGLOB,"remove directories from the remote system") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/remote/table.h:15:88: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(tar,rtar_main,REMOTEGLOB,"collect together remote files into a local tar file") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { client/remote/rmkdir.c: In function 'do_make_dir': client/remote/rmkdir.c:31:62: warning: pointer targets in passing argument 4 of 'client_interact' differ in signedness [-Wpointer-sign] ub = client_interact(CC_MAKE_DIR, 0L, strlen(path), path + 1, 0, NULLP); ~~~~~^~~ In file included from client/remote/rmkdir.c:15: include/client.h:68:14: note: expected 'unsigned char *' but argument is of type 'char *' extern UBUF *client_interact(u_int cmd, u_long pos, ^~~~~~~~~~~~~~~ client/remote/rmkdir.c: In function 'rmkdir_main': client/remote/rmkdir.c:61:16: warning: passing argument 1 of 'util_dirtydir' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] util_dirtydir("."); ^~~ In file included from client/remote/rmkdir.c:15: include/client.h:115:33: note: expected 'char *' but argument is of type 'const char *' extern void util_dirtydir(char *path); ~~~~~~^~~~ client/remote/rmkdir.c: At top level: cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:15:14: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(tar,rtar_main,REMOTEGLOB,"collect together remote files into a local tar file") ^~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:15:14: note: (near initialization for 'dispatch_table[13].fun') CMDPROTO(tar,rtar_main,REMOTEGLOB,"collect together remote files into a local tar file") ^~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:15:35: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(tar,rtar_main,REMOTEGLOB,"collect together remote files into a local tar file") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/remote/table.h:16:91: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(touch,rtouch_main,LOCALGLOB,"cause zero length files to be created on the server") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:16:16: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(touch,rtouch_main,LOCALGLOB,"cause zero length files to be created on the server") ^~~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:16:16: note: (near initialization for 'dispatch_table[14].fun') CMDPROTO(touch,rtouch_main,LOCALGLOB,"cause zero length files to be created on the server") ^~~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:16:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(touch,rtouch_main,LOCALGLOB,"cause zero length files to be created on the server") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/remote/table.h:17:69: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(ver,rver_main,NOGLOB,"get the version of the remote system") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:17:14: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(ver,rver_main,NOGLOB,"get the version of the remote system") ^~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:17:14: note: (near initialization for 'dispatch_table[15].fun') CMDPROTO(ver,rver_main,NOGLOB,"get the version of the remote system") ^~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/remote/table.h:17:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(ver,rver_main,NOGLOB,"get the version of the remote system") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/local/table.h:2:82: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(buffer,lbuffer_main,NOGLOB,"set the size of the data packets (max 1024)") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:2:17: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(buffer,lbuffer_main,NOGLOB,"set the size of the data packets (max 1024)") ^~~~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:2:17: note: (near initialization for 'dispatch_table[16].fun') CMDPROTO(buffer,lbuffer_main,NOGLOB,"set the size of the data packets (max 1024)") ^~~~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:2:37: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(buffer,lbuffer_main,NOGLOB,"set the size of the data packets (max 1024)") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/local/table.h:3:73: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(burst,lburst_main,NOGLOB,"set the number of quick retries made") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:3:16: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(burst,lburst_main,NOGLOB,"set the number of quick retries made") ^~~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:3:16: note: (near initialization for 'dispatch_table[17].fun') CMDPROTO(burst,lburst_main,NOGLOB,"set the number of quick retries made") ^~~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:3:35: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(burst,lburst_main,NOGLOB,"set the number of quick retries made") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/local/table.h:4:75: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(close,lclose_main,NOGLOB,"disconnect client from the remote site") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:4:16: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(close,lclose_main,NOGLOB,"disconnect client from the remote site") ^~~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:4:16: note: (near initialization for 'dispatch_table[18].fun') CMDPROTO(close,lclose_main,NOGLOB,"disconnect client from the remote site") ^~~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:4:35: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(close,lclose_main,NOGLOB,"disconnect client from the remote site") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/local/table.h:5:96: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(datestamp,ldatestamp_main,NOGLOB,"set whether date stamps are set on downloaded files") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:5:20: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(datestamp,ldatestamp_main,NOGLOB,"set whether date stamps are set on downloaded files") ^~~~~~~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:5:20: note: (near initialization for 'dispatch_table[19].fun') CMDPROTO(datestamp,ldatestamp_main,NOGLOB,"set whether date stamps are set on downloaded files") ^~~~~~~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:5:43: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(datestamp,ldatestamp_main,NOGLOB,"set whether date stamps are set on downloaded files") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/local/table.h:6:70: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(debug,ldebug_main,NOGLOB,"set or query debugging info level") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:6:16: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(debug,ldebug_main,NOGLOB,"set or query debugging info level") ^~~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:6:16: note: (near initialization for 'dispatch_table[20].fun') CMDPROTO(debug,ldebug_main,NOGLOB,"set or query debugging info level") ^~~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:6:35: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(debug,ldebug_main,NOGLOB,"set or query debugging info level") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/local/table.h:7:83: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(delay,ldelay_main,NOGLOB,"set the minimum retry period (in milliseconds)") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:7:16: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(delay,ldelay_main,NOGLOB,"set the minimum retry period (in milliseconds)") ^~~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:7:16: note: (near initialization for 'dispatch_table[21].fun') CMDPROTO(delay,ldelay_main,NOGLOB,"set the minimum retry period (in milliseconds)") ^~~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:7:35: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(delay,ldelay_main,NOGLOB,"set the minimum retry period (in milliseconds)") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/local/table.h:8:61: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(echo,lecho_main,NOGLOB,"echo a string with newline") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:8:15: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(echo,lecho_main,NOGLOB,"echo a string with newline") ^~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:8:15: note: (near initialization for 'dispatch_table[22].fun') CMDPROTO(echo,lecho_main,NOGLOB,"echo a string with newline") ^~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:8:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(echo,lecho_main,NOGLOB,"echo a string with newline") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/local/table.h:9:65: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(echon,lecho_main,NOGLOB,"echo a string without newline") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:9:16: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(echon,lecho_main,NOGLOB,"echo a string without newline") ^~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:9:16: note: (near initialization for 'dispatch_table[23].fun') CMDPROTO(echon,lecho_main,NOGLOB,"echo a string without newline") ^~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:9:34: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(echon,lecho_main,NOGLOB,"echo a string without newline") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/local/table.h:10:70: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(flush,lflush_main,NOGLOB,"discard cached directory listings") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:10:16: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(flush,lflush_main,NOGLOB,"discard cached directory listings") ^~~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:10:16: note: (near initialization for 'dispatch_table[24].fun') CMDPROTO(flush,lflush_main,NOGLOB,"discard cached directory listings") ^~~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:10:35: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(flush,lflush_main,NOGLOB,"discard cached directory listings") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/local/table.h:11:89: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(iferror,lif_main,NOGLOB,"perform an operation if the last command had an error") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:11:18: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(iferror,lif_main,NOGLOB,"perform an operation if the last command had an error") ^~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:11:18: note: (near initialization for 'dispatch_table[25].fun') CMDPROTO(iferror,lif_main,NOGLOB,"perform an operation if the last command had an error") ^~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:11:34: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(iferror,lif_main,NOGLOB,"perform an operation if the last command had an error") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/local/table.h:12:86: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:12:15: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:12:15: note: (near initialization for 'dispatch_table[26].fun') CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:12:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/local/table.h:13:94: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(onerror,lif_main,NOGLOB,"the operation to perform after any command causes an error") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:13:18: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(onerror,lif_main,NOGLOB,"the operation to perform after any command causes an error") ^~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:13:18: note: (near initialization for 'dispatch_table[27].fun') CMDPROTO(onerror,lif_main,NOGLOB,"the operation to perform after any command causes an error") ^~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:13:34: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(onerror,lif_main,NOGLOB,"the operation to perform after any command causes an error") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/local/table.h:14:44: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(lcd,llcd_main,LOCALGLOB,"local cd") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:14:14: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(lcd,llcd_main,LOCALGLOB,"local cd") ^~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:14:14: note: (near initialization for 'dispatch_table[28].fun') CMDPROTO(lcd,llcd_main,LOCALGLOB,"local cd") ^~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:14:34: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(lcd,llcd_main,LOCALGLOB,"local cd") ^~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/local/table.h:15:57: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(macro,lmacro_main,NOGLOB,"define a named macro") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:15:16: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(macro,lmacro_main,NOGLOB,"define a named macro") ^~~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:15:16: note: (near initialization for 'dispatch_table[29].fun') CMDPROTO(macro,lmacro_main,NOGLOB,"define a named macro") ^~~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:15:35: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(macro,lmacro_main,NOGLOB,"define a named macro") ^~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/local/table.h:16:89: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMcc -o client/local/lsource.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/local/lsource.c DPROTO(maxdelay,lmaxdelay_main,NOGLOB,"set the maximum retry period (in milliseconds)") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:16:19: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(maxdelay,lmaxdelay_main,NOGLOB,"set the maximum retry period (in milliseconds)") ^~~~~~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:16:19: note: (near initialization for 'dispatch_table[30].fun') CMDPROTO(maxdelay,lmaxdelay_main,NOGLOB,"set the maximum retry period (in milliseconds)") ^~~~~~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:16:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(maxdelay,lmaxdelay_main,NOGLOB,"set the maximum retry period (in milliseconds)") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/local/table.h:17:90: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(open,lopen_main,NOGLOB,"specify the remote host (and optionally port/directory)") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:17:15: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(open,lopen_main,NOGLOB,"specify the remote host (and optionally port/directory)") ^~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:17:15: note: (near initialization for 'dispatch_table[31].fun') CMDPROTO(open,lopen_main,NOGLOB,"specify the remote host (and optionally port/directory)") ^~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:17:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(open,lopen_main,NOGLOB,"specify the remote host (and optionally port/directory)") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/local/table.h:18:49: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(host,lopen_main,NOGLOB,"same as `open'") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:18:15: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(host,lopen_main,NOGLOB,"same as `open'") ^~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:18:15: note: (near initialization for 'dispatch_table[32].fun') CMDPROTO(host,lopen_main,NOGLOB,"same as `open'") ^~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:18:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(host,lopen_main,NOGLOB,"same as `open'") ^~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/local/table.h:19:72: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(pager,lpager_main,NOGLOB,"set the pager for the `cat' command") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:19:16: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(pager,lpager_main,NOGLOB,"set the pager for the `cat' command") ^~~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:19:16: note: (near initialization for 'dispatch_table[33].fun') CMDPROTO(pager,lpager_main,NOGLOB,"set the pager for the `cat' command") ^~~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:19:35: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(pager,lpager_main,NOGLOB,"set the pager for the `cat' command") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/local/table.h:20:79: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(port,lport_main,NOGLOB,"set the connection port to the remote system") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:20:15: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(port,lport_main,NOGLOB,"set the connection port to the remote system") ^~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:20:15: note: (near initialization for 'dispatch_table[34].fun') CMDPROTO(port,lport_main,NOGLOB,"set the connection port to the remote system") ^~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:20:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(port,lport_main,NOGLOB,"set the connection port to the remote system") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/local/table.h:21:63: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(prompt,lprompt_main,NOGLOB,"turn prompting on or off") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:21:17: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(prompt,lprompt_main,NOGLOB,"turn prompting on or off") ^~~~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:21:17: note: (near initialization for 'dispatch_table[35].fun') CMDPROTO(prompt,lprompt_main,NOGLOB,"turn prompting on or off") ^~~~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:21:37: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(prompt,lprompt_main,NOGLOB,"turn prompting on or off") ^~~~~~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/local/table.h:22:75: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(pwd,lpwd_main,NOGLOB,"print the remote current working directory") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:22:14: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(pwd,lpwd_main,NOGLOB,"print the remote current working directory") ^~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:22:14: note: (near initialization for 'dispatch_table[36].fun') CMDPROTO(pwd,lpwd_main,NOGLOB,"print the remote current working directory") ^~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:22:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(pwd,lpwd_main,NOGLOB,"print the remote current working directory") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/local/table.h:23:62: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(quit,lquit_main,NOGLOB,"quit (what did you expect?)") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:23:15: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(quit,lquit_main,NOGLOB,"quit (what did you expect?)") ^~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:23:15: note: (near initialization for 'dispatch_table[37].fun') CMDPROTO(quit,lquit_main,NOGLOB,"quit (what did you expect?)") ^~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:23:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(quit,lquit_main,NOGLOB,"quit (what did you expect?)") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/local/table.h:24:87: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(exit,lquit_main,NOGLOB,"exit with return code of last command, or code given") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:24:15: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(exit,lquit_main,NOGLOB,"exit with return code of last command, or code given") ^~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:24:15: note: (near initialization for 'dispatch_table[38].fun') CMDPROTO(exit,lquit_main,NOGLOB,"exit with return code of last command, or code given") ^~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:24:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(exit,lquit_main,NOGLOB,"exit with return code of last command, or code given") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/local/table.h:25:97: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(readme,lreadme_main,NOGLOB,"read the README; set readme mode to never, once, or always") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:25:17: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(readme,lreadme_main,NOGLOB,"read the README; set readme mode to never, once, or always") ^~~~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:25:17: note: (near initialization for 'dispatch_table[39].fun') CMDPROTO(readme,lreadme_main,NOGLOB,"read the README; set readme mode to never, once, or always") ^~~~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:25:37: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(readme,lreadme_main,NOGLOB,"read the README; set readme mode to never, once, or always") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/local/table.h:26:72: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(rehash,lrehash_main,NOGLOB,"discard cached directory listings") ^ client/local/table.h:26:1: note: in expansion of macro 'CMDPROTO' CMDPROTO(rehash,lrehash_main,NOGLOB,"discard cached directory listings") ^~~~~~~~ client/local/table.h:26:17: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(rehash,lrehash_main,NOGLOB,"discard cached directory listings") ^~~~~~~~~~~~ client/local/table.h:26:1: note: in expansion of macro 'CMDPROTO' CMDPROTO(rehash,lrehash_main,NOGLOB,"discard cached directory listings") ^~~~~~~~ client/local/table.h:26:17: note: (near initialization for 'dispatch_table[40].fun') CMDPROTO(rehash,lrehash_main,NOGLOB,"discard cached directory listings") ^~~~~~~~~~~~ client/local/table.h:26:1: note: in expansion of macro 'CMDPROTO' CMDPROTO(rehash,lrehash_main,NOGLOB,"discard cached directory listings") ^~~~~~~~ client/local/table.h:26:37: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(rehash,lrehash_main,NOGLOB,"discard cached directory listings") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/local/table.h:26:1: note: in expansion of macro 'CMDPROTO' CMDPROTO(rehash,lrehash_main,NOGLOB,"discard cached directory listings") ^~~~~~~~ client/local/table.h:27:53: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(shell,lshell_main,NOGLOB,"run a subcommand") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:27:16: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(shell,lshell_main,NOGLOB,"run a subcommand") ^~~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:27:16: note: (near initialization for 'dispatch_table[41].fun') CMDPROTO(shell,lshell_main,NOGLOB,"run a subcommand") ^~~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:27:35: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(shell,lshell_main,NOGLOB,"run a subcommand") ^~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/local/table.h:28:85: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(since,lsince_main,LOCALGLOB,"make ls show only files since time/file given") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:28:16: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(since,lsince_main,LOCALGLOB,"make ls show only files since time/file given") ^~~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:28:16: note: (near initialization for 'dispatch_table[42].fun') CMDPROTO(since,lsince_main,LOCALGLOB,"make ls show only files since time/file given") ^~~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:28:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(since,lsince_main,LOCALGLOB,"make ls show only files since time/file given") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/local/table.h:29:89: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(skipto,lskipto_main,NOGLOB,"skip all input until the supplied label is reached") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:29:17: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(skipto,lskipto_main,NOGLOB,"skip all input until the supplied label is reached") ^~~~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:29:17: note: (near initialization for 'dispatch_table[43].fun') CMDPROTO(skipto,lskipto_main,NOGLOB,"skip all input until the supplied label is reached") ^~~~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:29:37: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(skipto,lskipto_main,NOGLOB,"skip all input until the supplied label is reached") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/local/table.h:30:71: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(source,lsource_main,LOCALGLOB,"source the contents of a file") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:30:17: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(source,lsource_main,LOCALGLOB,"source the contents of a file") ^~~~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:30:17: note: (near initialization for 'dispatch_table[44].fun') CMDPROTO(source,lsource_main,LOCALGLOB,"source the contents of a file") ^~~~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:30:40: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(source,lsource_main,LOCALGLOB,"source the contents of a file") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/local/table.h:31:62: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(stat,lstat_main,NOGLOB,"display communication stats") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:31:15: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(stat,lstat_main,NOGLOB,"display communication stats") ^~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:31:15: note: (near initialization for 'dispatch_table[45].fun') CMDPROTO(stat,lstat_main,NOGLOB,"display communication stats") ^~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:31:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(stat,lstat_main,NOGLOB,"display communication stats") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/local/table.h:32:87: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(timeout,ltimeout_main,NOGLOB,"set the maximum time (in seconds) to retry for") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:32:18: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(timeout,ltimeout_main,NOGLOB,"set the maximum time (in seconds) to retry for") ^~~~~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:32:18: note: (near initialization for 'dispatch_table[46].fun') CMDPROTO(timeout,ltimeout_main,NOGLOB,"set the maximum time (in seconds) to retry for") ^~~~~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:32:39: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(timeout,ltimeout_main,NOGLOB,"set the maximum time (in seconds) to retry for") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/local/table.h:33:71: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(trace,ltrace_main,NOGLOB,"set trace mode to on, off, or hash") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:33:16: warning: initialization of 'int (*)(int, char **, char **)' from incompatible pointer type 'int (*)(int, char * const*, char **)' [-Wincompatible-pointer-types] CMDPROTO(trace,ltrace_main,NOGLOB,"set trace mode to on, off, or hash") ^~~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:33:16: note: (near initialization for 'dispatch_table[47].fun') CMDPROTO(trace,ltrace_main,NOGLOB,"set trace mode to on, off, or hash") ^~~~~~~~~~~ client/main.c:26:61: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/local/table.h:33:35: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(trace,ltrace_main,NOGLOB,"set trace mode to on, off, or hash") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/main.c:35:64: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(help,fsp_help,NOGLOB,"give help on commands or macros") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/main.c:35:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(help,fsp_help,NOGLOB,"give help on commands or macros") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/main.c:36:49: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(?,fsp_help,NOGLOB,"identical to `help'") ^ client/main.c:26:40: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~ client/main.c:36:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CMDPROTO(?,fsp_help,NOGLOB,"identical to `help'") ^~~~~~~~~~~~~~~~~~~~~ client/main.c:26:66: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) { #com, NEEDCONN, glob, fun, help }, ^~~~ client/main.c:51:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] char *myprompt = "fsp> "; ^~~~~~~ client/main.c:263:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "fcatcmd", "cat" }, ^~~~~~~~~ client/main.c:263:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "fcatcmd", "cat" }, ^~~~~ client/main.c:264:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "fcdcmd", "cd" }, ^~~~~~~~ client/main.c:264:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "fcdcmd", "cd" }, ^~~~ client/main.c:265:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "fducmd", "du" }, ^~~~~~~~ client/main.c:265:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "fducmd", "du" }, ^~~~ client/main.c:266:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "fgetcmd", "get" }, ^~~~~~~~~ client/main.c:266:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "fgetcmd", "get" }, ^~~~~ client/main.c:267:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "fgrabcmd", "grab" }, ^~~~~~~~~~ client/main.c:267:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "fgrabcmd", "grab" }, ^~~~~~ client/main.c:268:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "flscmd", "ls" }, ^~~~~~~~ client/main.c:268:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "flscmd", "ls" }, ^~~~ client/main.c:269:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "fmkdir", "mkdir" }, ^~~~~~~~ client/main.c:269:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "fmkdir", "mkdir" }, ^~~~~~~ client/main.c:270:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "fprocmd", "pro" }, ^~~~~~~~~ client/main.c:270:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "fprocmd", "pro" }, ^~~~~ client/main.c:271:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "fput", "put" }, ^~~~~~ client/main.c:271:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "fput", "put" }, ^~~~~ client/main.c:272:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "frmcmd", "rm" }, ^~~~~~~~ client/main.c:272:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "frmcmd", "rm" }, ^~~~ client/main.c:273:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "frmdircmd", "rmdir" }, ^~~~~~~~~~~ client/main.c:273:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "frmdircmd", "rmdir" }, ^~~~~~~ client/main.c:274:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "ftarcmd", "tar" }, ^~~~~~~~~ client/main.c:274:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "ftarcmd", "tar" }, ^~~~~ client/main.c:275:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "ftouch", "touch" }, ^~~~~~~~ client/main.c:275:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "ftouch", "touch" }, ^~~~~~~ client/main.c:276:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "fver", "ver" }, ^~~~~~ client/main.c:276:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "fver", "ver" }, ^~~~~ client/main.c: In function 'interrupt_handler': client/main.c:300:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] txt = "Interrupt!"; ^ client/main.c:303:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] txt = "Ouch!"; ^ client/main.c:306:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] txt = "Urgh!"; ^ client/main.c:309:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] txt = "Argh!"; ^ client/main.c:312:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] txt = "Ok, ok, I've got the idea. I'll stop when I can!"; ^ client/main.c:315:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] txt = "Stop it! Hit something like ^\\ if you want a fatal death."; ^ client/main.c:318:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] txt = "Not talking to you anymore [sulk]..."; ^ client/main.c: In function 'main': client/main.c:421:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] startup[0] = "source"; ^ client/main.c:424:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] startup[1] = "~/.fsprc"; ^ client/main.c: At top level: cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' cc -o client/local/lburst.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/local/lburst.c client/remote/rdu.c: In function 'strip_cwd': client/remote/rdu.c:39:13: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] return ""; ^~ client/remote/rdu.c:50:9: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] return ""; ^~ client/remote/rdu.c: In function 'rdu_main': client/remote/rdu.c:131:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] static char *here[2] = { ".", 0 }; ^~~ client/remote/rdu.c:187:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] argvec = (optind == argc)? here: argv + optind; ^ client/remote/rdu.c: At top level: cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' cc -o client/local/lif.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/local/lif.c client/remote/rtouch.c: In function 'rtouch_main': client/remote/rtouch.c:56:37: warning: passing argument 1 of 'util_process_arglist' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] retval = util_process_arglist(argv + 1, do_touch); ~~~~~^~~ In file included from client/remote/rtouch.c:12: include/client.h:132:40: note: expected 'char **' but argument is of type 'char * const*' extern int util_process_arglist(char **argv, int (*procfn)(char *name)); ~~~~~~~^~~~ client/remote/rtouch.c:59:20: warning: passing argument 1 of 'util_dirtydir' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] util_dirtydir("."); ^~~ In file included from client/remote/rtouch.c:12: include/client.h:115:33: note: expected 'char *' but argument is of type 'const char *' extern void util_dirtydir(char *path); ~~~~~~^~~~ client/remote/rtouch.c: At top level: cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' cc -o client/local/lprompt.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/local/lprompt.c client/remote/rcat.c: In function 'cat_file': client/remote/rcat.c:43:18: warning: variable 'oldsig' set but not used [-Wunused-but-set-variable] RETSIGTYPE (*oldsig)(int); ^~~~~~ client/remote/rcat.c: In function 'rcat_main': client/remote/rcat.c:169:41: warning: passing argument 1 of 'util_process_arglist' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] retval = -util_process_arglist(argv + optind, do_cat_file); ~~~~~^~~~~~~~ In file included from client/remote/rcat.c:15: include/client.h:132:40: note: expected 'char **' but argument is of type 'char * const*' extern int util_process_arglist(char **argv, int (*procfn)(char *name)); ~~~~~~~^~~~ client/remote/rcat.c: At top level: cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' cc -o client/local/lskipto.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/local/lskipto.c client/remote/rput.c: In function 'rput_main': client/remote/rput.c:77:38: warning: passing argument 1 of 'util_process_arglist' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] retval = -util_process_arglist(argv + 1, put_file); ~~~~~^~~ In file included from client/remote/rput.c:15: include/client.h:132:40: note: expected 'char **' but argument is of type 'char * const*' extern int util_process_arglist(char **argv, int (*procfn)(char *name)); ~~~~~~~^~~~ client/remote/rput.c:103:16: warning: passing argument 1 of 'util_dirtydir' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] util_dirtydir("."); ^~~ In file included from client/remote/rput.c:15: include/client.h:115:33: note: expected 'char *' but argument is of type 'const char *' extern void util_dirtydir(char *path); ~~~~~~^~~~ client/remote/rput.c: At top level: cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' cc -o client/local/lflush.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/local/lflush.c client/remote/rls.c: In function 'rls_main': client/remote/rls.c:40:26: warning: passing argument 2 of 'fls_main' from incompatible pointer type [-Wincompatible-pointer-types] retval = fls_main(argc, argv); ^~~~ In file included from client/remote/rls.c:17: include/ls.h:60:43: note: expected 'const char * const*' but argument is of type 'char * const*' int fls_main(int argc, const char * const argv[]); ~~~~~~~~~~~~~~~~~~~^~~~~~ client/remote/rls.c: In function 'ls_bad': client/remote/rls.c:24:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] ls_bad(int n) ^~~~~~ client/remote/rls.c: At top level: cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' ar rc client/remote/libremote.a client/remote/rcat.o client/remote/rdir.o client/remote/rget.o client/remote/rls.o client/remote/rmv.o client/remote/rput.o client/remote/rrmdir.o client/remote/rtouch.o client/remote/rcd.o client/remote/rdu.o client/remote/rgrab.o client/remote/rmkdir.o client/remote/rpro.o client/remote/rrm.o client/remote/rtar.o client/remote/rver.o In file included from client/local/ldatestamp.c:12: client/local/table.h:9:16: warning: redundant redeclaration of 'lecho_main' [-Wredundant-decls] CMDPROTO(echon,lecho_main,NOGLOB,"echo a string without newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:8:15: note: previous declaration of 'lecho_main' was here CMDPROTO(echo,lecho_main,NOGLOB,"echo a string with newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:11:18: note: previous declaration of 'lif_main' was here CMDPROTO(iferror,lif_main,NOGLOB,"perform an operation if the last command had an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:13:18: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(onerror,lif_main,NOGLOB,"the operation to perform after any command causes an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: note: previous declaration of 'lif_main' was here CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:18:15: warning: redundant redeclaration of 'lopen_main' [-Wredundant-decls] CMDPROTO(host,lopen_main,NOGLOB,"same as `open'") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:17:15: note: previous declaration of 'lopen_main' was here CMDPROTO(open,lopen_main,NOGLOB,"specify the remote host (and optionally port/directory)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:24:15: warning: redundant redeclaration of 'lquit_main' [-Wredundant-decls] CMDPROTO(exit,lquit_main,NOGLOB,"exit with return code of last command, or code given") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:23:15: note: previous declaration of 'lquit_main' was here CMDPROTO(quit,lquit_main,NOGLOB,"quit (what did you expect?)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' cc -o client/local/lrehash.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/local/lrehash.c In file included from client/local/lmacro.c:12: client/local/table.h:9:16: warning: redundant redeclaration of 'lecho_main' [-Wredundant-decls] CMDPROTO(echon,lecho_main,NOGLOB,"echo a string without newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:8:15: note: previous declaration of 'lecho_main' was here CMDPROTO(echo,lecho_main,NOGLOB,"echo a string with newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:11:18: note: previous declaration of 'lif_main' was here CMDPROTO(iferror,lif_main,NOGLOB,"perform an operation if the last command had an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:13:18: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(onerror,lif_main,NOGLOB,"the operation to perform after any command causes an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: note: previous declaration of 'lif_main' was here CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:18:15: warning: redundant redeclaration of 'lopen_main' [-Wredundant-decls] CMDPROTO(host,lopen_main,NOGLOB,"same as `open'") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:17:15: note: previous declaration of 'lopen_main' was here CMDPROTO(open,lopen_main,NOGLOB,"specify the remote host (and optionally port/directory)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:24:15: warning: redundant redeclaration of 'lquit_main' [-Wredundant-decls] CMDPROTO(exit,lquit_main,NOGLOB,"exit with return code of last command, or code given") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:23:15: note: previous declaration of 'lquit_main' was here CMDPROTO(quit,lquit_main,NOGLOB,"quit (what did you expect?)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); In file included from client/local/lquit.c:13: client/local/table.h:9:16: warning: redundant redeclaration of 'lecho_main' [-Wredundant-decls] CMDPROTO(echon,lecho_main,NOGLOB,"echo a string without newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:8:15: note: previous declaration of 'lecho_main' was here CMDPROTO(echo,lecho_main,NOGLOB,"echo a string with newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ ^~~ cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:11:18: note: previous declaration of 'lif_main' was here CMDPROTO(iferror,lif_main,NOGLOB,"perform an operation if the last command had an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:13:18: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(onerror,lif_main,NOGLOB,"the operation to perform after any command causes an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: note: previous declaration of 'lif_main' was here CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:18:15: warning: redundant redeclaration of 'lopen_main' [-Wredundant-decls] CMDPROTO(host,lopen_main,NOGLOB,"same as `open'") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:17:15: note: previous declaration of 'lopen_main' was here CMDPROTO(open,lopen_main,NOGLOB,"specify the remote host (and optionally port/directory)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:24:15: warning: redundant redeclaration of 'lquit_main' [-Wredundant-decls] CMDPROTO(exit,lquit_main,NOGLOB,"exit with return code of last command, or code given") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:23:15: note: previous declaration of 'lquit_main' was here CMDPROTO(quit,lquit_main,NOGLOB,"quit (what did you expect?)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' cc -o client/local/lsince.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/local/lsince.c In file included from client/local/lport.c:12: client/local/table.h:9:16: warning: redundant redeclaration of 'lecho_main' [-Wredundant-decls] CMDPROTO(echon,lecho_main,NOGLOB,"echo a string without newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:8:15: note: previous declaration of 'lecho_main' was here CMDPROTO(echo,lecho_main,NOGLOB,"echo a string with newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:11:18: note: previous declaration of 'lif_main' was here CMDPROTO(iferror,lif_main,NOGLOB,"perform an operation if the last command had an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:13:18: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(onerror,lif_main,NOGLOB,"the operation to perform after any command causes an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: note: previous declaration of 'lif_main' was here CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:18:15: warning: redundant redeclaration of 'lopen_main' [-Wredundant-decls] CMDPROTO(host,lopen_main,NOGLOB,"same as `open'") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:17:15: note: previous declaration of 'lopen_main' was here CMDPROTO(open,lopen_main,NOGLOB,"specify the remote host (and optionally port/directory)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:24:15: warning: redundant redeclaration of 'lquit_main' [-Wredundant-decls] CMDPROTO(exit,lquit_main,NOGLOB,"exit with return code of last command, or code given") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:23:15: note: previous declaration of 'lquit_main' was here CMDPROTO(quit,lquit_main,NOGLOB,"quit (what did you expect?)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' cc -o client/local/ldebug.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/local/ldebug.c cc -o client/local/lecho.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/local/lecho.c In file included from client/local/lsource.c:12: client/local/table.h:9:16: warning: redundant redeclaration of 'lecho_main' [-Wredundant-decls] CMDPROTO(echon,lecho_main,NOGLOB,"echo a string without newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:8:15: note: previous declaration of 'lecho_main' was here CMDPROTO(echo,lecho_main,NOGLOB,"echo a string with newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:11:18: note: previous declaration of 'lif_main' was here CMDPROTO(iferror,lif_main,NOGLOB,"perform an operation if the last command had an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:13:18: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(onerror,lif_main,NOGLOB,"the operation to perform after any command causes an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: note: previous declaration of 'lif_main' was here CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:18:15: warning: redundant redeclaration of 'lopen_main' [-Wredundant-decls] CMDPROTO(host,lopen_main,NOGLOB,"same as `open'") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:17:15: note: previous declaration of 'lopen_main' was here CMDPROTO(open,lopen_main,NOGLOB,"specify the remote host (and optionally port/directory)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:24:15: warning: redundant redeclaration of 'lquit_main' [-Wredundant-decls] CMDPROTO(exit,lquit_main,NOGLOB,"exit with return code of last command, or code given") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:23:15: note: previous declaration of 'lquit_main' was here CMDPROTO(quit,lquit_main,NOGLOB,"quit (what did you expect?)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/lsource.c: In function 'do_source': client/local/lsource.c:48:31: warning: passing argument 2 of 'execute_stdin' from incompatible pointer type [-Wincompatible-pointer-types] retval = execute_stdin(2, myargv); ^~~~~~ In file included from client/local/lsource.c:13: include/main.h:22:43: note: expected 'char **' but argument is of type 'const char **' extern int execute_stdin(int argc, char **argv); ~~~~~~~^~~~ client/local/lsource.c: In function 'lsource_main': client/local/lsource.c:67:38: warning: passing argument 1 of 'util_process_arglist' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] return util_process_arglist(argv + 1, do_source); ~~~~~^~~ In file included from client/local/lsource.c:12: include/client.h:132:40: note: expected 'char **' but argument is of type 'char * const*' extern int util_process_arglist(char **argv, int (*procfn)(char *name)); ~~~~~~~^~~~ client/local/lsource.c: At top level: cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' In file included from client/local/lclose.c:13: client/local/table.h:9:16: warning: redundant redeclaration of 'lecho_main' [-Wredundant-decls] CMDPROTO(echon,lecho_main,NOGLOB,"echo a string without newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:8:15: note: previous declaration of 'lecho_main' was here CMDPROTO(echo,lecho_main,NOGLOB,"echo a string with newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:11:18: note: previous declaration of 'lif_main' was here CMDPROTO(iferror,lif_main,NOGLOB,"perform an operation if the last command had an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:13:18: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(onerror,lif_main,NOGLOB,"the operation to perform after any command causes an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: note: previous declaration of 'lif_main' was here CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:18:15: warning: redundant redeclaration of 'lopen_main' [-Wredundant-decls] CMDPROTO(host,lopen_main,NOGLOB,"same as `open'") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:17:15: note: previous declaration of 'lopen_main' was here CMDPROTO(open,lopen_main,NOGLOB,"specify the remote host (and optionally port/directory)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:24:15: warning: redundant redeclaration of 'lquit_main' [-Wredundant-decls] CMDPROTO(exit,lquit_main,NOGLOB,"exit with return code of last command, or code given") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:23:15: note: previous declaration of 'lquit_main' was here CMDPROTO(quit,lquit_main,NOGLOB,"quit (what did you expect?)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' cc -o client/local/lpager.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/local/lpager.c cc -o client/local/lshell.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/local/lshell.c In file included from client/local/lpwd.c:12: client/local/table.h:9:16: warning: redundant redeclaration of 'lecho_main' [-Wredundant-decls] CMDPROTO(echon,lecho_main,NOGLOB,"echo a string without newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:8:15: note: previous declaration of 'lecho_main' was here CMDPROTO(echo,lecho_main,NOGLOB,"echo a string with newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:11:18: note: previous declaration of 'lif_main' was here CMDPROTO(iferror,lif_main,NOGLOB,"perform an operation if the last command had an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:13:18: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(onerror,lif_main,NOGLOB,"the operation to perform after any command causes an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: note: previous declaration of 'lif_main' was here CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:18:15: warning: redundant redeclaration of 'lopen_main' [-Wredundant-decls] CMDPROTO(host,lopen_main,NOGLOB,"same as `open'") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:17:15: note: previous declaration of 'lopen_main' was here CMDPROTO(open,lopen_main,NOGLOB,"specify the remote host (and optionally port/directory)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:24:15: warning: redundant redeclaration of 'lquit_main' [-Wredundant-decls] CMDPROTO(exit,lquit_main,NOGLOB,"exit with return code of last command, or code given") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:23:15: note: previous declaration of 'lquit_main' was here CMDPROTO(quit,lquit_main,NOGLOB,"quit (what did you expect?)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' cc -o client/local/ldelay.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/local/ldelay.c In file included from client/local/lburst.c:12: client/local/table.h:9:16: warning: redundant redeclaration of 'lecho_main' [-Wredundant-decls] CMDPROTO(echon,lecho_main,NOGLOB,"echo a string without newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:8:15: note: previous declaration of 'lecho_main' was here CMDPROTO(echo,lecho_main,NOGLOB,"echo a string with newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:11:18: note: previous declaration of 'lif_main' was here CMDPROTO(iferror,lif_main,NOGLOB,"perform an operation if the last command had an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:13:18: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(onerror,lif_main,NOGLOB,"the operation to perform after any command causes an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: note: previous declaration of 'lif_main' was here CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:18:15: warning: redundant redeclaration of 'lopen_main' [-Wredundant-decls] CMDPROTO(host,lopen_main,NOGLOB,"same as `open'") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:17:15: note: previous declaration of 'lopen_main' was here CMDPROTO(open,lopen_main,NOGLOB,"specify the remote host (and optionally port/directory)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:24:15: warning: redundant redeclaration of 'lquit_main' [-Wredundant-decls] CMDPROTO(exit,lquit_main,NOGLOB,"exit with return code of last command, or code given") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:23:15: note: previous declaration of 'lquit_main' was here CMDPROTO(quit,lquit_main,NOGLOB,"quit (what did you expect?)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' cc -o client/local/lopen.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/local/lopen.c In file included from client/local/lif.c:14: client/local/table.h:9:16: warning: redundant redeclaration of 'lecho_main' [-Wredundant-decls] CMDPROTO(echon,lecho_main,NOGLOB,"echo a string without newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:8:15: note: previous declaration of 'lecho_main' was here CMDPROTO(echo,lecho_main,NOGLOB,"echo a string with newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:11:18: note: previous declaration of 'lif_main' was here CMDPROTO(iferror,lif_main,NOGLOB,"perform an operation if the last command had an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:13:18: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(onerror,lif_main,NOGLOB,"the operation to perform after any command causes an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: note: previous declaration of 'lif_main' was here CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:18:15: warning: redundant redeclaration of 'lopen_main' [-Wredundant-decls] CMDPROTO(host,lopen_main,NOGLOB,"same as `open'") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:17:15: note: previous declaration of 'lopen_main' was here CMDPROTO(open,lopen_main,NOGLOB,"specify the remote host (and optionally port/directory)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:24:15: warning: redundant redeclaration of 'lquit_main' [-Wredundant-decls] CMDPROTO(exit,lquit_main,NOGLOB,"exit with return code of last command, or code given") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:23:15: note: previous declaration of 'lquit_main' was here CMDPROTO(quit,lquit_main,NOGLOB,"quit (what did you expect?)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/lif.c: In function 'lif_main': client/local/lif.c:28:33: warning: passing argument 2 of 'execute_command' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] execute_command(argc - 1, argv + 1); ~~~~~^~~ In file included from client/local/lif.c:15: include/main.h:21:46: note: expected 'char **' but argument is of type 'char * const*' extern void execute_command(int argc, char **argv); ~~~~~~~^~~~ client/local/lif.c: At top level: cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' cc -o client/local/lbuffer.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude client/local/lbuffer.c In file included from client/local/lprompt.c:12: client/local/table.h:9:16: warning: redundant redeclaration of 'lecho_main' [-Wredundant-decls] CMDPROTO(echon,lecho_main,NOGLOB,"echo a string without newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:8:15: note: previous declaration of 'lecho_main' was here CMDPROTO(echo,lecho_main,NOGLOB,"echo a string with newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:11:18: note: previous declaration of 'lif_main' was here CMDPROTO(iferror,lif_main,NOGLOB,"perform an operation if the last command had an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:13:18: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(onerror,lif_main,NOGLOB,"the operation to perform after any command causes an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: note: previous declaration of 'lif_main' was here CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:18:15: warning: redundant redeclaration of 'lopen_main' [-Wredundant-decls] CMDPROTO(host,lopen_main,NOGLOB,"same as `open'") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:17:15: note: previous declaration of 'lopen_main' was here CMDPROTO(open,lopen_main,NOGLOB,"specify the remote host (and optionally port/directory)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:24:15: warning: redundant redeclaration of 'lquit_main' [-Wredundant-decls] CMDPROTO(exit,lquit_main,NOGLOB,"exit with return code of last command, or code given") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:23:15: note: previous declaration of 'lquit_main' was here CMDPROTO(quit,lquit_main,NOGLOB,"quit (what did you expect?)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' cc -o bsd/print.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude bsd/print.c In file included from client/local/lskipto.c:12: client/local/table.h:9:16: warning: redundant redeclaration of 'lecho_main' [-Wredundant-decls] CMDPROTO(echon,lecho_main,NOGLOB,"echo a string without newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:8:15: note: previous declaration of 'lecho_main' was here CMDPROTO(echo,lecho_main,NOGLOB,"echo a string with newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:11:18: note: previous declaration of 'lif_main' was here CMDPROTO(iferror,lif_main,NOGLOB,"perform an operation if the last command had an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:13:18: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(onerror,lif_main,NOGLOB,"the operation to perform after any command causes an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: note: previous declaration of 'lif_main' was here CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:18:15: warning: redundant redeclaration of 'lopen_main' [-Wredundant-decls] CMDPROTO(host,lopen_main,NOGLOB,"same as `open'") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:17:15: note: previous declaration of 'lopen_main' was here CMDPROTO(open,lopen_main,NOGLOB,"specify the remote host (and optionally port/directory)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:24:15: warning: redundant redeclaration of 'lquit_main' [-Wredundant-decls] CMDPROTO(exit,lquit_main,NOGLOB,"exit with return code of last command, or code given") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:23:15: note: previous declaration of 'lquit_main' was here CMDPROTO(quit,lquit_main,NOGLOB,"quit (what did you expect?)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' cc -o bsd/util.o -c -pipe -Wno-incompatible-pointer-types-discards-qualifiers -Wno-shadow -Wno-incompatible-function-pointer-types -O2 -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wpointer-arith -Wno-unused-parameter -Wunreachable-code -DPACKAGE_VERSION=\"0.93.1\" -DHAVE_OPTRESET -DHAVE_SRANDOMDEV -DHAVE_UTMPX -DFSP_USE_SHAREMEM_AND_SEMOP -Iinclude bsd/util.c ranlib client/remote/libremote.a In file included from client/local/lflush.c:13: client/local/table.h:9:16: warning: redundant redeclaration of 'lecho_main' [-Wredundant-decls] CMDPROTO(echon,lecho_main,NOGLOB,"echo a string without newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:8:15: note: previous declaration of 'lecho_main' was here CMDPROTO(echo,lecho_main,NOGLOB,"echo a string with newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:11:18: note: previous declaration of 'lif_main' was here CMDPROTO(iferror,lif_main,NOGLOB,"perform an operation if the last command had an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:13:18: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(onerror,lif_main,NOGLOB,"the operation to perform after any command causes an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: note: previous declaration of 'lif_main' was here CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:18:15: warning: redundant redeclaration of 'lopen_main' [-Wredundant-decls] CMDPROTO(host,lopen_main,NOGLOB,"same as `open'") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:17:15: note: previous declaration of 'lopen_main' was here CMDPROTO(open,lopen_main,NOGLOB,"specify the remote host (and optionally port/directory)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:24:15: warning: redundant redeclaration of 'lquit_main' [-Wredundant-decls] CMDPROTO(exit,lquit_main,NOGLOB,"exit with return code of last command, or code given") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:23:15: note: previous declaration of 'lquit_main' was here CMDPROTO(quit,lquit_main,NOGLOB,"quit (what did you expect?)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' GZip(["man/fsp.1.gz"], ["man/fsp.1"]) In file included from client/local/ldebug.c:12: client/local/table.h:9:16: warning: redundant redeclaration of 'lecho_main' [-Wredundant-decls] CMDPROTO(echon,lecho_main,NOGLOB,"echo a string without newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:8:15: note: previous declaration of 'lecho_main' was here CMDPROTO(echo,lecho_main,NOGLOB,"echo a string with newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:11:18: note: previous declaration of 'lif_main' was here CMDPROTO(iferror,lif_main,NOGLOB,"perform an operation if the last command had an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:13:18: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(onerror,lif_main,NOGLOB,"the operation to perform after any command causes an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: note: previous declaration of 'lif_main' was here CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:18:15: warning: redundant redeclaration of 'lopen_main' [-Wredundant-decls] CMDPROTO(host,lopen_main,NOGLOB,"same as `open'") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:17:15: note: previous declaration of 'lopen_main' was here CMDPROTO(open,lopen_main,NOGLOB,"specify the remote host (and optionally port/directory)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:24:15: warning: redundant redeclaration of 'lquit_main' [-Wredundant-decls] CMDPROTO(exit,lquit_main,NOGLOB,"exit with return code of last command, or code given") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:23:15: note: previous declaration of 'lquit_main' was here CMDPROTO(quit,lquit_main,NOGLOB,"quit (what did you expect?)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); In file included from client/local/lsince.c:12: client/local/table.h:9:16: warning: redundant redeclaration of 'lecho_main' [-Wredundant-decls] CMDPROTO(echon,lecho_main,NOGLOB,"echo a string without newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:8:15: note: previous declaration of 'lecho_main' was here CMDPROTO(echo,lecho_main,NOGLOB,"echo a string with newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ ^~~ cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:11:18: note: previous declaration of 'lif_main' was here CMDPROTO(iferror,lif_main,NOGLOB,"perform an operation if the last command had an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:13:18: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(onerror,lif_main,NOGLOB,"the operation to perform after any command causes an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: note: previous declaration of 'lif_main' was here CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:18:15: warning: redundant redeclaration of 'lopen_main' [-Wredundant-decls] CMDPROTO(host,lopen_main,NOGLOB,"same as `open'") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:17:15: note: previous declaration of 'lopen_main' was here CMDPROTO(open,lopen_main,NOGLOB,"specify the remote host (and optionally port/directory)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:24:15: warning: redundant redeclaration of 'lquit_main' [-Wredundant-decls] CMDPROTO(exit,lquit_main,NOGLOB,"exit with return code of last command, or code given") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:23:15: note: previous declaration of 'lquit_main' was here CMDPROTO(quit,lquit_main,NOGLOB,"quit (what did you expect?)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' In file included from client/local/lrehash.c:12: client/local/table.h:9:16: warning: redundant redeclaration of 'lecho_main' [-Wredundant-decls] CMDPROTO(echon,lecho_main,NOGLOB,"echo a string without newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:8:15: note: previous declaration of 'lecho_main' was here CMDPROTO(echo,lecho_main,NOGLOB,"echo a string with newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:11:18: note: previous declaration of 'lif_main' was here CMDPROTO(iferror,lif_main,NOGLOB,"perform an operation if the last command had an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:13:18: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(onerror,lif_main,NOGLOB,"the operation to perform after any command causes an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: note: previous declaration of 'lif_main' was here CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:18:15: warning: redundant redeclaration of 'lopen_main' [-Wredundant-decls] CMDPROTO(host,lopen_main,NOGLOB,"same as `open'") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:17:15: note: previous declaration of 'lopen_main' was here CMDPROTO(open,lopen_main,NOGLOB,"specify the remote host (and optionally port/directory)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:24:15: warning: redundant redeclaration of 'lquit_main' [-Wredundant-decls] CMDPROTO(exit,lquit_main,NOGLOB,"exit with return code of last command, or code given") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:23:15: note: previous declaration of 'lquit_main' was here CMDPROTO(quit,lquit_main,NOGLOB,"quit (what did you expect?)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' In file included from client/local/lshell.c:12: client/local/table.h:9:16: warning: redundant redeclaration of 'lecho_main' [-Wredundant-decls] CMDPROTO(echon,lecho_main,NOGLOB,"echo a string without newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:8:15: note: previous declaration of 'lecho_main' was here CMDPROTO(echo,lecho_main,NOGLOB,"echo a string with newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:11:18: note: previous declaration of 'lif_main' was here CMDPROTO(iferror,lif_main,NOGLOB,"perform an operation if the last command had an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:13:18: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(onerror,lif_main,NOGLOB,"the operation to perform after any command causes an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: note: previous declaration of 'lif_main' was here CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:18:15: warning: redundant redeclaration of 'lopen_main' [-Wredundant-decls] CMDPROTO(host,lopen_main,NOGLOB,"same as `open'") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:17:15: note: previous declaration of 'lopen_main' was here CMDPROTO(open,lopen_main,NOGLOB,"specify the remote host (and optionally port/directory)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:24:15: warning: redundant redeclaration of 'lquit_main' [-Wredundant-decls] CMDPROTO(exit,lquit_main,NOGLOB,"exit with return code of last command, or code given") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:23:15: note: previous declaration of 'lquit_main' was here CMDPROTO(quit,lquit_main,NOGLOB,"quit (what did you expect?)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' In file included from client/local/ldelay.c:12: client/local/table.h:9:16: warning: redundant redeclaration of 'lecho_main' [-Wredundant-decls] CMDPROTO(echon,lecho_main,NOGLOB,"echo a string without newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:8:15: note: previous declaration of 'lecho_main' was here CMDPROTO(echo,lecho_main,NOGLOB,"echo a string with newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:11:18: note: previous declaration of 'lif_main' was here CMDPROTO(iferror,lif_main,NOGLOB,"perform an operation if the last command had an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:13:18: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(onerror,lif_main,NOGLOB,"the operation to perform after any command causes an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: note: previous declaration of 'lif_main' was here CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:18:15: warning: redundant redeclaration of 'lopen_main' [-Wredundant-decls] CMDPROTO(host,lopen_main,NOGLOB,"same as `open'") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:17:15: note: previous declaration of 'lopen_main' was here CMDPROTO(open,lopen_main,NOGLOB,"specify the remote host (and optionally port/directory)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:24:15: warning: redundant redeclaration of 'lquit_main' [-Wredundant-decls] CMDPROTO(exit,lquit_main,NOGLOB,"exit with return code of last command, or code given") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:23:15: note: previous declaration of 'lquit_main' was here CMDPROTO(quit,lquit_main,NOGLOB,"quit (what did you expect?)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' In file included from client/local/lecho.c:13: client/local/table.h:9:16: warning: redundant redeclaration of 'lecho_main' [-Wredundant-decls] CMDPROTO(echon,lecho_main,NOGLOB,"echo a string without newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:8:15: note: previous declaration of 'lecho_main' was here CMDPROTO(echo,lecho_main,NOGLOB,"echo a string with newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:11:18: note: previous declaration of 'lif_main' was here CMDPROTO(iferror,lif_main,NOGLOB,"perform an operation if the last command had an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:13:18: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(onerror,lif_main,NOGLOB,"the operation to perform after any command causes an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: note: previous declaration of 'lif_main' was here CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:18:15: warning: redundant redeclaration of 'lopen_main' [-Wredundant-decls] CMDPROTO(host,lopen_main,NOGLOB,"same as `open'") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:17:15: note: previous declaration of 'lopen_main' was here CMDPROTO(open,lopen_main,NOGLOB,"specify the remote host (and optionally port/directory)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:24:15: warning: redundant redeclaration of 'lquit_main' [-Wredundant-decls] CMDPROTO(exit,lquit_main,NOGLOB,"exit with return code of last command, or code given") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:23:15: note: previous declaration of 'lquit_main' was here CMDPROTO(quit,lquit_main,NOGLOB,"quit (what did you expect?)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' In file included from client/local/lbuffer.c:12: client/local/table.h:9:16: warning: redundant redeclaration of 'lecho_main' [-Wredundant-decls] CMDPROTO(echon,lecho_main,NOGLOB,"echo a string without newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:8:15: note: previous declaration of 'lecho_main' was here CMDPROTO(echo,lecho_main,NOGLOB,"echo a string with newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:11:18: note: previous declaration of 'lif_main' was here CMDPROTO(iferror,lif_main,NOGLOB,"perform an operation if the last command had an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:13:18: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(onerror,lif_main,NOGLOB,"the operation to perform after any command causes an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: note: previous declaration of 'lif_main' was here CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:18:15: warning: redundant redeclaration of 'lopen_main' [-Wredundant-decls] CMDPROTO(host,lopen_main,NOGLOB,"same as `open'") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:17:15: note: previous declaration of 'lopen_main' was here CMDPROTO(open,lopen_main,NOGLOB,"specify the remote host (and optionally port/directory)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:24:15: warning: redundant redeclaration of 'lquit_main' [-Wredundant-decls] CMDPROTO(exit,lquit_main,NOGLOB,"exit with return code of last command, or code given") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:23:15: note: previous declaration of 'lquit_main' was here CMDPROTO(quit,lquit_main,NOGLOB,"quit (what did you expect?)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' In file included from client/local/lopen.c:13: client/local/table.h:9:16: warning: redundant redeclaration of 'lecho_main' [-Wredundant-decls] CMDPROTO(echon,lecho_main,NOGLOB,"echo a string without newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:8:15: note: previous declaration of 'lecho_main' was here CMDPROTO(echo,lecho_main,NOGLOB,"echo a string with newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:11:18: note: previous declaration of 'lif_main' was here CMDPROTO(iferror,lif_main,NOGLOB,"perform an operation if the last command had an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:13:18: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(onerror,lif_main,NOGLOB,"the operation to perform after any command causes an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: note: previous declaration of 'lif_main' was here CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:18:15: warning: redundant redeclaration of 'lopen_main' [-Wredundant-decls] CMDPROTO(host,lopen_main,NOGLOB,"same as `open'") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:17:15: note: previous declaration of 'lopen_main' was here CMDPROTO(open,lopen_main,NOGLOB,"specify the remote host (and optionally port/directory)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:24:15: warning: redundant redeclaration of 'lquit_main' [-Wredundant-decls] CMDPROTO(exit,lquit_main,NOGLOB,"exit with return code of last command, or code given") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:23:15: note: previous declaration of 'lquit_main' was here CMDPROTO(quit,lquit_main,NOGLOB,"quit (what did you expect?)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' In file included from client/local/lpager.c:12: client/local/table.h:9:16: warning: redundant redeclaration of 'lecho_main' [-Wredundant-decls] CMDPROTO(echon,lecho_main,NOGLOB,"echo a string without newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:8:15: note: previous declaration of 'lecho_main' was here CMDPROTO(echo,lecho_main,NOGLOB,"echo a string with newline") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:11:18: note: previous declaration of 'lif_main' was here CMDPROTO(iferror,lif_main,NOGLOB,"perform an operation if the last command had an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:13:18: warning: redundant redeclaration of 'lif_main' [-Wredundant-decls] CMDPROTO(onerror,lif_main,NOGLOB,"the operation to perform after any command causes an error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:12:15: note: previous declaration of 'lif_main' was here CMDPROTO(ifok,lif_main,NOGLOB,"perform an operation if the last command had no error") ^~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:18:15: warning: redundant redeclaration of 'lopen_main' [-Wredundant-decls] CMDPROTO(host,lopen_main,NOGLOB,"same as `open'") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:17:15: note: previous declaration of 'lopen_main' was here CMDPROTO(open,lopen_main,NOGLOB,"specify the remote host (and optionally port/directory)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:24:15: warning: redundant redeclaration of 'lquit_main' [-Wredundant-decls] CMDPROTO(exit,lquit_main,NOGLOB,"exit with return code of last command, or code given") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ client/local/table.h:23:15: note: previous declaration of 'lquit_main' was here CMDPROTO(quit,lquit_main,NOGLOB,"quit (what did you expect?)") ^~~~~~~~~~ include/client.h:200:48: note: in definition of macro 'CMDPROTO' #define CMDPROTO(com,fun,glob,help) extern int fun(int argc, char * const argv[], char **envp); ^~~ cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' ar rc client/local/liblocal.a client/local/lbuffer.o client/local/ldelay.o client/local/lmacro.o client/local/lprompt.o client/local/lshell.o client/local/ltimeout.o client/local/lburst.o client/local/lecho.o client/local/lmaxdelay.o client/local/lpwd.o client/local/lsince.o client/local/ltrace.o client/local/lclose.o client/local/lflush.o client/local/lopen.o client/local/lquit.o client/local/lskipto.o client/local/util.o client/local/ldatestamp.o client/local/lif.o client/local/lpager.o client/local/lreadme.o client/local/lsource.o client/local/ldebug.o client/local/llcd.o client/local/lport.o client/local/lrehash.o client/local/lstat.o bsd/util.c:24:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)util.c 5.7 (Berkeley) 4/8/90"; ^~~~~~ cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' bsd/print.c:24:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)print.c 5.22 (Berkeley) 5/10/90"; ^~~~~~ cc1: warning: unrecognized command line option '-Wno-incompatible-function-pointer-types' cc1: warning: unrecognized command line option '-Wno-incompatible-pointer-types-discards-qualifiers' ar rc bsd/libbsdfsp.a bsd/cmp.o bsd/ls.o bsd/print.o bsd/util.o ranlib client/local/liblocal.a ranlib bsd/libbsdfsp.a cc -o client/fsp client/glob.o client/lock.o client/main.o client/redirect.o client/lib.o client/macro.o client/parse.o client/util.o common/libcommon.a client/local/liblocal.a client/remote/libremote.a bsd/libbsdfsp.a scons: done building targets. SUCCEEDED 00:00:58 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for fspclient-0.93.1 ===> Generating temporary packing list scons: Reading SConscript files ... Checking whether the C compiler works... (cached) yes Checking whether cc supports -Wall... (cached) yes Checking whether cc supports -W... (cached) yes Checking whether cc supports -Wstrict-prototypes... (cached) yes Checking whether cc supports -Wmissing-prototypes... (cached) yes Checking whether cc supports -Wshadow... (cached) yes Checking whether cc supports -Wbad-function-cast... (cached) yes Checking whether cc supports -Wcast-qual... (cached) yes Checking whether cc supports -Wcast-align... (cached) yes Checking whether cc supports -Wwrite-strings... (cached) yes Checking whether cc supports -Waggregate-return... (cached) yes Checking whether cc supports -Wmissing-declarations... (cached) yes Checking whether cc supports -Wmissing-format-attribute... (cached) yes Checking whether cc supports -Wnested-externs... (cached) yes Checking whether cc supports -ggdb... (cached) yes Checking whether cc supports -fno-common... (cached) yes Checking whether cc supports -Wchar-subscripts... (cached) yes Checking whether cc supports -Wcomment... (cached) yes Checking whether cc supports -Wimplicit... (cached) yes Checking whether cc supports -Wsequence-point... (cached) yes Checking whether cc supports -Wreturn-type... (cached) yes Checking whether cc supports -Wfloat-equal... (cached) yes Checking whether cc supports -Wno-system-headers... (cached) yes Checking whether cc supports -Wredundant-decls... (cached) yes Checking whether cc supports -Wmissing-noreturn... (cached) yes Checking whether cc supports -pedantic... (cached) yes Checking whether cc supports -Wlong-long... (cached) yes Checking whether cc supports -Wundef... (cached) yes Checking whether cc supports -Winline... (cached) yes Checking whether cc supports -Wpointer-arith... (cached) yes Checking whether cc supports -Wno-unused-parameter... (cached) yes Checking whether cc supports -Wunreachable-code... (cached) yes Checking if variable optreset is defined... (cached) yes Checking for C function srandomdev()... (cached) yes Checking for C type union semun... (cached) yes Checking for C header file utmpx.h... (cached) yes Checking for C function lockf()... (cached) yes Checking for C function semop()... (cached) yes Checking for C function shmget()... (cached) yes Checking for C function flock()... (cached) yes Checking for FSP locking type... (cached) semop and shmget Checking for user supplied lockprefix... (cached) no Checking for user supplied prefix... (cached) yes Checking where to install man pages... (cached) /construction/net/fspclient/stage/usr/local/share/man Checking for user supplied mandir... (cached) no Checking whether to enable maintainer mode... (cached) no scons: done reading SConscript files. scons: Building targets ... Install file: "client/fsp" as "/construction/net/fspclient/stage/usr/local/bin/fsp" Install file: "man/fsp.1.gz" as "/construction/net/fspclient/stage/usr/local/share/man/man1/fsp.1.gz" scons: done building targets. ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Warning: 'bin/fsp' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:09 ------------------------------------------------------------------------------- -- Phase: check-plist ------------------------------------------------------------------------------- ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for items in pkg-plist which are not in STAGEDIR ===> No pkg-plist issues found (check-plist) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for fspclient-0.93.1 file sizes/checksums [2]: 0% file sizes/checksums [2]: 100% Service unavailablepacking files [2]: 0% packing files [2]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:00 TOTAL TIME 00:01:12