MidnightBSD Magus

ftp/wput

Upload files or directories to FTP server with resume support

Flavor Version Run OSVersion Arch License Restricted Status
0.6.2 504 3.0 amd64 gpl2 0 fail

Events

Machine Type Time Message
m3064b info 2023-01-04 02:21:32.649675 Test Started
m3064b fail 2023-01-04 02:22:10.873514 make build returned non-zero: 1
m3064b fail 2023-01-04 02:22:10.927913 Test complete.

Log

===>  Building for wput-0.6.2
cd po && /usr/bin/make  all
cd src && /usr/bin/make  all
cc  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall  -g -DLOCALEDIR=\"/usr/local/share/locale\" -c wput.c -o wput.o
wput.c:100:2: warning: implicit declaration of function 'bindtextdomain' is invalid in C99 [-Wimplicit-function-declaration]
        bindtextdomain ("wput", LOCALEDIR);
        ^
wput.c:101:2: warning: implicit declaration of function 'textdomain' is invalid in C99 [-Wimplicit-function-declaration]
        textdomain ("wput");
        ^
wput.c:155: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:155: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:157: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:276:26: note: passing argument to parameter here
void     perror(const char *);
                            ^
wput.c:165: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:165: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:166: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:175: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:175: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:176: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:185: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:185: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:186: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:219: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:219: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:221: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:225: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:236: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:244: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:246: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:320: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:320: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:321: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:322: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:378: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:378: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:379: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:380: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:477: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:477: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:507: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:507: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:510: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:510: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:554: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:554: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:586:11: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
    tmp = (char *) set_option(com, val);
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wput.c:587: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:587: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:588: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:680: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:703: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:703: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:708: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:708: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:276:26: note: passing argument to parameter here
void     perror(const char *);
                            ^
wput.c:752: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:752: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:753: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:762: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:766: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:766: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:766: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:772: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:772: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:772: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:777: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:777: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:777: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:793: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:793: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:793: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:812: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:812: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:812: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:826: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:826: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:826: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 -fstack-protector-strong -fno-strict-aliasing -Wall  -g -DLOCALEDIR=\"/usr/local/share/locale\" -c netrc.c -o netrc.o
cc  -O2 -pipe -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 -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 -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 -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 -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:276: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:276: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:276: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 -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 -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
ld: error: duplicate symbol: opt
>>> defined at wput.h:143 (./wput.h:143)
>>>            wput.o:(opt)
>>> defined at wput.h:143 (./wput.h:143)
>>>            netrc.o:(.bss+0x0)

ld: error: duplicate symbol: opt
>>> defined at wput.h:143 (./wput.h:143)
>>>            wput.o:(opt)
>>> defined at wput.h:143 (./wput.h:143)
>>>            ftp.o:(.bss+0x0)

ld: error: duplicate symbol: opt
>>> defined at wput.h:143 (./wput.h:143)
>>>            wput.o:(opt)
>>> defined at wput.h:143 (./wput.h:143)
>>>            ftplib.o:(.bss+0x8)

ld: error: duplicate symbol: opt
>>> defined at wput.h:143 (./wput.h:143)
>>>            wput.o:(opt)
>>> defined at wput.h:143 (./wput.h:143)
>>>            utils.o:(.bss+0x0)

ld: error: duplicate symbol: opt
>>> defined at wput.h:143 (./wput.h:143)
>>>            wput.o:(opt)
>>> defined at wput.h:143 (./wput.h:143)
>>>            progress.o:(.bss+0x20)

ld: error: duplicate symbol: opt
>>> defined at wput.h:143 (./wput.h:143)
>>>            wput.o:(opt)
>>> defined at wput.h:143 (./wput.h:143)
>>>            socketlib.o:(.bss+0x0)

ld: error: duplicate symbol: opt
>>> defined at wput.h:143 (./wput.h:143)
>>>            wput.o:(opt)
>>> defined at wput.h:143 (./wput.h:143)
>>>            queue.o:(.bss+0x8)

ld: error: duplicate symbol: opt
>>> defined at wput.h:143 (./wput.h:143)
>>>            wput.o:(opt)
>>> defined at wput.h:143 (./wput.h:143)
>>>            ftp-ls.o:(.bss+0x0)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make[2]: stopped in /magus/work/usr/mports/ftp/wput/work/wput-0.6.2/src
*** Error code 1

Stop.
make[1]: stopped in /magus/work/usr/mports/ftp/wput/work/wput-0.6.2
*** Error code 1

Stop.
make: stopped in /usr/mports/ftp/wput