=>> Building ftp/wput build started at Mon May 5 06:45:01 BST 2025 port directory: /usr/ports/ftp/wput package name: wput-0.6.2_8 building for: FreeBSD pkg-builder.dan.net.uk 14.2-RELEASE FreeBSD 14.2-RELEASE amd64 maintained by: chip-set@mail.ru Makefile datestamp: -rw-r--r-- 1 root wheel 1355 Dec 29 14:16 /usr/ports/ftp/wput/Makefile Ports top last git commit: 5529c5919b Ports top unclean checkout: yes Port dir last git commit: 1a35b19e6d Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1402000 Jail OSVERSION: 1402000 Job Id: 06 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1402000 UNAME_v=FreeBSD 14.2-RELEASE UNAME_r=14.2-RELEASE BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/14-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/14-amd64-default-dan/06/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=14-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/14-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for wput-0.6.2_8: DOCS=on: Build and/or install documentation EXAMPLES=on: Build and/or install examples NLS=on: Native Language Support TLS=on: Secure network connection support via TLS ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- chip-set@mail.ru --End MAINTAINER-- --CONFIGURE_ARGS-- --enable-nls --with-libintl-prefix=/usr/local --with-ssl --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/ftp/wput/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/ftp/wput/work XDG_CACHE_HOME=/wrkdirs/usr/ports/ftp/wput/work/.cache HOME=/wrkdirs/usr/ports/ftp/wput/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/ftp/wput/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/ftp/wput/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/ftp/wput/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/ftp/wput/work XDG_CACHE_HOME=/wrkdirs/usr/ports/ftp/wput/work/.cache HOME=/wrkdirs/usr/ports/ftp/wput/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/ftp/wput/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/ftp/wput/work/.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 PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -DLIBICONV_PLUG -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-DLIBICONV_PLUG" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -DLIBICONV_PLUG -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG " 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" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" PORTEXAMPLES="" DOCS="" NO_DOCS="@comment " EXAMPLES="" NO_EXAMPLES="@comment " NLS="" NO_NLS="@comment " TLS="" NO_TLS="@comment " OSREL=14.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/wput" EXAMPLESDIR="share/examples/wput" DATADIR="share/wput" WWWDIR="www/wput" ETCDIR="etc/wput" --End PLIST_SUB-- --SUB_LIST-- DOCS="" NO_DOCS="@comment " EXAMPLES="" NO_EXAMPLES="@comment " NLS="" NO_NLS="@comment " TLS="" NO_TLS="@comment " PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/wput DOCSDIR=/usr/local/share/doc/wput EXAMPLESDIR=/usr/local/share/examples/wput WWWDIR=/usr/local/www/wput ETCDIR=/usr/local/etc/wput --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl apache=2.4 imagemagick=7 java=21 linux=c7 mysql=8.0 php=8.3 samba=4.19 varnish=7 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE ALLOW_UNSUPPORTED_SYSTEM=yes WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> wput-0.6.2_8 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.1.2.pkg [pkg-builder.dan.net.uk] Installing pkg-2.1.2... [pkg-builder.dan.net.uk] Extracting pkg-2.1.2: .......... done ===> wput-0.6.2_8 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of wput-0.6.2_8 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by wput-0.6.2_8 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by wput-0.6.2_8 for building => SHA256 Checksum OK for wput-0.6.2.tgz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by wput-0.6.2_8 for building ===> Extracting for wput-0.6.2_8 => SHA256 Checksum OK for wput-0.6.2.tgz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for wput-0.6.2_8 ===> Applying FreeBSD patches for wput-0.6.2_8 from /usr/ports/ftp/wput/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> wput-0.6.2_8 depends on package: gettext-runtime>=0.22_1 - not found ===> Installing existing package /packages/All/gettext-runtime-0.23.1.pkg [pkg-builder.dan.net.uk] Installing gettext-runtime-0.23.1... [pkg-builder.dan.net.uk] `-- Installing indexinfo-0.3.1_1... [pkg-builder.dan.net.uk] `-- Extracting indexinfo-0.3.1_1: . done [pkg-builder.dan.net.uk] Extracting gettext-runtime-0.23.1: .......... done ===> wput-0.6.2_8 depends on package: gettext-runtime>=0.22_1 - found ===> Returning to build of wput-0.6.2_8 ===> wput-0.6.2_8 depends on executable: msgfmt - not found ===> Installing existing package /packages/All/gettext-tools-0.23.1_1.pkg [pkg-builder.dan.net.uk] Installing gettext-tools-0.23.1_1... [pkg-builder.dan.net.uk] `-- Installing libtextstyle-0.23.1... [pkg-builder.dan.net.uk] `-- Extracting libtextstyle-0.23.1: .......... done [pkg-builder.dan.net.uk] Extracting gettext-tools-0.23.1_1: .......... done ===> wput-0.6.2_8 depends on executable: msgfmt - found ===> Returning to build of wput-0.6.2_8 ===> wput-0.6.2_8 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg-builder.dan.net.uk] Installing ccache-3.7.12_8... [pkg-builder.dan.net.uk] Extracting ccache-3.7.12_8: ......... done 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 clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> wput-0.6.2_8 depends on file: /usr/local/bin/ccache - found ===> Returning to build of wput-0.6.2_8 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> wput-0.6.2_8 depends on shared library: libgnutls.so - not found ===> Installing existing package /packages/All/gnutls-3.8.9.pkg [pkg-builder.dan.net.uk] Installing gnutls-3.8.9... [pkg-builder.dan.net.uk] `-- Installing gmp-6.3.0... [pkg-builder.dan.net.uk] `-- Extracting gmp-6.3.0: .......... done [pkg-builder.dan.net.uk] `-- Installing libidn2-2.3.8... [pkg-builder.dan.net.uk] | `-- Installing libunistring-1.3... [pkg-builder.dan.net.uk] | `-- Extracting libunistring-1.3: .......... done [pkg-builder.dan.net.uk] `-- Extracting libidn2-2.3.8: .......... done [pkg-builder.dan.net.uk] `-- Installing libtasn1-4.20.0_1... [pkg-builder.dan.net.uk] `-- Extracting libtasn1-4.20.0_1: .......... done [pkg-builder.dan.net.uk] `-- Installing nettle-3.10.1... [pkg-builder.dan.net.uk] | `-- Installing openssl-3.0.16,1... [pkg-builder.dan.net.uk] | `-- Extracting openssl-3.0.16,1: .......... done [pkg-builder.dan.net.uk] `-- Extracting nettle-3.10.1: .......... done [pkg-builder.dan.net.uk] `-- Installing p11-kit-0.25.5... [pkg-builder.dan.net.uk] | `-- Installing libffi-3.4.8... [pkg-builder.dan.net.uk] | `-- Extracting libffi-3.4.8: .......... done [pkg-builder.dan.net.uk] `-- Extracting p11-kit-0.25.5: .......... done [pkg-builder.dan.net.uk] `-- Installing unbound-1.23.0... [pkg-builder.dan.net.uk] | `-- Installing expat-2.7.1... [pkg-builder.dan.net.uk] | `-- Extracting expat-2.7.1: .......... done [pkg-builder.dan.net.uk] | `-- Installing libnghttp2-1.65.0... [pkg-builder.dan.net.uk] | `-- Extracting libnghttp2-1.65.0: ....... done ===> Creating groups Using existing group 'unbound' ===> Creating users Using existing user 'unbound' [pkg-builder.dan.net.uk] `-- Extracting unbound-1.23.0: .......... done [pkg-builder.dan.net.uk] Extracting gnutls-3.8.9: .......... done ===> wput-0.6.2_8 depends on shared library: libgnutls.so - found (/usr/local/lib/libgnutls.so) ===> Returning to build of wput-0.6.2_8 ===> wput-0.6.2_8 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for wput-0.6.2_8 ===> FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/ftp/wput/work/wput-0.6.2/config.rpath configure: loading site script /usr/ports/Templates/config.site checking Large File System support: getconf: no such configuration parameter `LFS_CFLAGS' no Debug Information enabled checking for gcc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cpp checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/ioctl.h... (cached) yes checking sys/termio.h usability... no checking sys/termio.h presence... no checking for sys/termio.h... no checking termio.h usability... no checking termio.h presence... no checking for termio.h... no checking sys/winsize.h usability... no checking sys/winsize.h presence... no checking for sys/winsize.h... no checking for locale.h... (cached) yes checking libintl.h usability... no checking libintl.h presence... no checking for libintl.h... no checking for getopt.h... (cached) yes checking for library containing getopt_long... none required checking whether make sets $(MAKE)... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether NLS is requested... yes checking for msgfmt... /usr/local/bin/msgfmt checking for gmsgfmt... /usr/local/bin/msgfmt checking for xgettext... /usr/local/bin/xgettext checking for msgmerge... /usr/local/bin/msgmerge checking build system type... amd64-portbld-freebsd14.2 checking host system type... amd64-portbld-freebsd14.2 checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking whether NLS is requested... yes checking for GNU gettext in libc... no checking for iconv... yes checking for GNU gettext in libintl... yes checking whether to use NLS... yes checking where the gettext function comes from... external libintl checking how to link with libintl... /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib checking for GNUTLS includes... "" checking gnutls/gnutls.h, usability... no checking gnutls/gnutls.h, presence... no checking for gnutls/gnutls.h,... no checking gnutls/openssl.h usability... yes checking gnutls/openssl.h presence... yes checking for gnutls/openssl.h... yes checking for GNUTLS libraries... no checking for long long... (cached) yes checking for unsigned long long... (cached) yes checking for int... (cached) yes checking size of int... 4 checking for short... (cached) yes checking size of short... 2 configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating po/Makefile.in config.status: WARNING: po/Makefile.in.in seems to ignore the --datarootdir setting config.status: creating src/config.h config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for wput-0.6.2_8 cd po && /usr/bin/make all cd src && /usr/bin/make all cc -O2 -pipe -DLIBICONV_PLUG -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Wall -g -DLOCALEDIR=\"/usr/local/share/locale\" -c wput.c -o wput.o wput.c:101:2: warning: call to undeclared function 'bindtextdomain'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 101 | bindtextdomain ("wput", LOCALEDIR); | ^ wput.c:102:2: warning: call to undeclared function 'textdomain'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 102 | textdomain ("wput"); | ^ wput.c:156:21: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 156 | printout(vLESS, _("Resuming in background. Logging output to 'wput-log'.\n")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ wput.c:156:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 156 | printout(vLESS, _("Resuming in background. Logging output to 'wput-log'.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ wput.c:158:37: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 158 | if(opt.output == NULL) { perror(_("Unable to open logfile")); exit(4); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ /usr/include/stdio.h:274:26: note: passing argument to parameter here 274 | void perror(const char *); | ^ wput.c:166:22: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 166 | printout(vNORMAL, _("Warning: ")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ wput.c:166:22: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 166 | printout(vNORMAL, _("Warning: ")); | ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ wput.c:167:22: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 167 | printout(vNORMAL, _("background-mode might not work correctly, if the input-pipe needs to read from stdin (like cat -).\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ wput.c:176:22: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 176 | printout(vNORMAL, _("Warning: ")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ wput.c:176:22: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 176 | printout(vNORMAL, _("Warning: ")); | ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ wput.c:177:22: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 177 | printout(vNORMAL, _("reading urls from stdin, while running in background-mode is not reliable.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ wput.c:186:21: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 186 | printout(vNORMAL, _("Warning: ")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ wput.c:186:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 186 | printout(vNORMAL, _("Warning: ")); | ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ wput.c:187:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 187 | printout(vNORMAL, _("Ignoring request to turn proxy-usage on, since no proxy is configured.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ wput.c:220:21: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 220 | printout(vNORMAL, _("Nothing done. Try `%s --help'.\n"), argv[0]); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ wput.c:220:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 220 | printout(vNORMAL, _("Nothing done. Try `%s --help'.\n"), argv[0]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ wput.c:222:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 222 | printout(vNORMAL, _("FINISHED --%s--\n"), time_str()); | ^~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ wput.c:226:22: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 226 | printout(vNORMAL, opt.transfered == 1 ? | ^~~~~~~~~~~~~~~~~~~~~ 227 | _("Transfered %s bytes in %d file at %s\n") : | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | _("Transfered %s bytes in %d files at %s\n"), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ wput.c:237:22: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 237 | printout(vNORMAL, opt.transfered == 1 ? | ^~~~~~~~~~~~~~~~~~~~~ 238 | _("Deleted %d file\n") : | ~~~~~~~~~~~~~~~~~~~~~~~~ 239 | _("Deleted %d files\n"), | ~~~~~~~~~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ wput.c:245:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 245 | printout(vNORMAL, opt.skipped == 1 ? _("Skipped %d file.\n") : _("Skipped %d files.\n"), opt.skipped); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ wput.c:247:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 247 | printout(vNORMAL, !opt.wdel ? | ^~~~~~~~~~~ 248 | (opt.failed == 1 ? _("Transmission of %d file failed.\n") : _("Transmission of %d files failed.\n")) : | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 249 | (opt.failed == 1 ? _("Deletion of %d file failed.\n") : _("Deletion of %d files failed.\n")), opt.failed); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ wput.c:321:21: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 321 | printout(vMORE, _("Error: ")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ wput.c:321:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 321 | printout(vMORE, _("Error: ")); | ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ wput.c:322:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 322 | printout(vMORE, _("`%s' could not be resolved. "), optarg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ wput.c:323:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 323 | printout(vLESS, _("Exiting.\n")); | ^~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ wput.c:379:29: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 379 | printout(vLESS, _("Warning: ")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ wput.c:379:29: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 379 | printout(vLESS, _("Warning: ")); | ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ wput.c:380:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 380 | printout(vLESS, _("`%s' could not be resolved. "), val); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ wput.c:381:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 381 | printout(vLESS, _("Disabling proxy support.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ wput.c:478:18: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 478 | printout(vMORE, _("netrc file '%s' cannot be read. skipping\n"), path); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ wput.c:478:18: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 478 | printout(vMORE, _("netrc file '%s' cannot be read. skipping\n"), path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ wput.c:508:19: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 508 | printout(vMORE, _("password_file '%s' cannot be read. skipping\n"), f); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ wput.c:508:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 508 | printout(vMORE, _("password_file '%s' cannot be read. skipping\n"), f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ wput.c:511:20: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 511 | printout(vNORMAL, _("Warning: You are using a wput password file. This is deprecated!\n" | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ wput.c:511:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 511 | printout(vNORMAL, _("Warning: You are using a wput password file. This is deprecated!\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 512 | " Please consider switch to the widely used netrc-files.\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ wput.c:555:23: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 555 | printout(vLESS, _("Fatal error while opening '%s': %s\n"), file, strerror (errno)); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ wput.c:555:23: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 555 | printout(vLESS, _("Fatal error while opening '%s': %s\n"), file, strerror (errno)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ wput.c:587:11: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 587 | tmp = (char *) set_option(com, val); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wput.c:588:44: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 588 | if(tmp == (char *) -1) printout(vLESS, _("%s#%d: Option '%s' not recognized\n"), file, ln, com); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ wput.c:588:44: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 588 | if(tmp == (char *) -1) printout(vLESS, _("%s#%d: Option '%s' not recognized\n"), file, ln, com); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ wput.c:589:44: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 589 | if(tmp == (char *) -2) printout(vLESS, _("%s#%d: Unknow value '%s' for '%s'\n"), file, ln, val, com); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ wput.c:681:69: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 681 | fprintf(opt.output, "\nUsing %d-Bytes for off_t\n", sizeof(off_t)); | ~~ ^~~~~~~~~~~~~ | %lu wput.c:704:33: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 704 | fprintf(stderr, _("Option %s should not appear here :|\n"), long_options[option_index].name); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ wput.c:704:33: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 704 | fprintf(stderr, _("Option %s should not appear here :|\n"), long_options[option_index].name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ /usr/include/stdio.h:259:56: note: passing argument to parameter here 259 | int fprintf(FILE * __restrict, const char * __restrict, ...); | ^ wput.c:709:51: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 709 | if(opt.output == NULL) { perror(_("Unable to open logfile")); exit(4); } | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ wput.c:709:51: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 709 | if(opt.output == NULL) { perror(_("Unable to open logfile")); exit(4); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ /usr/include/stdio.h:274:26: note: passing argument to parameter here 274 | void perror(const char *); | ^ wput.c:753:37: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 753 | case 'I': printout(vNORMAL, _("Warning: ")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ wput.c:753:37: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 753 | case 'I': printout(vNORMAL, _("Warning: ")); | ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ wput.c:754:37: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 754 | printout(vNORMAL, _("You supplied an input-pipe. " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 755 | "This is only to be used as fallback, if no filename " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 756 | "can be found from the URL. This might not be the desired " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 757 | "behavour. TODO\n")); | ~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ wput.c:763:33: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 763 | fprintf(opt.output, _("wput version: %s\n"), version); | ^~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ /usr/include/stdio.h:259:56: note: passing argument to parameter here 259 | int fprintf(FILE * __restrict, const char * __restrict, ...); | ^ wput.c:767:29: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 767 | fprintf(stderr, _("Usage: wput [options] [file]... [url]...\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 768 | " url ftp://[username[:password]@]hostname[:port][/[path/][file]]\n\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 769 | "Startup:\n" | ~~~~~~~~~~~~ 770 | " -V, --version Display the version of wput and exit.\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 771 | " -h, --help Print this help-screen\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ /usr/include/stdio.h:259:56: note: passing argument to parameter here 259 | int fprintf(FILE * __restrict, const char * __restrict, ...); | ^ wput.c:767:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 767 | fprintf(stderr, _("Usage: wput [options] [file]... [url]...\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 768 | " url ftp://[username[:password]@]hostname[:port][/[path/][file]]\n\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 769 | "Startup:\n" | ~~~~~~~~~~~~ 770 | " -V, --version Display the version of wput and exit.\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 771 | " -h, --help Print this help-screen\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ wput.c:767:29: note: treat the string as an argument to avoid this 767 | fprintf(stderr, _("Usage: wput [options] [file]... [url]...\n" | ^ | "%s", ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ wput.c:773:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 773 | fprintf(stderr, _( | ^~ 774 | " -b, --background go to background after startup\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ /usr/include/stdio.h:259:56: note: passing argument to parameter here 259 | int fprintf(FILE * __restrict, const char * __restrict, ...); | ^ wput.c:773:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 773 | fprintf(stderr, _( | ^~ 774 | " -b, --background go to background after startup\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ wput.c:773:20: note: treat the string as an argument to avoid this 773 | fprintf(stderr, _( | ^ | "%s", ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ wput.c:778:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 778 | fprintf(stderr, _( | ^~ 779 | "Logging and input file:\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 780 | " -o, --output-file=FILE log messages to FILE\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | " -a, --append-output=FILE append log messages to FILE\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 782 | " -q, --quiet quiet (no output)\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 783 | " -v, --verbose be verbose\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 784 | " -d, --debug debug output\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 785 | " -nv, --less-verbose be less verbose\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 786 | " -i, --input-file=FILE read the URLs from FILE\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 787 | " -s, --sort sorts all input URLs by server-ip and path\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 788 | " --basename=PATH snip PATH off each file when appendig to an URL\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 789 | " -I, --input-pipe=COMMAND take the output of COMMAND as data-source\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 790 | /* will execute the command with the url and file as param and use its output as input | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 791 | for the uploading file */ | ~~~~~~~~~~~~~~~~~~~~~~~~~ 792 | " -R, --remove-source-files unlink files upon successful upload\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 793 | "\n")); | ~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ /usr/include/stdio.h:259:56: note: passing argument to parameter here 259 | int fprintf(FILE * __restrict, const char * __restrict, ...); | ^ wput.c:778:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 778 | fprintf(stderr, _( | ^~ 779 | "Logging and input file:\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 780 | " -o, --output-file=FILE log messages to FILE\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | " -a, --append-output=FILE append log messages to FILE\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 782 | " -q, --quiet quiet (no output)\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 783 | " -v, --verbose be verbose\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 784 | " -d, --debug debug output\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 785 | " -nv, --less-verbose be less verbose\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 786 | " -i, --input-file=FILE read the URLs from FILE\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 787 | " -s, --sort sorts all input URLs by server-ip and path\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 788 | " --basename=PATH snip PATH off each file when appendig to an URL\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 789 | " -I, --input-pipe=COMMAND take the output of COMMAND as data-source\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 790 | /* will execute the command with the url and file as param and use its output as input | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 791 | for the uploading file */ | ~~~~~~~~~~~~~~~~~~~~~~~~~ 792 | " -R, --remove-source-files unlink files upon successful upload\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 793 | "\n")); | ~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ wput.c:778:20: note: treat the string as an argument to avoid this 778 | fprintf(stderr, _( | ^ | "%s", ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ wput.c:794:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 794 | fprintf(stderr, _( | ^~ 795 | "Connection:\n" | ~~~~~~~~~~~~~~~ 796 | " --bind-address=ADDR bind to ADDR (hostname or IP) on local host\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 797 | " -t, --tries=NUMBER set retry count to NUMBER (-1 means infinite)\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 798 | " -nc, --dont-continue do not resume partially-uploaded files\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 799 | " -u, --reupload do not skip already completed files\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 800 | " --skip-larger do not upload files if remote size is larger\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 801 | " --skip-existing do not upload files that exist remotely\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 802 | " -N, --timestamping don't re-upload files unless newer than remote\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 803 | " -T, --timeout=10th-SECONDS set various timeouts to 10th-SECONDS\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 804 | " -w, --wait=10th-SECONDS wait 10th-SECONDS between uploads. (default: 0)\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 805 | " --random-wait wait from 0...2*WAIT secs between uploads.\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 806 | " --waitretry=SECONDS wait SECONDS between retries of an upload\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 807 | " -l, --limit-rate=RATE limit upload rate to RATE\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 808 | " -nd, --no-directories do not create any directories\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 809 | " -Y, --proxy=http/socks/off set proxy type or turn off\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ /usr/include/stdio.h:259:56: note: passing argument to parameter here 259 | int fprintf(FILE * __restrict, const char * __restrict, ...); | ^ wput.c:794:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 794 | fprintf(stderr, _( | ^~ 795 | "Connection:\n" | ~~~~~~~~~~~~~~~ 796 | " --bind-address=ADDR bind to ADDR (hostname or IP) on local host\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 797 | " -t, --tries=NUMBER set retry count to NUMBER (-1 means infinite)\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 798 | " -nc, --dont-continue do not resume partially-uploaded files\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 799 | " -u, --reupload do not skip already completed files\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 800 | " --skip-larger do not upload files if remote size is larger\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 801 | " --skip-existing do not upload files that exist remotely\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 802 | " -N, --timestamping don't re-upload files unless newer than remote\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 803 | " -T, --timeout=10th-SECONDS set various timeouts to 10th-SECONDS\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 804 | " -w, --wait=10th-SECONDS wait 10th-SECONDS between uploads. (default: 0)\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 805 | " --random-wait wait from 0...2*WAIT secs between uploads.\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 806 | " --waitretry=SECONDS wait SECONDS between retries of an upload\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 807 | " -l, --limit-rate=RATE limit upload rate to RATE\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 808 | " -nd, --no-directories do not create any directories\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 809 | " -Y, --proxy=http/socks/off set proxy type or turn off\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ wput.c:794:20: note: treat the string as an argument to avoid this 794 | fprintf(stderr, _( | ^ | "%s", ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ wput.c:813:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 813 | fprintf(stderr, _( | ^~ 814 | "FTP-Options:\n" | ~~~~~~~~~~~~~~~~ 815 | " -p, --port-mode no-passive, turn on port mode ftp (def. pasv)\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 816 | " -A, --ascii force ASCII mode-transfer\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 817 | " -B, --binary force BINARY mode-transfer\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 818 | " -m, --chmod change mode of transferred files ([0-7]{3})\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ /usr/include/stdio.h:259:56: note: passing argument to parameter here 259 | int fprintf(FILE * __restrict, const char * __restrict, ...); | ^ wput.c:813:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 813 | fprintf(stderr, _( | ^~ 814 | "FTP-Options:\n" | ~~~~~~~~~~~~~~~~ 815 | " -p, --port-mode no-passive, turn on port mode ftp (def. pasv)\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 816 | " -A, --ascii force ASCII mode-transfer\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 817 | " -B, --binary force BINARY mode-transfer\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 818 | " -m, --chmod change mode of transferred files ([0-7]{3})\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ wput.c:813:20: note: treat the string as an argument to avoid this 813 | fprintf(stderr, _( | ^ | "%s", ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ wput.c:827:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 827 | fprintf(stderr, _( | ^~ 828 | "\n" | ~~~~ 829 | "See wput(1) for more detailed descriptions of the options.\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 830 | "Report bugs and suggestions via SourceForge at\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 831 | "http://sourceforge.net/tracker/?group_id=141519\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ /usr/include/stdio.h:259:56: note: passing argument to parameter here 259 | int fprintf(FILE * __restrict, const char * __restrict, ...); | ^ wput.c:827:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 827 | fprintf(stderr, _( | ^~ 828 | "\n" | ~~~~ 829 | "See wput(1) for more detailed descriptions of the options.\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 830 | "Report bugs and suggestions via SourceForge at\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 831 | "http://sourceforge.net/tracker/?group_id=141519\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ wput.c:827:20: note: treat the string as an argument to avoid this 827 | fprintf(stderr, _( | ^ | "%s", ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ 62 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Wall -g -DLOCALEDIR=\"/usr/local/share/locale\" -c netrc.c -o netrc.o cc -O2 -pipe -DLIBICONV_PLUG -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Wall -g -DLOCALEDIR=\"/usr/local/share/locale\" -c ftp.c -o ftp.o ftp.c:100:5: warning: variable 'res' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 100 | if(!mkd) { | ^~~~ ftp.c:105:5: note: uninitialized use occurs here 105 | if(res < 0 && opt.no_directories) | ^~~ ftp.c:100:2: note: remove the 'if' if its condition is always true 100 | if(!mkd) { | ^~~~~~~~ ftp.c:92:9: note: initialize the variable 'res' to silence this warning 92 | int res; | ^ | = 0 ftp.c:170:19: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 170 | printout(vMORE, _("Remote file size is bigger than local size. Restarting at 0\n")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftp.c:170:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 170 | printout(vMORE, _("Remote file size is bigger than local size. Restarting at 0\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftp.c:174:19: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 174 | printout(vMORE, _("Remote file size is equal to local size. Restarting at 0\n")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftp.c:174:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 174 | printout(vMORE, _("Remote file size is equal to local size. Restarting at 0\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftp.c:178:19: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 178 | printout(vMORE, _("Remote file size is smaller than local size. Restarting at 0.\n")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftp.c:178:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 178 | printout(vMORE, _("Remote file size is smaller than local size. Restarting at 0.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftp.c:219:20: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 219 | printout(vLESS, _("Error: ")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftp.c:219:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 219 | printout(vLESS, _("Error: ")); | ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftp.c:220:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 220 | printout(vLESS, _("Cannot open local source file to read\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftp.c:240:20: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 240 | printout(vLESS, _("Error: ")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftp.c:240:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 240 | printout(vLESS, _("Error: ")); | ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftp.c:241:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 241 | printout(vLESS, _("opening the input-pipe failed: %s\n"), strerror(errno)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftp.c:224:12: warning: variable 'fd' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 224 | } else if(opt.input_pipe) { | ^~~~~~~~~~~~~~ ftp.c:254:9: note: uninitialized use occurs here 254 | return fd; | ^~ ftp.c:224:9: note: remove the 'if' if its condition is always true 224 | } else if(opt.input_pipe) { | ^~~~~~~~~~~~~~~~~~ ftp.c:206:8: note: initialize the variable 'fd' to silence this warning 206 | int fd; | ^ | = 0 ftp.c:284:19: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 284 | printout(vMORE, _("Disabling resuming due to ascii-mode transfer\n")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftp.c:284:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 284 | printout(vMORE, _("Disabling resuming due to ascii-mode transfer\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftp.c:347:20: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 347 | printout(vLESS, _("Error: ")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftp.c:347:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 347 | printout(vLESS, _("Error: ")); | ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftp.c:348:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 348 | printout(vLESS, _("local file could not be read: %s\n"), strerror(errno)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftp.c:385:22: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 385 | printout(vLESS, _("Error: ")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftp.c:385:22: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 385 | printout(vLESS, _("Error: ")); | ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftp.c:386:22: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 386 | printout(vLESS, _("Error encountered during uploading data\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftp.c:405:21: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 405 | printout(vLESS, _("Error: ")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftp.c:405:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 405 | printout(vLESS, _("Error: ")); | ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftp.c:406:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 406 | printout(vLESS, _("Error encountered during uploading data (%s)\n"), strerror(errno)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftp.c:462:20: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 462 | printout(vMORE, _("Removing source file `%s'\n"), fsession->local_fname); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftp.c:462:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 462 | printout(vMORE, _("Removing source file `%s'\n"), fsession->local_fname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftp.c:482:19: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 482 | printout(vLESS, _("No such file or directory: %s\n"), filename); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftp.c:482:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 482 | printout(vLESS, _("No such file or directory: %s\n"), filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftp.c:492:22: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 492 | printout(vDEBUG, _("RMD of directory %s failed, probably not empty; deleting recursively\n"), filename); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftp.c:492:22: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 492 | printout(vDEBUG, _("RMD of directory %s failed, probably not empty; deleting recursively\n"), filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftp.c:505:22: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 505 | printout(vLESS, _("Failed to change to target directory. Skipping this file/dir.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftp.c:522:22: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 522 | printout(vLESS, _("Directory empty, deletion failed.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftp.c:537:22: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 537 | printout(vLESS, _("Failed to change to parent directory. Skipping this file/dir.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftp.c:563:21: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 563 | printout(vNORMAL, _("\n%s deleted.\n\n"), filename); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftp.c:563:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 563 | printout(vNORMAL, _("\n%s deleted.\n\n"), filename); | ^~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftp.c:591:19: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 591 | printout(vLESS, _("-- Skipping file: `%s'\n"), fsession->local_fname); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftp.c:591:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 591 | printout(vLESS, _("-- Skipping file: `%s'\n"), fsession->local_fname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftp.c:609:5: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 609 | _("--%s-- Deleting file/dir: ftp://%s:xxxxx@%s:%d/%s%s%s\n"), | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftp.c:609:5: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 609 | _("--%s-- Deleting file/dir: ftp://%s:xxxxx@%s:%d/%s%s%s\n"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftp.c:653:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 653 | printout(vLESS, _("Skipping all files from this account...\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftp.c:686:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 686 | printout(vLESS, _("Failed to change to target directory. Skipping this file/dir.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftp.c:721:22: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 721 | printout(vMORE, _("Unable to set transfer mode. Assuming binary\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftp.c:745:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 745 | printout(vMORE, _("Skipping this file due to resume/upload/skip rules.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftp.c:746:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 746 | printout(vLESS, _("-- Skipping file: %s\n"), fsession->local_fname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftp.c:765:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 765 | printout(vMORE, _("Unable to set transfer mode. Assuming binary\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftp.c:792:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 792 | printout(vLESS, _("Send Failed (%s) "), fsession->ftp->r.message); | ^~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftp.c:794:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 794 | printout(vLESS, _("Delete Failed. ")); | ^~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftp.c:796:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 796 | printout(vLESS, _("Skipping this file\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftp.c:829:51: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] 829 | usleep( (opt.random_wait ? 2 * (float) rand() / 0x7fffffff : 1) | ~ ^~~~~~~~~~ ftp.c:877:20: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 877 | printout(vMORE, _("Warning: ")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftp.c:877:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 877 | printout(vMORE, _("Warning: ")); | ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftp.c:878:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 878 | printout(vMORE, _("`%s' could not be resolved. "), host); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftp.c:879:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 879 | printout(vMORE, _("Assuming the proxy to do the task.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftp.c:881:20: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 881 | printout(vMORE, _("Error: ")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftp.c:881:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 881 | printout(vMORE, _("Error: ")); | ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftp.c:882:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 882 | printout(vMORE, _("`%s' could not be resolved. "), host); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftp.c:883:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 883 | printout(vLESS, _("Skipping this URL.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftp.c:917:22: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 917 | printout(vNORMAL, _("Warning: ")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftp.c:917:22: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 917 | printout(vNORMAL, _("Warning: ")); | ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftp.c:918:22: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 918 | printout(vNORMAL, _("URL: # or ? functions unimplemented. Assuming they are part of the filename.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ 61 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Wall -g -DLOCALEDIR=\"/usr/local/share/locale\" -c ftplib.c -o ftplib.o ftplib.c:94:19: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 94 | printout(vLESS, _("Receive-Error: Connection broke down.\n")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftplib.c:94:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 94 | printout(vLESS, _("Receive-Error: Connection broke down.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:105:19: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 105 | printout(vLESS, _("Receive-Error: Invalid FTP-answer (%d bytes): %s\n"), strlen(msg), msg); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftplib.c:105:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 105 | printout(vLESS, _("Receive-Error: Invalid FTP-answer (%d bytes): %s\n"), strlen(msg), msg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:107:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 107 | printout(vLESS, _("Reconnecting to be sure, nothing went wrong\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:191:20: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 191 | printout(vNORMAL, _("Connecting to %s:%d... "), | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftplib.c:191:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 191 | printout(vNORMAL, _("Connecting to %s:%d... "), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:201:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 201 | printout(vNORMAL, _("failed!\n")); | ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:204:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 204 | printout(vNORMAL, _("connected")); | ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:216:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 216 | printout(vNORMAL, _("Connection failed (%s)\n"), self->r.message); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:254:20: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 254 | printout(vNORMAL, _("Logging in as %s ... "), user); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftplib.c:254:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 254 | printout(vNORMAL, _("Logging in as %s ... "), user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:270:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 270 | printout(vMORE, _("Warning: ")); | ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:271:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 271 | printout(vMORE, _("remote server requires a password, but none set. Using an empty one.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:279:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 279 | printout(vLESS, _("Error: ")); | ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:280:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 280 | printout(vLESS, _("Server requires account login, which is not supported.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:285:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 285 | printout(vLESS, _("Error: ")); | ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:286:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 286 | printout(vLESS, _("Login-Sequence failed (%s)\n"), self->r.message); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:290:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 290 | printout(vNORMAL, _("Logged in!\n")); | ^~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:350:19: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 350 | printout(vMORE, _("failed.\n")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftplib.c:350:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 350 | printout(vMORE, _("failed.\n")); | ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:367:18: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 367 | printout(vMORE, _("done (%s).\n"), self->r.message); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftplib.c:367:18: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 367 | printout(vMORE, _("done (%s).\n"), self->r.message); | ^~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:381:19: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 381 | printout(vMORE, _("failed.\n")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftplib.c:381:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 381 | printout(vMORE, _("failed.\n")); | ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:384:18: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 384 | printout(vMORE, _("done.\n")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftplib.c:384:18: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 384 | printout(vMORE, _("done.\n")); | ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:386:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 386 | printout(vNORMAL, _("Connection cancelled (%s)\n"), self->r.message); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:447:20: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 447 | printout(vMORE, _("done (modified on %d.%d.%d at %d:%d:%d)\n"), ts.tm_mday, | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftplib.c:447:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 447 | printout(vMORE, _("done (modified on %d.%d.%d at %d:%d:%d)\n"), ts.tm_mday, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:452:19: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 452 | printout(vMORE, _("failed.\n")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftplib.c:452:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 452 | printout(vMORE, _("failed.\n")); | ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:481:20: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 481 | printout(vMORE, _("done (%s bytes)\n"), self->r.message); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftplib.c:481:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 481 | printout(vMORE, _("done (%s bytes)\n"), self->r.message); | ^~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:485:19: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 485 | printout(vMORE, _("failed.\n")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftplib.c:485:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 485 | printout(vMORE, _("failed.\n")); | ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:531:19: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 531 | printout(vMORE, _("done.\n")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftplib.c:531:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 531 | printout(vMORE, _("done.\n")); | ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:535:18: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 535 | printout(vMORE, _("failed.\n")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftplib.c:535:18: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 535 | printout(vMORE, _("failed.\n")); | ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:552:19: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 552 | printout(vMORE, _(" failed (%s).\n"), self->r.message); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftplib.c:552:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 552 | printout(vMORE, _(" failed (%s).\n"), self->r.message); | ^~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:569:19: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 569 | printout(vMORE, _(" failed (%s).\n"), self->r.message); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftplib.c:569:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 569 | printout(vMORE, _(" failed (%s).\n"), self->r.message); | ^~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:594:19: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 594 | printout(vMORE, _("failed.\n")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftplib.c:594:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 594 | printout(vMORE, _("failed.\n")); | ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:597:18: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 597 | printout(vMORE, _("done.\n")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftplib.c:597:18: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 597 | printout(vMORE, _("done.\n")); | ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:622:19: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 622 | printout(vMORE, _(" failed (%s).\n"), self->r.message); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftplib.c:622:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 622 | printout(vMORE, _(" failed (%s).\n"), self->r.message); | ^~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:625:19: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 625 | printout(vMORE, _(" done.\n")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftplib.c:625:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 625 | printout(vMORE, _(" done.\n")); | ^~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:627:18: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 627 | printout(vMORE, _("\n")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftplib.c:627:18: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 627 | printout(vMORE, _("\n")); | ^~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:607:6: warning: variable 'res' set but not used [-Wunused-but-set-variable] 607 | int res; | ^ ftplib.c:649:19: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 649 | printout(vLESS, _("Error: ")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftplib.c:649:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 649 | printout(vLESS, _("Error: ")); | ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:650:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 650 | printout(vLESS, _("Cannot initiate data-connection (%s)\n"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:694:19: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 694 | printout(vLESS, _("Error: ")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftplib.c:694:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 694 | printout(vLESS, _("Error: ")); | ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:695:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 695 | printout(vLESS, _("listing directory failed (%s)\n"), self->r.message); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:724:19: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 724 | printout(vMORE, _("failed.\nServer seems not to support resuming. Restarting at 0\n")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftplib.c:724:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 724 | printout(vMORE, _("failed.\nServer seems not to support resuming. Restarting at 0\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:727:18: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 727 | printout(vMORE, _("done.\n")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftplib.c:727:18: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 727 | printout(vMORE, _("done.\n")); | ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:744:18: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 744 | printout(vMORE, _("[not done, but should be allright]\n")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftplib.c:744:18: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 744 | printout(vMORE, _("[not done, but should be allright]\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:771:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 771 | if(self->r.reply[0] == '1') { | ^ ftplib.c:748:3: note: previous statement is here 748 | else if(res == ERR_PERMANENT) | ^ ftplib.c:772:19: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 772 | printout(vMORE, _("done.\n")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftplib.c:772:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 772 | printout(vMORE, _("done.\n")); | ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:776:19: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 776 | printout(vMORE, _("failed (%s). (disabling resuming)\n"), self->r.message); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftplib.c:776:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 776 | printout(vMORE, _("failed (%s). (disabling resuming)\n"), self->r.message); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:780:19: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 780 | printout(vMORE, _("failed.\n"), self->r.message); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftplib.c:780:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 780 | printout(vMORE, _("failed.\n"), self->r.message); | ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:783:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 783 | printout(vMORE, _("Trying to switch PORT/PASV mode\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:787:18: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 787 | printout(vMORE, _("failed (%d %s). (skipping)\n"), self->r.code, self->r.message); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftplib.c:787:18: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 787 | printout(vMORE, _("failed (%d %s). (skipping)\n"), self->r.code, self->r.message); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:801:19: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 801 | printout(vMORE, _("failed (%s)\n"), self->r.message); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftplib.c:801:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 801 | printout(vMORE, _("failed (%s)\n"), self->r.message); | ^~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:806:19: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 806 | printout(vMORE, _("done.\n")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftplib.c:806:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 806 | printout(vMORE, _("done.\n")); | ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:809:18: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 809 | printout(vMORE, _("failed (%d %s). (skipping)\n"), self->r.code, self->r.message); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftplib.c:809:18: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 809 | printout(vMORE, _("failed (%d %s). (skipping)\n"), self->r.code, self->r.message); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:823:19: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 823 | printout(vMORE, _("failed (%s)\n"), self->r.message); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftplib.c:823:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 823 | printout(vMORE, _("failed (%s)\n"), self->r.message); | ^~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:826:19: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 826 | printout(vMORE, _("failed (%s)\n"), self->r.message); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftplib.c:826:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 826 | printout(vMORE, _("failed (%s)\n"), self->r.message); | ^~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:829:19: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 829 | printout(vMORE, _("done.\n")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftplib.c:829:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 829 | printout(vMORE, _("done.\n")); | ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:832:18: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 832 | printout(vMORE, _("failed (%d %s). (skipping)\n"), self->r.code, self->r.message); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftplib.c:832:18: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 832 | printout(vMORE, _("failed (%d %s). (skipping)\n"), self->r.code, self->r.message); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:918:19: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 918 | printout(vMORE, _("failed.\n")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftplib.c:918:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 918 | printout(vMORE, _("failed.\n")); | ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:921:18: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 921 | printout(vMORE, _("done.\n")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftplib.c:921:18: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 921 | printout(vMORE, _("done.\n")); | ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:933:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 933 | printout(vMORE, _("connection failed.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:951:19: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 951 | printout(vMORE, _("Trying to listen on proxy server... ")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftplib.c:951:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 951 | printout(vMORE, _("Trying to listen on proxy server... ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:954:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 954 | printout(vMORE, _("failed. Falling back to listen locally\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:955:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 955 | printout(vMORE, _("Warning: ")); | ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:956:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 956 | printout(vMORE, _( | ^~ 957 | "Unless FXP is enabled remotely, your control-connection " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 958 | "should be from the same IP-address, as your PORT bind-request. " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 959 | "So you should consider PASV-mode or reconnect without a proxy.\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 960 | )); | ~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:963:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 963 | printout(vMORE, _("done.\n")); | ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:966:21: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 966 | printout(vNORMAL, _("Warning: ")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftplib.c:966:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 966 | printout(vNORMAL, _("Warning: ")); | ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:967:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 967 | printout(vNORMAL, _("Using port-mode. Unable to use the http-proxy for this connection\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:979:31: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 979 | if(res == ERR_FAILED) Abort(_("Cannot determine local IP address")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftplib.c:979:31: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'char *' [-Wint-conversion] 979 | if(res == ERR_FAILED) Abort(_("Cannot determine local IP address")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:30:19: note: passing argument to parameter 'msg' here 30 | void Abort(char * msg); | ^ ftplib.c:988:19: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 988 | printout(vMORE, _("failed.\n")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftplib.c:988:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 988 | printout(vMORE, _("failed.\n")); | ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ ftplib.c:991:18: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 991 | printout(vMORE, _("done.\n")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftplib.c:991:18: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 991 | printout(vMORE, _("done.\n")); | ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ 111 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Wall -g -DLOCALEDIR=\"/usr/local/share/locale\" -c utils.c -o utils.o utils.c:247:21: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 247 | printout(vMORE, _("parse-error in escaped character: %c is not a hexadecimal character\n"), h); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ utils.c:247:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 247 | printout(vMORE, _("parse-error in escaped character: %c is not a hexadecimal character\n"), h); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ utils.c:85:51: note: passing argument to parameter 'fmt' here 85 | void printout(unsigned char verbose, const char * fmt, ...){ | ^ utils.c:271:19: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 271 | printout(vLESS, _("Waiting %d seconds... "), opt.retry_interval); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ utils.c:271:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 271 | printout(vLESS, _("Waiting %d seconds... "), opt.retry_interval); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ utils.c:85:51: note: passing argument to parameter 'fmt' here 85 | void printout(unsigned char verbose, const char * fmt, ...){ | ^ utils.c:284:19: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 284 | printout(vMORE, _("Warning: ")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ utils.c:284:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 284 | printout(vMORE, _("Warning: ")); | ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ utils.c:85:51: note: passing argument to parameter 'fmt' here 85 | void printout(unsigned char verbose, const char * fmt, ...){ | ^ utils.c:285:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 285 | printout(vMORE, _("No http-header found. Assuming socks-proxy $host:$port for `%s'\n"), url); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ utils.c:85:51: note: passing argument to parameter 'fmt' here 85 | void printout(unsigned char verbose, const char * fmt, ...){ | ^ utils.c:311:19: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 311 | printout(vMORE, _("Warning: ")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ utils.c:311:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 311 | printout(vMORE, _("Warning: ")); | ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ utils.c:85:51: note: passing argument to parameter 'fmt' here 85 | void printout(unsigned char verbose, const char * fmt, ...){ | ^ utils.c:312:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 312 | printout(vMORE, _("No port specified. Assuming default port %d.\n"), opt.ps.port); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ utils.c:85:51: note: passing argument to parameter 'fmt' here 85 | void printout(unsigned char verbose, const char * fmt, ...){ | ^ 10 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Wall -g -DLOCALEDIR=\"/usr/local/share/locale\" -c progress.c -o progress.o progress.c:254:19: warning: explicitly assigning value of variable of type 'double' to itself [-Wself-assign] 254 | unit = 0, trate = trate; | ~~~~~ ^ ~~~~~ progress.c:337:27: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 337 | printout(vNORMAL, _("Length: %s"), legible(fsession->local_fsize)); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ progress.c:337:27: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 337 | printout(vNORMAL, _("Length: %s"), legible(fsession->local_fsize)); | ^~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ progress.c:339:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 339 | bar.dots = 0; | ^ progress.c:336:5: note: previous statement is here 336 | if(fsession->local_fname) /* input-pipe */ | ^ progress.c:341:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 341 | printout(vNORMAL, _(" [%s to go]\n"), legible(fsession->local_fsize - fsession->target_fsize) ); | ^~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ progress.c:348:22: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 348 | printout(vNORMAL, _("%* [ skipped %dK ]\n%* %dK "), skipped_k_len+2, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ 6 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Wall -g -DLOCALEDIR=\"/usr/local/share/locale\" -c socketlib.c -o socketlib.o socketlib.c:94:9: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 94 | perror(_("client: can't open stream socket")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ socketlib.c:94:9: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 94 | perror(_("client: can't open stream socket")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ /usr/include/stdio.h:274:26: note: passing argument to parameter here 274 | void perror(const char *); | ^ socketlib.c:114:10: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 114 | perror(_("server: can't open new socket")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ socketlib.c:114:10: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 114 | perror(_("server: can't open new socket")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ /usr/include/stdio.h:274:26: note: passing argument to parameter here 274 | void perror(const char *); | ^ socketlib.c:124:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 124 | printout(vLESS, _("Error: ")); | ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ socketlib.c:125:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 125 | printout(vLESS, _("server: can't bind local address\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ socketlib.c:163:12: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 163 | perror(_("error accepting the incoming connection")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ socketlib.c:163:12: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 163 | perror(_("error accepting the incoming connection")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ /usr/include/stdio.h:274:26: note: passing argument to parameter here 274 | void perror(const char *); | ^ socketlib.c:240:21: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 240 | printout(vNORMAL, _("Receive-Warning: read() timed out. Read '%s' so far.\n"), buf); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ socketlib.c:240:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 240 | printout(vNORMAL, _("Receive-Warning: read() timed out. Read '%s' so far.\n"), buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ socketlib.c:245:18: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 245 | printout(vLESS, _("Receive-Error: read() failed. Read '%s' so far. (errno: %s (%d))\n"), buf, strerror(errno), errno); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ socketlib.c:245:18: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 245 | printout(vLESS, _("Receive-Error: read() failed. Read '%s' so far. (errno: %s (%d))\n"), buf, strerror(errno), errno); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ socketlib.c:264:21: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 264 | printout(vNORMAL, _("Error: ")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ socketlib.c:264:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 264 | printout(vNORMAL, _("Error: ")); | ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ socketlib.c:265:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 265 | printout(vNORMAL, _("recv() timed out. No data received\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ socketlib.c:430:21: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 430 | printout(vNORMAL, _("failed.\n")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ socketlib.c:430:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 430 | printout(vNORMAL, _("failed.\n")); | ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ socketlib.c:431:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 431 | printout(vLESS, _("Error: ")); | ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ socketlib.c:432:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 432 | printout(vLESS, _("Connection to proxy cannot be established.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ socketlib.c:445:19: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 445 | printout(vMORE, _("read() failed: %d (%d: %s)\n"), res, errno, strerror(errno)); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ socketlib.c:445:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 445 | printout(vMORE, _("read() failed: %d (%d: %s)\n"), res, errno, strerror(errno)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ socketlib.c:450:21: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 450 | printout(vNORMAL, _("failed.\n")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ socketlib.c:450:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 450 | printout(vNORMAL, _("failed.\n")); | ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ socketlib.c:451:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 451 | printout(vLESS, _("Error: ")); | ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ socketlib.c:452:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 452 | printout(vLESS, _("Proxy version mismatch (%d)\n"), t[0]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ socketlib.c:470:19: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 470 | Abort(_("Proxy authentication failure\n")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ socketlib.c:470:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'char *' [-Wint-conversion] 470 | Abort(_("Proxy authentication failure\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:30:19: note: passing argument to parameter 'msg' here 30 | void Abort(char * msg); | ^ socketlib.c:475:21: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 475 | printout(vNORMAL, _("failed.\n")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ socketlib.c:475:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 475 | printout(vNORMAL, _("failed.\n")); | ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ socketlib.c:476:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 476 | printout(vLESS, _("Error: ")); | ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ socketlib.c:477:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 477 | printout(vLESS, _("Proxy method mismatch (%d)\n"), t[1]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ socketlib.c:495:19: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 495 | printout(vLESS, _("Error: ")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ socketlib.c:495:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 495 | printout(vLESS, _("Error: ")); | ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ socketlib.c:496:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 496 | printout(vLESS, _("Proxy discarded listen-request. Error-Code: %d\n"), t[1]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ socketlib.c:497:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 497 | printout(vMORE, _("Disabling listen-tries for proxy\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ socketlib.c:503:18: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 503 | printout(vMORE, _("Proxy is listening on %s:%d for incoming connections\n"), printip((unsigned char *) ip), *port); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ socketlib.c:503:18: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 503 | printout(vMORE, _("Proxy is listening on %s:%d for incoming connections\n"), printip((unsigned char *) ip), *port); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ socketlib.c:515:19: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 515 | printout(vLESS, _("Error: ")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ socketlib.c:515:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 515 | printout(vLESS, _("Error: ")); | ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ socketlib.c:516:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 516 | printout(vLESS, _("Proxy encountered an error while accepting. Error-Code: %d\n"), t[1]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ socketlib.c:534:19: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 534 | printout(vMORE, _("Using SOCKS5-Proxy %s:%d... "), printip((unsigned char *) &ps->ip), ps->port); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ socketlib.c:534:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 534 | printout(vMORE, _("Using SOCKS5-Proxy %s:%d... "), printip((unsigned char *) &ps->ip), ps->port); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ socketlib.c:566:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 566 | printout(vMORE, _("Proxy connection established.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ socketlib.c:568:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 568 | printout(vLESS, _("Error: ")); | ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ socketlib.c:569:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 569 | printout(vLESS, _("Connection through proxy failed. Error-code: %d\n"), t[1]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ socketlib.c:623:20: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 623 | printout(vLESS, _("Error: ")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ socketlib.c:623:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 623 | printout(vLESS, _("Error: ")); | ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ socketlib.c:624:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 624 | printout(vLESS, _("Connection could not be established.\nProxy states '%s'"), request); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ 48 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Wall -g -DLOCALEDIR=\"/usr/local/share/locale\" -c queue.c -o queue.o queue.c:130:19: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 130 | printout(vLESS, _("Error: Please specify a url first.\n")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ queue.c:130:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 130 | printout(vLESS, _("Error: Please specify a url first.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ queue.c:334:21: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 334 | printout(vLESS, _("Warning: ")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ queue.c:334:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 334 | printout(vLESS, _("Warning: ")); | ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ queue.c:335:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 335 | printout(vLESS, _("Error encountered but ignored during stat of `%s'.\n"), fname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ queue.c:341:21: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 341 | printout(vLESS, _("Warning: ")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ queue.c:341:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 341 | printout(vLESS, _("Warning: ")); | ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ queue.c:342:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 342 | printout(vLESS, _("Error encountered but ignored during opendir of `%s'.\n"), fname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ queue.c:382:18: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 382 | printout(vLESS, _("Warning: ")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ queue.c:382:18: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 382 | printout(vLESS, _("Warning: ")); | ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ queue.c:383:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 383 | printout(vLESS, _("Seems as though there are two equivalent entries to upload.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ queue.c:438:19: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 438 | printout(vLESS, _("Error: ")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ queue.c:438:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 438 | printout(vLESS, _("Error: ")); | ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ queue.c:439:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 439 | printout(vLESS, _("the url `%s' could not be parsed\n"), url); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ queue.c:459:20: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 459 | printout(vLESS, _("Warning: ")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ queue.c:459:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 459 | printout(vLESS, _("Warning: ")); | ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ queue.c:460:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 460 | printout(vLESS, _("Neither a remote location nor a local filename " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 461 | "has been specified. Assuming you want to upload the " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 462 | "current working directory to the remote server.\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ queue.c:495:25: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 495 | printout(vNORMAL, _("Warning: ")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ queue.c:495:25: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 495 | printout(vNORMAL, _("Warning: ")); | ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ queue.c:496:25: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 496 | printout(vNORMAL, _("No local file specified and no file found from URL.\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 497 | "Assuming the current working directory is to be uploaded to " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 498 | "the remote server.\n")); | ~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ queue.c:530:21: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 530 | printout(vMORE, _("Warning: ")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ queue.c:530:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 530 | printout(vMORE, _("Warning: ")); | ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ queue.c:531:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 531 | printout(vMORE, _("File `%s' does not exist. Assuming you supply its input using the -I flag.\n"), file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ queue.c:540:21: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 540 | printout(vLESS, _("Error: ")); | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ queue.c:540:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 540 | printout(vLESS, _("Error: ")); | ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ queue.c:541:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 541 | printout(vLESS, _("File `%s' does not exist. Don't know what to do about this URL.\n"), file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ 26 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Wall -g -DLOCALEDIR=\"/usr/local/share/locale\" -c ftp-ls.c -o ftp-ls.o ftp-ls.c:957:32: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 957 | logprintf (LOG_NOTQUIET, _("\ | ^ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ftp-ls.c:957:32: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 957 | logprintf (LOG_NOTQUIET, _("\ | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ 958 | Unsupported listing type, trying Unix listing parser.\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' 71 | # define _(string) gettext (string) | ^ ./wget.h:22:48: note: expanded from macro 'logprintf' 22 | # define logprintf( x, ...) printout( vDEBUG, __VA_ARGS__) | ^~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 31 | void printout(unsigned char verbose, const char * fmt, ...); | ^ 2 warnings generated. cc -o ../wput wput.o netrc.o ftp.o ftplib.o utils.o progress.o socketlib.o queue.o ftp-ls.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for wput-0.6.2_8 ===> Generating temporary packing list cd po && /usr/bin/make all cd src && /usr/bin/make all cc -o ../wput wput.o netrc.o ftp.o ftplib.o utils.o progress.o socketlib.o queue.o ftp-ls.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib cd po && /usr/bin/make install /bin/sh .././mkinstalldirs /wrkdirs/usr/ports/ftp/wput/work/stage/usr/local/share installing da.gmo as /wrkdirs/usr/ports/ftp/wput/work/stage/usr/local/share/locale/da/LC_MESSAGES/wput.mo installing de.gmo as /wrkdirs/usr/ports/ftp/wput/work/stage/usr/local/share/locale/de/LC_MESSAGES/wput.mo installing el.gmo as /wrkdirs/usr/ports/ftp/wput/work/stage/usr/local/share/locale/el/LC_MESSAGES/wput.mo installing es.gmo as /wrkdirs/usr/ports/ftp/wput/work/stage/usr/local/share/locale/es/LC_MESSAGES/wput.mo installing fi.gmo as /wrkdirs/usr/ports/ftp/wput/work/stage/usr/local/share/locale/fi/LC_MESSAGES/wput.mo installing fr.gmo as /wrkdirs/usr/ports/ftp/wput/work/stage/usr/local/share/locale/fr/LC_MESSAGES/wput.mo installing it.gmo as /wrkdirs/usr/ports/ftp/wput/work/stage/usr/local/share/locale/it/LC_MESSAGES/wput.mo installing nl.gmo as /wrkdirs/usr/ports/ftp/wput/work/stage/usr/local/share/locale/nl/LC_MESSAGES/wput.mo installing pl.gmo as /wrkdirs/usr/ports/ftp/wput/work/stage/usr/local/share/locale/pl/LC_MESSAGES/wput.mo installing ru.gmo as /wrkdirs/usr/ports/ftp/wput/work/stage/usr/local/share/locale/ru/LC_MESSAGES/wput.mo installing sv.gmo as /wrkdirs/usr/ports/ftp/wput/work/stage/usr/local/share/locale/sv/LC_MESSAGES/wput.mo installing tr.gmo as /wrkdirs/usr/ports/ftp/wput/work/stage/usr/local/share/locale/tr/LC_MESSAGES/wput.mo installing zh.gmo as /wrkdirs/usr/ports/ftp/wput/work/stage/usr/local/share/locale/zh/LC_MESSAGES/wput.mo if test "wput" = "gettext-tools"; then /bin/sh .././mkinstalldirs /wrkdirs/usr/ports/ftp/wput/work/stage/usr/local/share/gettext/po; for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot Makevars.template; do install -m 0644 ./$file /wrkdirs/usr/ports/ftp/wput/work/stage/usr/local/share/gettext/po/$file; done; for file in Makevars; do rm -f /wrkdirs/usr/ports/ftp/wput/work/stage/usr/local/share/gettext/po/$file; done; else : ; fi mkdir -p /wrkdirs/usr/ports/ftp/wput/work/stage/usr/local/bin mkdir -p /wrkdirs/usr/ports/ftp/wput/work/stage/usr/local/man/man1 install -m0755 wput /wrkdirs/usr/ports/ftp/wput/work/stage/usr/local/bin ln -sf wput /wrkdirs/usr/ports/ftp/wput/work/stage/usr/local/bin/wdel ---------------- Wput and Wdel installed. See 'wput/wdel -h' or 'man wput/wdel' for usage information. Further documentation is located in the doc/USAGE.* files. Wput is not perfect, so please report any bugs you notice (see BUGS-section in the manpage). ---------------- /usr/bin/strip /wrkdirs/usr/ports/ftp/wput/work/stage/usr/local/bin/wput install -m 444 /wrkdirs/usr/ports/ftp/wput/work/wput-0.6.2/doc/*.1 /wrkdirs/usr/ports/ftp/wput/work/stage/usr/local/share/man/man1/ install -m 0644 /wrkdirs/usr/ports/ftp/wput/work/wput-0.6.2/ABOUT-NLS /wrkdirs/usr/ports/ftp/wput/work/wput-0.6.2/COPYING /wrkdirs/usr/ports/ftp/wput/work/wput-0.6.2/ChangeLog /wrkdirs/usr/ports/ftp/wput/work/wput-0.6.2/INSTALL /wrkdirs/usr/ports/ftp/wput/work/wput-0.6.2/TODO /wrkdirs/usr/ports/ftp/wput/work/stage/usr/local/share/doc/wput install -m 0644 /wrkdirs/usr/ports/ftp/wput/work/wput-0.6.2/doc/USAGE.examples /wrkdirs/usr/ports/ftp/wput/work/wput-0.6.2/doc/USAGE.resumehandling /wrkdirs/usr/ports/ftp/wput/work/wput-0.6.2/doc/USAGE.urlhandling /wrkdirs/usr/ports/ftp/wput/work/wput-0.6.2/doc/passwordfile /wrkdirs/usr/ports/ftp/wput/work/wput-0.6.2/doc/wputrc /wrkdirs/usr/ports/ftp/wput/work/stage/usr/local/share/examples/wput ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2025-05-05T05:45:01+0000' 'PKG_NOTE_ports_top_git_hash=5529c5919b' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=1a35b19e6d' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for wput-0.6.2_8 ===> Building wput-0.6.2_8 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for wput-0.6.2_8 build of ftp/wput | wput-0.6.2_8 ended at Mon May 5 06:46:35 BST 2025 build time: 00:01:34