=>> Building ftp/wput build started at Tue Apr 2 15:59:13 BST 2024 port directory: /usr/ports/ftp/wput package name: wput-0.6.2_8 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: chip-set@mail.ru Makefile datestamp: -rw-r--r-- 1 root wheel 1442 Jan 25 05:29 /usr/ports/ftp/wput/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: d5b972d8e6 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 17 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 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.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-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/13-amd64-default-dan/17/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 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=/ccache/libexec/ccache:/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 CCACHE_DIR="/root/.ccache" 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=/ccache/libexec/ccache:/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 -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-DLIBICONV_PLUG" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG " CCACHE_DIR="/root/.ccache" 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=13.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 mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/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 --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-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... 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.22.3_1.pkg [pkg-builder.dan.net.uk] Installing gettext-runtime-0.22.3_1... [pkg-builder.dan.net.uk] `-- Installing indexinfo-0.3.1... [pkg-builder.dan.net.uk] `-- Extracting indexinfo-0.3.1: . done [pkg-builder.dan.net.uk] Extracting gettext-runtime-0.22.3_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.22.3_1.pkg [pkg-builder.dan.net.uk] Installing gettext-tools-0.22.3_1... [pkg-builder.dan.net.uk] `-- Installing libtextstyle-0.22.3... [pkg-builder.dan.net.uk] `-- Extracting libtextstyle-0.22.3: .......... done [pkg-builder.dan.net.uk] Extracting gettext-tools-0.22.3_1: .......... done ===> wput-0.6.2_8 depends on executable: msgfmt - 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.7.10_2.pkg [pkg-builder.dan.net.uk] Installing gnutls-3.7.10_2... [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.7... [pkg-builder.dan.net.uk] | `-- Installing libunistring-1.2... [pkg-builder.dan.net.uk] | `-- Extracting libunistring-1.2: .......... done [pkg-builder.dan.net.uk] `-- Extracting libidn2-2.3.7: .......... done [pkg-builder.dan.net.uk] `-- Installing libtasn1-4.19.0_1... [pkg-builder.dan.net.uk] `-- Extracting libtasn1-4.19.0_1: .......... done [pkg-builder.dan.net.uk] `-- Installing nettle-3.9.1... [pkg-builder.dan.net.uk] | `-- Installing openssl-3.0.13_1,1... [pkg-builder.dan.net.uk] | `-- Extracting openssl-3.0.13_1,1: .......... done [pkg-builder.dan.net.uk] `-- Extracting nettle-3.9.1: .......... done [pkg-builder.dan.net.uk] `-- Installing p11-kit-0.25.3_1... [pkg-builder.dan.net.uk] | `-- Installing glib-2.80.0,2... [pkg-builder.dan.net.uk] | | `-- Installing libffi-3.4.4_1... [pkg-builder.dan.net.uk] | | `-- Extracting libffi-3.4.4_1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing libiconv-1.17_1... [pkg-builder.dan.net.uk] | | `-- Extracting libiconv-1.17_1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing pcre2-10.43... [pkg-builder.dan.net.uk] | | `-- Installing readline-8.2.10... [pkg-builder.dan.net.uk] | | `-- Extracting readline-8.2.10: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting pcre2-10.43: .......... done [pkg-builder.dan.net.uk] | | `-- Installing py39-packaging-23.2... [pkg-builder.dan.net.uk] | | `-- Installing python39-3.9.18_1... [pkg-builder.dan.net.uk] | | | `-- Installing mpdecimal-2.5.1... [pkg-builder.dan.net.uk] | | | `-- Extracting mpdecimal-2.5.1: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting python39-3.9.18_1: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting py39-packaging-23.2: .......... done [pkg-builder.dan.net.uk] | `-- Extracting glib-2.80.0,2: .......... done [pkg-builder.dan.net.uk] `-- Extracting p11-kit-0.25.3_1: .......... done [pkg-builder.dan.net.uk] `-- Installing unbound-1.19.3... [pkg-builder.dan.net.uk] | `-- Installing expat-2.6.1... [pkg-builder.dan.net.uk] | `-- Extracting expat-2.6.1: .......... done [pkg-builder.dan.net.uk] | `-- Installing libnghttp2-1.60.0... [pkg-builder.dan.net.uk] | `-- Extracting libnghttp2-1.60.0: ....... done ===> Creating groups. Using existing group 'unbound'. ===> Creating users Using existing user 'unbound'. [pkg-builder.dan.net.uk] `-- Extracting unbound-1.19.3: .......... done [pkg-builder.dan.net.uk] Extracting gnutls-3.7.10_2: .......... done ==> Running trigger: gio-modules.ucl Generating GIO modules cache ==> Running trigger: glib-schemas.ucl Compiling glib schemas No schema files found: doing nothing. ===== Message from python39-3.9.18_1: -- Note that some standard Python modules are provided as separate ports as they require additional dependencies. They are available as: py39-gdbm databases/py-gdbm@py39 py39-sqlite3 databases/py-sqlite3@py39 py39-tkinter x11-toolkits/py-tkinter@py39 ===> 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-freebsd13.2 checking host system type... amd64-portbld-freebsd13.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... no checking gnutls/openssl.h presence... no checking for gnutls/openssl.h... no 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 -fstack-protector-strong -fno-strict-aliasing -Wall -g -DLOCALEDIR=\"/usr/local/share/locale\" -c wput.c -o wput.o wput.c:101:2: warning: implicit declaration of function 'bindtextdomain' is invalid in C99 [-Wimplicit-function-declaration] bindtextdomain ("wput", LOCALEDIR); ^ wput.c:102:2: warning: implicit declaration of function 'textdomain' is invalid in C99 [-Wimplicit-function-declaration] textdomain ("wput"); ^ wput.c:156:21: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vLESS, _("Resuming in background. Logging output to 'wput-log'.\n")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ wput.c:156:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vLESS, _("Resuming in background. Logging output to 'wput-log'.\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] if(opt.output == NULL) { perror(_("Unable to open logfile")); exit(4); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ /usr/include/stdio.h:275:26: note: passing argument to parameter here void perror(const char *); ^ wput.c:166:22: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vNORMAL, _("Warning: ")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ wput.c:166:22: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vNORMAL, _("Warning: ")); ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] 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 '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ wput.c:176:22: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vNORMAL, _("Warning: ")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ wput.c:176:22: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vNORMAL, _("Warning: ")); ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vNORMAL, _("reading urls from stdin, while running in background-mode is not reliable.\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ wput.c:186:21: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vNORMAL, _("Warning: ")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ wput.c:186:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vNORMAL, _("Warning: ")); ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vNORMAL, _("Ignoring request to turn proxy-usage on, since no proxy is configured.\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ wput.c:220:21: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vNORMAL, _("Nothing done. Try `%s --help'.\n"), argv[0]); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ wput.c:220:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vNORMAL, _("Nothing done. Try `%s --help'.\n"), argv[0]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vNORMAL, _("FINISHED --%s--\n"), time_str()); ^~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vNORMAL, opt.transfered == 1 ? ^~~~~~~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vNORMAL, opt.transfered == 1 ? ^~~~~~~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] 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 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] printout(vNORMAL, !opt.wdel ? ^~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ wput.c:321:21: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("Error: ")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ wput.c:321:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("Error: ")); ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vMORE, _("`%s' could not be resolved. "), optarg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vLESS, _("Exiting.\n")); ^~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ wput.c:379:29: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vLESS, _("Warning: ")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ wput.c:379:29: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vLESS, _("Warning: ")); ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vLESS, _("`%s' could not be resolved. "), val); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vLESS, _("Disabling proxy support.\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ wput.c:478:18: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("netrc file '%s' cannot be read. skipping\n"), path); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ wput.c:478:18: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("netrc file '%s' cannot be read. skipping\n"), path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ wput.c:508:19: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("password_file '%s' cannot be read. skipping\n"), f); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ wput.c:508:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("password_file '%s' cannot be read. skipping\n"), f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ wput.c:511:20: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vNORMAL, _("Warning: You are using a wput password file. This is deprecated!\n" ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ wput.c:511:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vNORMAL, _("Warning: You are using a wput password file. This is deprecated!\n" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ wput.c:555:23: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vLESS, _("Fatal error while opening '%s': %s\n"), file, strerror (errno)); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ wput.c:555:23: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vLESS, _("Fatal error while opening '%s': %s\n"), file, strerror (errno)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] tmp = (char *) set_option(com, val); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wput.c:588:44: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] if(tmp == (char *) -1) printout(vLESS, _("%s#%d: Option '%s' not recognized\n"), file, ln, com); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ wput.c:588:44: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] if(tmp == (char *) -1) printout(vLESS, _("%s#%d: Option '%s' not recognized\n"), file, ln, com); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] 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 '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] fprintf(opt.output, "\nUsing %d-Bytes for off_t\n", sizeof(off_t)); ~~ ^~~~~~~~~~~~~ %lu wput.c:704:33: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] fprintf(stderr, _("Option %s should not appear here :|\n"), long_options[option_index].name); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ wput.c:704:33: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] fprintf(stderr, _("Option %s should not appear here :|\n"), long_options[option_index].name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ /usr/include/stdio.h:260:56: note: passing argument to parameter here int fprintf(FILE * __restrict, const char * __restrict, ...); ^ wput.c:709:51: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] if(opt.output == NULL) { perror(_("Unable to open logfile")); exit(4); } ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ wput.c:709:51: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] if(opt.output == NULL) { perror(_("Unable to open logfile")); exit(4); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ /usr/include/stdio.h:275:26: note: passing argument to parameter here void perror(const char *); ^ wput.c:753:37: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] case 'I': printout(vNORMAL, _("Warning: ")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ wput.c:753:37: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] case 'I': printout(vNORMAL, _("Warning: ")); ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vNORMAL, _("You supplied an input-pipe. " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] fprintf(opt.output, _("wput version: %s\n"), version); ^~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ /usr/include/stdio.h:260:56: note: passing argument to parameter here 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] fprintf(stderr, _("Usage: wput [options] [file]... [url]...\n" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ /usr/include/stdio.h:260:56: note: passing argument to parameter here int fprintf(FILE * __restrict, const char * __restrict, ...); ^ wput.c:767:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stderr, _("Usage: wput [options] [file]... [url]...\n" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ wput.c:767:29: note: treat the string as an argument to avoid this fprintf(stderr, _("Usage: wput [options] [file]... [url]...\n" ^ "%s", ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ wput.c:773:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] fprintf(stderr, _( ^~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ /usr/include/stdio.h:260:56: note: passing argument to parameter here int fprintf(FILE * __restrict, const char * __restrict, ...); ^ wput.c:773:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stderr, _( ^~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ wput.c:773:20: note: treat the string as an argument to avoid this fprintf(stderr, _( ^ "%s", ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ wput.c:778:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] fprintf(stderr, _( ^~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ /usr/include/stdio.h:260:56: note: passing argument to parameter here int fprintf(FILE * __restrict, const char * __restrict, ...); ^ wput.c:778:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stderr, _( ^~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ wput.c:778:20: note: treat the string as an argument to avoid this fprintf(stderr, _( ^ "%s", ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ wput.c:794:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] fprintf(stderr, _( ^~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ /usr/include/stdio.h:260:56: note: passing argument to parameter here int fprintf(FILE * __restrict, const char * __restrict, ...); ^ wput.c:794:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stderr, _( ^~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ wput.c:794:20: note: treat the string as an argument to avoid this fprintf(stderr, _( ^ "%s", ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ wput.c:813:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] fprintf(stderr, _( ^~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ /usr/include/stdio.h:260:56: note: passing argument to parameter here int fprintf(FILE * __restrict, const char * __restrict, ...); ^ wput.c:813:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stderr, _( ^~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ wput.c:813:20: note: treat the string as an argument to avoid this fprintf(stderr, _( ^ "%s", ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ wput.c:827:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] fprintf(stderr, _( ^~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ /usr/include/stdio.h:260:56: note: passing argument to parameter here int fprintf(FILE * __restrict, const char * __restrict, ...); ^ wput.c:827:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stderr, _( ^~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ wput.c:827:20: note: treat the string as an argument to avoid this fprintf(stderr, _( ^ "%s", ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ 62 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -Wall -g -DLOCALEDIR=\"/usr/local/share/locale\" -c netrc.c -o netrc.o cc -O2 -pipe -DLIBICONV_PLUG -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] if(!mkd) { ^~~~ ftp.c:105:5: note: uninitialized use occurs here if(res < 0 && opt.no_directories) ^~~ ftp.c:100:2: note: remove the 'if' if its condition is always true if(!mkd) { ^~~~~~~~~ ftp.c:92:9: note: initialize the variable 'res' to silence this warning int res; ^ = 0 ftp.c:170:19: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("Remote file size is bigger than local size. Restarting at 0\n")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftp.c:170:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("Remote file size is bigger than local size. Restarting at 0\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftp.c:174:19: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("Remote file size is equal to local size. Restarting at 0\n")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftp.c:174:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("Remote file size is equal to local size. Restarting at 0\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftp.c:178:19: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("Remote file size is smaller than local size. Restarting at 0.\n")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftp.c:178:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("Remote file size is smaller than local size. Restarting at 0.\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftp.c:219:20: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vLESS, _("Error: ")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftp.c:219:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vLESS, _("Error: ")); ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vLESS, _("Cannot open local source file to read\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftp.c:240:20: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vLESS, _("Error: ")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftp.c:240:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vLESS, _("Error: ")); ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vLESS, _("opening the input-pipe failed: %s\n"), strerror(errno)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] } else if(opt.input_pipe) { ^~~~~~~~~~~~~~ ftp.c:254:9: note: uninitialized use occurs here return fd; ^~ ftp.c:224:9: note: remove the 'if' if its condition is always true } else if(opt.input_pipe) { ^~~~~~~~~~~~~~~~~~~ ftp.c:206:8: note: initialize the variable 'fd' to silence this warning int fd; ^ = 0 ftp.c:284:19: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("Disabling resuming due to ascii-mode transfer\n")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftp.c:284:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("Disabling resuming due to ascii-mode transfer\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftp.c:347:20: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vLESS, _("Error: ")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftp.c:347:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vLESS, _("Error: ")); ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vLESS, _("local file could not be read: %s\n"), strerror(errno)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftp.c:385:22: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vLESS, _("Error: ")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftp.c:385:22: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vLESS, _("Error: ")); ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vLESS, _("Error encountered during uploading data\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftp.c:405:21: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vLESS, _("Error: ")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftp.c:405:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vLESS, _("Error: ")); ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vLESS, _("Error encountered during uploading data (%s)\n"), strerror(errno)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftp.c:462:20: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("Removing source file `%s'\n"), fsession->local_fname); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftp.c:462:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("Removing source file `%s'\n"), fsession->local_fname); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftp.c:482:19: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vLESS, _("No such file or directory: %s\n"), filename); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftp.c:482:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vLESS, _("No such file or directory: %s\n"), filename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftp.c:492:22: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vDEBUG, _("RMD of directory %s failed, probably not empty; deleting recursively\n"), filename); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftp.c:492:22: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vDEBUG, _("RMD of directory %s failed, probably not empty; deleting recursively\n"), filename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vLESS, _("Failed to change to target directory. Skipping this file/dir.\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vLESS, _("Directory empty, deletion failed.\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vLESS, _("Failed to change to parent directory. Skipping this file/dir.\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftp.c:563:21: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vNORMAL, _("\n%s deleted.\n\n"), filename); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftp.c:563:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vNORMAL, _("\n%s deleted.\n\n"), filename); ^~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftp.c:591:19: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vLESS, _("-- Skipping file: `%s'\n"), fsession->local_fname); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftp.c:591:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vLESS, _("-- Skipping file: `%s'\n"), fsession->local_fname); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftp.c:609:5: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] _("--%s-- Deleting file/dir: ftp://%s:xxxxx@%s:%d/%s%s%s\n"), ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftp.c:609:5: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] _("--%s-- Deleting file/dir: ftp://%s:xxxxx@%s:%d/%s%s%s\n"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vLESS, _("Skipping all files from this account...\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vLESS, _("Failed to change to target directory. Skipping this file/dir.\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vMORE, _("Unable to set transfer mode. Assuming binary\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vMORE, _("Skipping this file due to resume/upload/skip rules.\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vLESS, _("-- Skipping file: %s\n"), fsession->local_fname); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vMORE, _("Unable to set transfer mode. Assuming binary\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vLESS, _("Send Failed (%s) "), fsession->ftp->r.message); ^~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vLESS, _("Delete Failed. ")); ^~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vLESS, _("Skipping this file\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] usleep( (opt.random_wait ? 2 * (float) rand() / 0x7fffffff : 1) ~ ^~~~~~~~~~ ftp.c:877:20: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("Warning: ")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftp.c:877:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("Warning: ")); ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vMORE, _("`%s' could not be resolved. "), host); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vMORE, _("Assuming the proxy to do the task.\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftp.c:881:20: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("Error: ")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftp.c:881:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("Error: ")); ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vMORE, _("`%s' could not be resolved. "), host); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vLESS, _("Skipping this URL.\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftp.c:917:22: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vNORMAL, _("Warning: ")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftp.c:917:22: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vNORMAL, _("Warning: ")); ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vNORMAL, _("URL: # or ? functions unimplemented. Assuming they are part of the filename.\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ 61 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -Wall -g -DLOCALEDIR=\"/usr/local/share/locale\" -c ftplib.c -o ftplib.o ftplib.c:94:19: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vLESS, _("Receive-Error: Connection broke down.\n")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftplib.c:94:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vLESS, _("Receive-Error: Connection broke down.\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftplib.c:105:19: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vLESS, _("Receive-Error: Invalid FTP-answer (%d bytes): %s\n"), strlen(msg), msg); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftplib.c:105:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vLESS, _("Receive-Error: Invalid FTP-answer (%d bytes): %s\n"), strlen(msg), msg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vLESS, _("Reconnecting to be sure, nothing went wrong\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftplib.c:191:20: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vNORMAL, _("Connecting to %s:%d... "), ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftplib.c:191:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vNORMAL, _("Connecting to %s:%d... "), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vNORMAL, _("failed!\n")); ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vNORMAL, _("connected")); ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vNORMAL, _("Connection failed (%s)\n"), self->r.message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftplib.c:254:20: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vNORMAL, _("Logging in as %s ... "), user); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftplib.c:254:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vNORMAL, _("Logging in as %s ... "), user); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vMORE, _("Warning: ")); ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vMORE, _("remote server requires a password, but none set. Using an empty one.\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vLESS, _("Error: ")); ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vLESS, _("Server requires account login, which is not supported.\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vLESS, _("Error: ")); ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vLESS, _("Login-Sequence failed (%s)\n"), self->r.message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vNORMAL, _("Logged in!\n")); ^~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftplib.c:350:19: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("failed.\n")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftplib.c:350:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("failed.\n")); ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftplib.c:367:18: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("done (%s).\n"), self->r.message); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftplib.c:367:18: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("done (%s).\n"), self->r.message); ^~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftplib.c:381:19: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("failed.\n")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftplib.c:381:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("failed.\n")); ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftplib.c:384:18: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("done.\n")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftplib.c:384:18: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("done.\n")); ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vNORMAL, _("Connection cancelled (%s)\n"), self->r.message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftplib.c:447:20: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("done (modified on %d.%d.%d at %d:%d:%d)\n"), ts.tm_mday, ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftplib.c:447:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("done (modified on %d.%d.%d at %d:%d:%d)\n"), ts.tm_mday, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftplib.c:452:19: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("failed.\n")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftplib.c:452:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("failed.\n")); ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftplib.c:481:20: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("done (%s bytes)\n"), self->r.message); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftplib.c:481:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("done (%s bytes)\n"), self->r.message); ^~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftplib.c:485:19: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("failed.\n")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftplib.c:485:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("failed.\n")); ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftplib.c:531:19: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("done.\n")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftplib.c:531:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("done.\n")); ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftplib.c:535:18: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("failed.\n")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftplib.c:535:18: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("failed.\n")); ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftplib.c:552:19: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _(" failed (%s).\n"), self->r.message); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftplib.c:552:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _(" failed (%s).\n"), self->r.message); ^~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftplib.c:569:19: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _(" failed (%s).\n"), self->r.message); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftplib.c:569:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _(" failed (%s).\n"), self->r.message); ^~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftplib.c:594:19: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("failed.\n")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftplib.c:594:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("failed.\n")); ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftplib.c:597:18: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("done.\n")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftplib.c:597:18: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("done.\n")); ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftplib.c:622:19: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _(" failed (%s).\n"), self->r.message); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftplib.c:622:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _(" failed (%s).\n"), self->r.message); ^~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftplib.c:625:19: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _(" done.\n")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftplib.c:625:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _(" done.\n")); ^~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftplib.c:627:18: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("\n")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftplib.c:627:18: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("\n")); ^~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftplib.c:607:6: warning: variable 'res' set but not used [-Wunused-but-set-variable] int res; ^ ftplib.c:649:19: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vLESS, _("Error: ")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftplib.c:649:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vLESS, _("Error: ")); ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vLESS, _("Cannot initiate data-connection (%s)\n"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftplib.c:694:19: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vLESS, _("Error: ")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftplib.c:694:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vLESS, _("Error: ")); ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vLESS, _("listing directory failed (%s)\n"), self->r.message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftplib.c:724:19: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("failed.\nServer seems not to support resuming. Restarting at 0\n")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftplib.c:724:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("failed.\nServer seems not to support resuming. Restarting at 0\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftplib.c:727:18: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("done.\n")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftplib.c:727:18: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("done.\n")); ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftplib.c:744:18: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("[not done, but should be allright]\n")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftplib.c:744:18: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("[not done, but should be allright]\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] if(self->r.reply[0] == '1') { ^ ftplib.c:748:3: note: previous statement is here else if(res == ERR_PERMANENT) ^ ftplib.c:772:19: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("done.\n")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftplib.c:772:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("done.\n")); ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftplib.c:776:19: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("failed (%s). (disabling resuming)\n"), self->r.message); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftplib.c:776:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("failed (%s). (disabling resuming)\n"), self->r.message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftplib.c:780:19: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("failed.\n"), self->r.message); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftplib.c:780:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("failed.\n"), self->r.message); ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vMORE, _("Trying to switch PORT/PASV mode\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftplib.c:787:18: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("failed (%d %s). (skipping)\n"), self->r.code, self->r.message); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftplib.c:787:18: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("failed (%d %s). (skipping)\n"), self->r.code, self->r.message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftplib.c:801:19: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("failed (%s)\n"), self->r.message); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftplib.c:801:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("failed (%s)\n"), self->r.message); ^~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftplib.c:806:19: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("done.\n")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftplib.c:806:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("done.\n")); ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftplib.c:809:18: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("failed (%d %s). (skipping)\n"), self->r.code, self->r.message); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftplib.c:809:18: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("failed (%d %s). (skipping)\n"), self->r.code, self->r.message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftplib.c:823:19: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("failed (%s)\n"), self->r.message); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftplib.c:823:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("failed (%s)\n"), self->r.message); ^~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftplib.c:826:19: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("failed (%s)\n"), self->r.message); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftplib.c:826:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("failed (%s)\n"), self->r.message); ^~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftplib.c:829:19: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("done.\n")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftplib.c:829:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("done.\n")); ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftplib.c:832:18: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("failed (%d %s). (skipping)\n"), self->r.code, self->r.message); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftplib.c:832:18: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("failed (%d %s). (skipping)\n"), self->r.code, self->r.message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftplib.c:918:19: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("failed.\n")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftplib.c:918:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("failed.\n")); ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftplib.c:921:18: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("done.\n")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftplib.c:921:18: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("done.\n")); ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vMORE, _("connection failed.\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftplib.c:951:19: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("Trying to listen on proxy server... ")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftplib.c:951:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("Trying to listen on proxy server... ")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vMORE, _("failed. Falling back to listen locally\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vMORE, _("Warning: ")); ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vMORE, _( ^~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vMORE, _("done.\n")); ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftplib.c:966:21: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vNORMAL, _("Warning: ")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftplib.c:966:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vNORMAL, _("Warning: ")); ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vNORMAL, _("Using port-mode. Unable to use the http-proxy for this connection\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftplib.c:979:31: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] if(res == ERR_FAILED) Abort(_("Cannot determine local IP address")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftplib.c:979:31: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'char *' [-Wint-conversion] if(res == ERR_FAILED) Abort(_("Cannot determine local IP address")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:30:19: note: passing argument to parameter 'msg' here void Abort(char * msg); ^ ftplib.c:988:19: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("failed.\n")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftplib.c:988:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("failed.\n")); ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ ftplib.c:991:18: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("done.\n")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ftplib.c:991:18: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("done.\n")); ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ 111 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -Wall -g -DLOCALEDIR=\"/usr/local/share/locale\" -c utils.c -o utils.o utils.c:247:21: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("parse-error in escaped character: %c is not a hexadecimal character\n"), h); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ utils.c:247:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("parse-error in escaped character: %c is not a hexadecimal character\n"), h); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ utils.c:85:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...){ ^ utils.c:271:19: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vLESS, _("Waiting %d seconds... "), opt.retry_interval); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ utils.c:271:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vLESS, _("Waiting %d seconds... "), opt.retry_interval); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ utils.c:85:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...){ ^ utils.c:284:19: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("Warning: ")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ utils.c:284:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("Warning: ")); ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ utils.c:85:51: note: passing argument to parameter 'fmt' here 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] printout(vMORE, _("No http-header found. Assuming socks-proxy $host:$port for `%s'\n"), url); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ utils.c:85:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...){ ^ utils.c:311:19: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("Warning: ")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ utils.c:311:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("Warning: ")); ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ utils.c:85:51: note: passing argument to parameter 'fmt' here 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] printout(vMORE, _("No port specified. Assuming default port %d.\n"), opt.ps.port); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ utils.c:85:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...){ ^ 10 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -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] unit = 0, trate = trate; ~~~~~ ^ ~~~~~ progress.c:337:27: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vNORMAL, _("Length: %s"), legible(fsession->local_fsize)); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ progress.c:337:27: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vNORMAL, _("Length: %s"), legible(fsession->local_fsize)); ^~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] bar.dots = 0; ^ progress.c:336:5: note: previous statement is here 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] printout(vNORMAL, _(" [%s to go]\n"), legible(fsession->local_fsize - fsession->target_fsize) ); ^~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vNORMAL, _("%* [ skipped %dK ]\n%* %dK "), skipped_k_len+2, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ 6 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -Wall -g -DLOCALEDIR=\"/usr/local/share/locale\" -c socketlib.c -o socketlib.o socketlib.c:94:9: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] perror(_("client: can't open stream socket")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ socketlib.c:94:9: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] perror(_("client: can't open stream socket")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ /usr/include/stdio.h:275:26: note: passing argument to parameter here void perror(const char *); ^ socketlib.c:114:10: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] perror(_("server: can't open new socket")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ socketlib.c:114:10: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] perror(_("server: can't open new socket")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ /usr/include/stdio.h:275:26: note: passing argument to parameter here void perror(const char *); ^ socketlib.c:124:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vLESS, _("Error: ")); ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vLESS, _("server: can't bind local address\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ socketlib.c:163:12: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] perror(_("error accepting the incoming connection")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ socketlib.c:163:12: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] perror(_("error accepting the incoming connection")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ /usr/include/stdio.h:275:26: note: passing argument to parameter here void perror(const char *); ^ socketlib.c:240:21: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vNORMAL, _("Receive-Warning: read() timed out. Read '%s' so far.\n"), buf); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ socketlib.c:240:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vNORMAL, _("Receive-Warning: read() timed out. Read '%s' so far.\n"), buf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ socketlib.c:245:18: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] 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 '_' # define _(string) gettext (string) ^ socketlib.c:245:18: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 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 '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ socketlib.c:264:21: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vNORMAL, _("Error: ")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ socketlib.c:264:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vNORMAL, _("Error: ")); ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vNORMAL, _("recv() timed out. No data received\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ socketlib.c:430:21: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vNORMAL, _("failed.\n")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ socketlib.c:430:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vNORMAL, _("failed.\n")); ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vLESS, _("Error: ")); ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vLESS, _("Connection to proxy cannot be established.\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ socketlib.c:445:19: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("read() failed: %d (%d: %s)\n"), res, errno, strerror(errno)); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ socketlib.c:445:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("read() failed: %d (%d: %s)\n"), res, errno, strerror(errno)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ socketlib.c:450:21: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vNORMAL, _("failed.\n")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ socketlib.c:450:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vNORMAL, _("failed.\n")); ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vLESS, _("Error: ")); ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vLESS, _("Proxy version mismatch (%d)\n"), t[0]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ socketlib.c:470:19: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] Abort(_("Proxy authentication failure\n")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ socketlib.c:470:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'char *' [-Wint-conversion] Abort(_("Proxy authentication failure\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:30:19: note: passing argument to parameter 'msg' here void Abort(char * msg); ^ socketlib.c:475:21: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vNORMAL, _("failed.\n")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ socketlib.c:475:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vNORMAL, _("failed.\n")); ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vLESS, _("Error: ")); ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vLESS, _("Proxy method mismatch (%d)\n"), t[1]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ socketlib.c:495:19: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vLESS, _("Error: ")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ socketlib.c:495:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vLESS, _("Error: ")); ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vLESS, _("Proxy discarded listen-request. Error-Code: %d\n"), t[1]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vMORE, _("Disabling listen-tries for proxy\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ socketlib.c:503:18: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] 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 '_' # define _(string) gettext (string) ^ socketlib.c:503:18: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 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 '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ socketlib.c:515:19: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vLESS, _("Error: ")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ socketlib.c:515:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vLESS, _("Error: ")); ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vLESS, _("Proxy encountered an error while accepting. Error-Code: %d\n"), t[1]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ socketlib.c:534:19: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("Using SOCKS5-Proxy %s:%d... "), printip((unsigned char *) &ps->ip), ps->port); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ socketlib.c:534:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("Using SOCKS5-Proxy %s:%d... "), printip((unsigned char *) &ps->ip), ps->port); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vMORE, _("Proxy connection established.\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vLESS, _("Error: ")); ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vLESS, _("Connection through proxy failed. Error-code: %d\n"), t[1]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ socketlib.c:623:20: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vLESS, _("Error: ")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ socketlib.c:623:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vLESS, _("Error: ")); ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vLESS, _("Connection could not be established.\nProxy states '%s'"), request); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ 48 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -Wall -g -DLOCALEDIR=\"/usr/local/share/locale\" -c queue.c -o queue.o queue.c:130:19: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vLESS, _("Error: Please specify a url first.\n")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ queue.c:130:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vLESS, _("Error: Please specify a url first.\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ queue.c:334:21: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vLESS, _("Warning: ")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ queue.c:334:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vLESS, _("Warning: ")); ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vLESS, _("Error encountered but ignored during stat of `%s'.\n"), fname); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ queue.c:341:21: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vLESS, _("Warning: ")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ queue.c:341:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vLESS, _("Warning: ")); ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vLESS, _("Error encountered but ignored during opendir of `%s'.\n"), fname); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ queue.c:382:18: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vLESS, _("Warning: ")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ queue.c:382:18: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vLESS, _("Warning: ")); ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vLESS, _("Seems as though there are two equivalent entries to upload.\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ queue.c:438:19: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vLESS, _("Error: ")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ queue.c:438:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vLESS, _("Error: ")); ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vLESS, _("the url `%s' could not be parsed\n"), url); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ queue.c:459:20: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vLESS, _("Warning: ")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ queue.c:459:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vLESS, _("Warning: ")); ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vLESS, _("Neither a remote location nor a local filename " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ queue.c:495:25: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vNORMAL, _("Warning: ")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ queue.c:495:25: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vNORMAL, _("Warning: ")); ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] printout(vNORMAL, _("No local file specified and no file found from URL.\n" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ queue.c:530:21: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vMORE, _("Warning: ")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ queue.c:530:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vMORE, _("Warning: ")); ^~~~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] 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 '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ queue.c:540:21: warning: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] printout(vLESS, _("Error: ")); ^ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ queue.c:540:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] printout(vLESS, _("Error: ")); ^~~~~~~~~~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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] 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 '_' # define _(string) gettext (string) ^~~~~~~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here void printout(unsigned char verbose, const char * fmt, ...); ^ 26 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -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: implicit declaration of function 'gettext' is invalid in C99 [-Wimplicit-function-declaration] logprintf (LOG_NOTQUIET, _("\ ^ ./constants.h:71:20: note: expanded from macro '_' # 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] logprintf (LOG_NOTQUIET, _("\ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./constants.h:71:20: note: expanded from macro '_' # define _(string) gettext (string) ^ ./wget.h:22:48: note: expanded from macro 'logprintf' # define logprintf( x, ...) printout( vDEBUG, __VA_ARGS__) ^~~~~~~~~~~ ./utils.h:31:51: note: passing argument to parameter 'fmt' here 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=2024-04-02T14:59:13+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=d5b972d8e6' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' 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 Tue Apr 2 15:59:31 BST 2024 build time: 00:00:19