[gnutls-help] [gnutls-devel] gnutls 3.3.17

Marius Schamschula lists at schamschula.com
Mon Aug 10 14:50:20 CEST 2015


Nikos,

I’m not sure what happened between gnutls 3.3.16 and 3.3.17 to cause the following errors: (seen under OS X 10.10.4, Note: I am passing --enable-local-libopts which is supposed to prevent this issue. Also tried building w/o autoconf with same result)

In file included from In file included from srptool-args.c:43:
./srptool-args.h:61:3: error: option template version mismatches autoopts/options.h header
# error option template version mismatches autoopts/options.h header
  ^
psktool-args.c:43:
./psktool-args.h:61:3: error: option template version mismatches autoopts/options.h header
# error option template version mismatches autoopts/options.h header
  ^
./psktool-args.h:62:3: error: unknown type name 'Choke'
  Choke Me.
  ^
./psktool-args.h:62:./srptool-args.h:62:3: error: unknown type name 'Choke'
  Choke Me.
  ^
./srptool-args.h:62:11: error: expected ';' after top level declarator
  Choke Me.
          ^
          ;
11: error: expected ';' after top level declarator
  Choke Me.
          ^
          ;
In file included from cli-args.c:43:
./cli-args.h:61:3: error: option template version mismatches autoopts/options.h header
# error option template version mismatches autoopts/options.h header
  ^
./cli-args.h:62:3: error: unknown type name 'Choke'
  Choke Me.
  ^
./cli-args.h:62:11: error: expected ';' after top level declarator
  Choke Me.
          ^
          ;
In file included from cli-debug-args.c:43:
./cli-debug-args.h:61:3: error: option template version mismatches autoopts/options.h header
# error option template version mismatches autoopts/options.h header
  ^
In file included from ocsptool-args.c:43:
./ocsptool-args.h:61:3: error: option template version mismatches autoopts/options.h header
# error option template version mismatches autoopts/options.h header
  ^
In file included from serv-args.c:43./cli-debug-args.h./ocsptool-args.h:62:3: error: unknown type name 'Choke'
  Choke Me.
  ^
./ocsptool-args.h:62:11: error: expected ';' after top level declarator
  Choke Me.
          ^
          ;
:62:3: error: In file included from unknown type name 'Choke'
  Choke Me.
  ^
./cli-debug-args.h:62:11: error: expected ';' after top level declarator
  Choke Me.
          ^
          ;
certtool-args.c:43:
./certtool-args.h:61:3: error: option template version mismatches autoopts/options.h header
# error option template version mismatches autoopts/options.h header
  ^
./certtool-args.h:62:3: error: unknown type name 'Choke'
  Choke Me.
  ^
./certtool-args.h:62:11: error: expected ';' after top level declarator
  Choke Me.
          ^
          ;
:
./serv-args.h:61:3: error: option template version mismatches autoopts/options.h header
# error option template version mismatches autoopts/options.h header
  ^
./serv-args.h:62:3: error: unknown type name 'Choke'
  Choke Me.
  ^
./serv-args.h:62:11: error: expected ';' after top level declarator
  Choke Me.
          ^
          ;
srptool-args.c:369:29:psktool-args.c:252:29: error: use of undeclared identifier 'INDEX_OPT_VERSION'
  {  /* entry idx, value */ INDEX_OPT_VERSION, VALUE_OPT_VERSION,
                            ^
cli-args.c:434:5: error: psktool-args.c:266:29: error:  error: use of undeclared identifier 'INDEX_OPT_VERSION'
  {  /* entry idx, value */ INDEX_OPT_VERSION, VALUE_OPT_VERSION,
                            ^
use of undeclared identifier 'INDEX_OPT_STARTTLS'
    INDEX_OPT_STARTTLS, NO_EQUIVALENT };
    ^
use of undeclared identifier 'INDEX_OPT_HELP'
  {  /* entry idx, value */ INDEX_OPT_HELP, VALUE_OPT_HELP,
                            ^
certtool-args.c:428:srptool-args.c:383:29: error: use of undeclared identifier 'INDEX_OPT_HELP'
ocsptool-args.c:214:5: error: use of undeclared identifier 'INDEX_OPT_LOAD_CERT'
  {  /* entry idx, value */ INDEX_OPT_HELP, VALUE_OPT_HELP,
                            ^
    INDEX_OPT_LOAD_CERT,
    ^
cli-args.c:779:5:5: error: use of undeclared identifier 'INDEX_OPT_PORT'
    INDEX_OPT_PORT, NO_EQUIVALENT };
    ^
 error: use of undeclared identifier 'INDEX_OPT_INFILE'
    INDEX_OPT_INFILE, NO_EQUIVALENT };
    ^
srptool-args.c:395:29: psktool-args.c:278:29: error: use of undeclared identifier 'INDEX_OPT_MORE_HELP'
  {  /* entry idx, value */ INDEX_OPT_MORE_HELP, VALUE_OPT_MORE_HELP,
ocsptool-args.c:215:5: error: use of undeclared identifier 'INDEX_OPT_LOAD_ISSUER'
    INDEX_OPT_LOAD_ISSUER, NO_EQUIVALENT };
    ^
                            ^
error: use of undeclared identifier 'INDEX_OPT_MORE_HELP'
  {  /* entry idx, value */ INDEX_OPT_MORE_HELP, VALUE_OPT_MORE_HELP,
                            ^
cli-debug-args.c:256:29: psktool-args.c:378:37: warning: implicit declaration of function 'VOIDP' is invalid in C99 [-Wimplicit-function-declaration]
optionShowRange(pOptions, pOptDesc, VOIDP(rng), 1);
                                    ^
psktool-args.c:378:37: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void *' [-Wint-conversion]
optionShowRange(pOptions, pOptDesc, VOIDP(rng), 1);
                                    ^~~~~~~~~~
../src/libopts/autoopts/options.h:1225:57: note: passing argument to parameter here
extern void optionShowRange(tOptions*, tOptDesc*, void *, int);
                                                        ^
error: use of undeclared identifier 'INDEX_OPT_VERSION'
  {  /* entry idx, value */ INDEX_OPT_VERSION, VALUE_OPT_VERSION,
                            ^
srptool-args.c:495:37: warning: implicit declaration of function 'VOIDP' is invalid in C99 [-Wimplicit-function-declaration]
optionShowRange(pOptions, pOptDesc, VOIDP(rng), 1);
                                    ^
srptool-args.c:495:37: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void *' [-Wint-conversion]
optionShowRange(pOptions, pOptDesc, VOIDP(rng), 1);
                                    ^~~~~~~~~~
certtool-args.c:468:5: error: use of undeclared identifier 'INDEX_OPT_LOAD_CA_CERTIFICATE'
../src/libopts/autoopts/options.h:1225:57: note: passing argument to parameter here
    INDEX_OPT_LOAD_CA_CERTIFICATE, NO_EQUIVALENT };
    ^
extern void optionShowRange(tOptions*, tOptDesc*, void *, int);
                                                        ^
psktool-args.c:413:37: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void *' [-Wint-conversion]
optionShowRange(pOptions, pOptDesc, VOIDP(rng), 1);
                                    ^~~~~~~~~~
../src/libopts/autoopts/options.h:1225:57: note: passing argument to parameter here
extern void optionShowRange(tOptions*, tOptDesc*, void *, int);
cli-debug-args.c:270:29: error                                                        ^: use of undeclared identifier 'INDEX_OPT_HELP'
  {  /* entry idx, value */ INDEX_OPT_HELP, VALUE_OPT_HELP,
                            ^

serv-args.c:1164:29: error: use of undeclared identifier 'INDEX_OPT_VERSION'
  {  /* entry idx, value */ INDEX_OPT_VERSION, VALUE_OPT_VERSION,
                            ^
cli-args.c:1575:29: error: use of undeclared identifier 'INDEX_OPT_VERSION'
  {  /* entry idx, value */ INDEX_OPT_VERSION, VALUE_OPT_VERSION,
                            ^
srptool-args.c:556:7:serv-args.c:1178 error: :use of undeclared identifier 'INDEX_OPT_MORE_HELP'29:
    { INDEX_OPT_MORE_HELP, /* more-help option index */
      ^
 error: use of undeclared identifier 'INDEX_OPT_HELP'
  {  /* entry idx, value */ INDEX_OPT_HELP, VALUE_OPT_HELP,
                            ^
cli-debug-args.c:282:29: error: use of undeclared identifier 'INDEX_OPT_MORE_HELP'
  {  /* entry idx, value */ INDEX_OPT_MORE_HELP, VALUE_OPT_MORE_HELP,
                            ^
ocsptool-args.c:322:5: error: use of undeclared identifier 'INDEX_OPT_LOAD_SIGNER'
    INDEX_OPT_LOAD_SIGNER, NO_EQUIVALENT };
    ^
cli-debug-args.c:382:37: warning: implicit declaration of function 'VOIDP' is invalid in C99 [-Wimplicit-function-declaration]
optionShowRange(pOptions, pOptDesc, VOIDP(rng), 1);
                                    ^
cli-debug-args.c:382:37psktool-args.c:474:7: error: use of undeclared identifier 'INDEX_OPT_MORE_HELP': warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void *' [-Wint-conversion]
optionShowRange(pOptions, pOptDesc, VOIDP(rng), 1);
                                    ^~~~~~~~~~
../src/libopts/autoopts/options.h:1225:57: note: passing argument to parameter here
extern void optionShowRange(tOptions*, tOptDesc*, void *, int);
                                                        ^
cli-debug-args.c:417:37: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void *' [-Wint-conversion]
optionShowRange(pOptions, pOptDesc, VOIDP(rng), 1);
                                    ^~~~~~~~~~
../src/libopts/autoopts/options.h:1225:57: note: passing argument to parameter here
extern void optionShowRange(tOptions*, tOptDesc*, void *, int);
                                                        ^
serv-args.c:1190:29: error: use of undeclared identifier 'INDEX_OPT_MORE_HELP'
  {  /* entry idx, value */ INDEX_OPT_MORE_HELP, VALUE_OPT_MORE_HELP,
                            ^
cli-args.c:1589:29: serv-args.c:1290:37: warning: 
implicit declaration of function 'VOIDP' is invalid in C99 [-Wimplicit-function-declaration]
optionShowRange(pOptions, pOptDesc, VOIDP(rng), 1);
                                    ^
serv-args.c:1290:37: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void *' [-Wint-conversion]
optionShowRange(pOptions, pOptDesc, VOIDP(rng), 1);
                                    ^~~~~~~~~~
../src/libopts/autoopts/options.h:1225:57: note: passing argument to parameter here
ocsptool-args.c:339:5: error: use of undeclared identifier 'INDEX_OPT_LOAD_TRUST'
extern void optionShowRange(tOptions*, tOptDesc*, void *, int);
                                                        ^
    INDEX_OPT_LOAD_TRUST, NO_EQUIVALENT };
    ^
serv-args.c:1325:37: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void *' [-Wint-conversion]
optionShowRange(pOptions, pOptDesc, VOIDP(rng), 1);
                                    ^~~~~~~~~~
../src/libopts/autoopts/options.h:1225:57: note: passing argument to parameter here
extern void optionShowRange(tOptions*, tOptDesc*, void *, int);
                                                        ^
    { INDEX_OPT_MORE_HELP, /* more-help option index */
      ^
cli-debug-args.c:479:7: error: use of undeclared identifier 'INDEX_OPT_MORE_HELP'
    { INDEX_OPT_MORE_HELP, /* more-help option index */
      ^
certtool-args.c:840:5: errorerror: use of undeclared identifier 'INDEX_OPT_HELP'
  {  /* entry idx, value */ INDEX_OPT_HELP, VALUE_OPT_HELP,
                            ^
: use of undeclared identifier 'INDEX_OPT_LOAD_CERTIFICATE'
    INDEX_OPT_LOAD_CERTIFICATE, NO_EQUIVALENT };
    ^
ocsptool-args.c:633:29: error: use of undeclared identifier 'INDEX_OPT_VERSION'
  {  /* entry idx, value */ INDEX_OPT_VERSION, VALUE_OPT_VERSION,
                            ^
ocsptool-args.c:647:29: error: use of undeclared identifier 'INDEX_OPT_HELP'
  {  /* entry idx, value */ INDEX_OPT_HELP, VALUE_OPT_HELP,
                            ^
cli-args.c:1601:29: certtool-args.c:1906:29error: use of undeclared identifier 'INDEX_OPT_MORE_HELP'
  {  /* entry idx, value */ INDEX_OPT_MORE_HELP, VALUE_OPT_MORE_HELP,
                            ^
ocsptool-args.c:659:29: error: error: use of undeclared identifier 'INDEX_OPT_VERSION'
  {  /* entry idx, value */ INDEX_OPT_VERSION, VALUE_OPT_VERSION,
cli-args.c:1701:37: warning: implicit declaration of function 'VOIDP' is invalid in C99 [-Wimplicit-function-declaration]
optionShowRange(pOptions, pOptDesc, VOIDP(rng), 1);
                                    ^
serv-args.c:1626:7: error: use of undeclared identifier 'INDEX_OPT_MORE_HELP'
cli-args.c:1701:37::     { INDEX_OPT_MORE_HELP, /* more-help option index */
       ^warning
: incompatible integer to pointer conversion passing 'int' to parameter of type 'void *' [-Wint-conversion]
optionShowRange(pOptions, pOptDesc, VOIDP(rng), 1);
                                    ^~~~~~~~~~
../src/libopts/autoopts/options.h:1225:57: note: passing argument to parameter here
extern void optionShowRange(tOptions*, tOptDesc*, void *, int);
                                                        ^
srptool-args.c:610:19: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
            res = (char *)VOIDP(_(pz));
                  ^
srptool-args.c:612:15: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
        res = (char *)VOIDP(_(pz));
              ^
srptool-args.c:651:23: warning: cast to 'char **' from smaller integer type 'int' [-Wint-to-pointer-cast]
        char ** ppz = (char**)VOIDP(&(option_xlateable_txt));
                      ^
srptool-args.c:661:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
        coerce_it(VOIDP(&(opts->pzCopyright)));
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
srptool-args.c:630:31: note: passing argument to parameter 's' here
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
srptool-args.c:662:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
        coerce_it(VOIDP(&(opts->pzCopyNotice)));
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
srptool-args.c:630:31: note: passing argument to parameter 's' here
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
srptool-args.c:663:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
        coerce_it(VOIDP(&(opts->pzFullVersion)));
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
srptool-args.c:630:31: note: passing argument to parameter 's' here
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
srptool-args.c:664:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
        coerce_it(VOIDP(&(opts->pzUsageTitle)));
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
srptool-args.c:630:31: note: passing argument to parameter 's' here
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
srptool-args.c:665:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
        coerce_it(VOIDP(&(opts->pzExplain)));
                  ^~~~~~~~~~~~~~~~~~~~~~~~~
srptool-args.c:630:31: note: passing argument to parameter 's' here
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
srptool-args.c:666:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
        coerce_it(VOIDP(&(opts->pzDetail)));
                  ^~~~~~~~~~~~~~~~~~~~~~~~
srptool-args.c:630:31: note: passing argument to parameter 's' here
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
srptool-args.c:670:27: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
                coerce_it(VOIDP(&(od->pzText)));
                          ^~~~~~~~~~~~~~~~~~~~
srptool-args.c:630:31: note: passing argument to parameter 's' here
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
                            ^
12 warnings and 7 errorsuse of undeclared identifier 'INDEX_OPT_MORE_HELP'
  {  /* entry idx, value */ INDEX_OPT_MORE_HELP, VALUE_OPT_MORE_HELP,
                            ^
cli-args.c:1714:47: error generated.
ocsptool-args.c:759:37: warning: implicit declaration of function 'VOIDP' is invalid in C99 [-Wimplicit-function-declaration]
optionShowRange(pOptions, pOptDesc, VOIDP(rng), 1);
                                    ^
ocsptool-args.c:759:37: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void *' [-Wint-conversion]
optionShowRange(pOptions, pOptDesc, VOIDP(rng), 1);
                                    ^~~~~~~~~~
../src/libopts/autoopts/options.h:1225:57: note: passing argument to parameter here
extern void optionShowRange(tOptions*, tOptDesc*, void *, int);
                                                        ^
certtool-args.c:1920:29: error: use of undeclared identifier 'INDEX_OPT_HELP'
  {  /* entry idx, value */ INDEX_OPT_HELP, VALUE_OPT_HELP,
                            ^
: use of undeclared identifier 'INDEX_OPT_STARTTLS_PROTO'
    int res = optionAlias(pOptions, pOptDesc, INDEX_OPT_STARTTLS_PROTO);
                                              ^
cli-args.c:1752:37: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void *' [-Wint-conversion]
cli-debug-args.c:533:19: warningoptionShowRange(pOptions, pOptDesc, VOIDP(rng), 1);
                                    ^~~~~~~~~~
../src/libopts/autoopts/options.h:1225:57: note: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
            res = (char *)VOIDP(_(pz));
                  ^
cli-debug-args.c:535:15::  warningpassing argument to parameter here
extern void optionShowRange(tOptions*, tOptDesc*, void *, int);
                                                        ^
: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
        res = (char *)VOIDP(_(pz));
              ^
cli-debug-args.c:574:23cli-args.c::1883 :warning37: :cast to 'char **' from smaller integer type 'int' [-Wint-to-pointer-cast] 
psktool-args.c:528        char ** ppz = (char**)VOIDP(&(option_xlateable_txt));:
19                      ^
warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void *' [-Wint-conversion]
: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
            res = (char *)VOIDP(_(pz));
                  ^
psktool-args.c:530:15: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]cli-debug-args.c:584optionShowRange(pOptions, pOptDesc, VOIDP(rng), 1);:19:
 warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
        res = (char *)VOIDP(_(pz));
              ^
        coerce_it(VOIDP(&(opts->pzCopyright)));
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
cli-debug-args.c:553:31: note: passing argument to parameter 's' here
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
cli-debug-args.c:585:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
        coerce_it(VOIDP(&(opts->pzCopyNotice)));
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cli-debug-args.c:553:31: note: passing argument to parameter 's' here
static void coerce_it(void ** s) { *s = AO_gettext(*s);

                                    ^~~~~~~~~~
psktool-args.c:569:23: warning: ../src/libopts/autoopts/options.hcast to 'char **' from smaller integer type 'int' [-Wint-to-pointer-cast]:
1225:57: note: passing argument to parameter here
        char ** ppz = (char**)VOIDP(&(option_xlateable_txt));
                      ^
extern void optionShowRange(tOptions*, tOptDesc*, void *, int);
                                                        ^
                              ^
psktool-args.c:579:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
cli-debug-args.c:586:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
        coerce_it(VOIDP(&(opts->pzCopyright)));
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
psktool-args.c:548:31: note: passing argument to parameter 's' here
        coerce_it(VOIDP(&(opts->pzFullVersion)));
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cli-debug-args.c:553:31: note: passing argument to parameter 's' here
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
psktool-args.c:580:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
cli-debug-args.c:587:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
        coerce_it(VOIDP(&(opts->pzCopyNotice)));
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
psktool-args.c:548:31: note: passing argument to parameter 's' here
        coerce_it(VOIDP(&(opts->pzUsageTitle)));
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cli-debug-args.c:553:31: note: passing argument to parameter 's' here
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
psktool-args.c:581:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
cli-debug-args.c:588:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
        coerce_it(VOIDP(&(opts->pzFullVersion)));
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
psktool-args.c:548:31: note: passing argument to parameter 's' here
        coerce_it(VOIDP(&(opts->pzExplain)));
                  ^~~~~~~~~~~~~~~~~~~~~~~~~
cli-debug-args.c:553:31: note: passing argument to parameter 's' here
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
psktool-args.c:582:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
cli-debug-args.c:589:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
        coerce_it(VOIDP(&(opts->pzUsageTitle)));
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
psktool-args.c:548:31: note: passing argument to parameter 's' here
        coerce_it(VOIDP(&(opts->pzDetail)));
                  ^~~~~~~~~~~~~~~~~~~~~~~~
cli-debug-args.c:553:31: note: passing argument to parameter 's' herecerttool-args.c:1932:29: error: use of undeclared identifier 'INDEX_OPT_MORE_HELP'
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
psktool-args.c:583:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
  {  /* entry idx, value */ INDEX_OPT_MORE_HELP, VALUE_OPT_MORE_HELP,
                            ^

        coerce_it(VOIDP(&(opts->pzExplain)));
                  ^~~~~~~~~~~~~~~~~~~~~~~~~
psktool-args.c:548:31: note: passing argument to parameter 's' here
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
psktool-args.c:584:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
        coerce_it(VOIDP(&(opts->pzDetail)));
                  ^~~~~~~~~~~~~~~~~~~~~~~~
psktool-args.c:548:31: note: passing argument to parameter 's' here
cli-debug-args.c:593:27: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
                coerce_it(VOIDP(&(od->pzText)));
                          ^~~~~~~~~~~~~~~~~~~~
cli-debug-args.c:553:31: note: passing argument to parameter 's' here
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
psktool-args.c:588:27: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
                coerce_it(VOIDP(&(od->pzText)));
                          ^~~~~~~~~~~~~~~~~~~~
psktool-args.c:548:31: note: passing argument to parameter 's' here
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
certtool-args.c:2032:37: warning: implicit declaration of function 'VOIDP' is invalid in C99 [-Wimplicit-function-declaration]
optionShowRange(pOptions, pOptDesc, VOIDP(rng), 1);
                                    ^
certtool-args.c:2032:37: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void *' [-Wint-conversion]
optionShowRange(pOptions, pOptDesc, VOIDP(rng), 1);
                                    ^~~~~~~~~~
../src/libopts/autoopts/options.h:1225:57: note: passing argument to parameter here
extern void optionShowRange(tOptions*, tOptDesc*, void *, int);
                                                        ^
13 warnings and 7 errors generated.
ocsptool-args.c:989:7: error: use of undeclared identifier 'INDEX_OPT_MORE_HELP'
    { INDEX_OPT_MORE_HELP, /* more-help option index */
      ^
cli-args.c:1969:7: error: use of undeclared identifier 'INDEX_OPT_MORE_HELP'
    { INDEX_OPT_MORE_HELP, /* more-help option index */
      ^
make[4]: *** [srptool-args.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
13 warnings and 7 errors generated.
certtool-args.c:2069:47: error: use of undeclared identifier 'INDEX_OPT_ECC'
    int res = optionAlias(pOptions, pOptDesc, INDEX_OPT_ECC);
                                              ^
make[4]: *** [cli-debug-args.lo] Error 1
serv-args.c:1680:19: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
            res = (char *)VOIDP(_(pz));
                  ^
serv-args.c:1682:15: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
        res = (char *)VOIDP(_(pz));
certtool-args.c:2085:47:              ^
serv-args.c :1721:23error: use of undeclared identifier 'INDEX_OPT_INDER'
    int res = optionAlias(pOptions, pOptDesc, INDEX_OPT_INDER);: warning: cast to 'char **' from smaller integer type 'int' [-Wint-to-pointer-cast]
        char ** ppz = (char**)VOIDP(&(option_xlateable_txt));
                      ^

serv-args.c:1731:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
        coerce_it(VOIDP(&(opts->pzCopyright)));
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
serv-args.c:1700:31: note: passing argument to parameter 's' here
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
serv-args.c:1732:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
        coerce_it(VOIDP(&(opts->pzCopyNotice)));
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
serv-args.c:1700:31: note: passing argument to parameter 's' here
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
serv-args.c:1733:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
        coerce_it(VOIDP(&(opts->pzFullVersion)));
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
serv-args.c:1700:31: note: passing argument to parameter 's' here
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
serv-args.c:1734:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
        coerce_it(VOIDP(&(opts->pzUsageTitle)));
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
serv-args.c:1700:31: note: passing argument to parameter 's' here
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
serv-args.c:1735:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
        coerce_it(VOIDP(&(opts->pzExplain)));
                  ^~~~~~~~~~~~~~~~~~~~~~~~~
serv-args.c:1700:31: note: passing argument to parameter 's' here
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
serv-args.c:1736:19make[4]: *** [psktool-args.lo] Error 1
: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
        coerce_it(VOIDP(&(opts->pzDetail)));
                  ^~~~~~~~~~~~~~~~~~~~~~~~
serv-args.c:1700:31: note: passing argument to parameter 's' here
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
serv-args.c:1740:27: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
                coerce_it(VOIDP(&(od->pzText)));
                          ^~~~~~~~~~~~~~~~~~~~
serv-args.c:1700:31: note: passing argument to parameter 's' here
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
                                              ^
13 warnings and 7 errors generated.
certtool-args.c:2101:47: error: use of undeclared identifier 'INDEX_OPT_OUTDER'
    int res = optionAlias(pOptions, pOptDesc, INDEX_OPT_OUTDER);
                                              ^
certtool-args.c:2166:7: error: use of undeclared identifier 'INDEX_OPT_MORE_HELP'
    { INDEX_OPT_MORE_HELP, /* more-help option index */
      ^
ocsptool-args.c:1043:19: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
            res = (char *)VOIDP(_(pz));
                  ^
ocsptool-args.c:1045:15: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
        res = (char *)VOIDP(_(pz));
              ^
cli-args.c:2023:19: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
            res = (char *)VOIDP(_(pz));
                  ^
cli-args.c:2025:15: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
        res = (char *)VOIDP(_(pz));
              ^
ocsptool-args.c:1084:23: warning: cast to 'char **' from smaller integer type 'int' [-Wint-to-pointer-cast]
        char ** ppz = (char**)VOIDP(&(option_xlateable_txt));
                      ^
ocsptool-args.c:1094:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
cli-args.c:2064:23: warning: cast to 'char **' from smaller integer type 'int' [-Wint-to-pointer-cast]
        coerce_it(VOIDP(&(opts->pzCopyright)));
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
ocsptool-args.c:1063:31: note: passing argument to parameter 's' here
        char ** ppz = (char**)VOIDP(&(option_xlateable_txt));
                      ^
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
ocsptool-args.c:1095:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
cli-args.c:2074:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
        coerce_it(VOIDP(&(opts->pzCopyNotice)));
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ocsptool-args.c:1063:31: note: passing argument to parameter 's' here
        coerce_it(VOIDP(&(opts->pzCopyright)));
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
cli-args.c:2043:31: note: passing argument to parameter 's' here
ocsptool-args.c:1096:19:static void coerce_it(void ** s) { *s = AO_gettext(*s); 
warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
                              ^
        coerce_it(VOIDP(&(opts->pzFullVersion)));
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ocsptool-args.c:1063:31:cli-args.c:2075:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
        coerce_it(VOIDP(&(opts->pzCopyNotice)));
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cli-args.c:2043:31: note: passing argument to parameter 's' here
 note: passing argument to parameter 's' here
make[4]: *** [serv-args.lo] Error 1
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
cli-args.c:2076:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
ocsptool-args.c:1097:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
        coerce_it(VOIDP(&(opts->pzFullVersion)));
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cli-args.c:2043:31: note: passing argument to parameter 's' here
        coerce_it(VOIDP(&(opts->pzUsageTitle)));
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ocsptool-args.c:1063:31: note: passing argument to parameter 's' here
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
cli-args.c:2077:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
ocsptool-args.c:1098:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
        coerce_it(VOIDP(&(opts->pzUsageTitle)));
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cli-args.c:2043:31: note: passing argument to parameter 's' here
        coerce_it(VOIDP(&(opts->pzExplain)));
                  ^~~~~~~~~~~~~~~~~~~~~~~~~
ocsptool-args.c:1063:31: note: passing argument to parameter 's' here
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
cli-args.c:2078:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
ocsptool-args.c:1099:        coerce_it(VOIDP(&(opts->pzExplain)));19
:                  ^~~~~~~~~~~~~~~~~~~~~~~~~ 
warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
cli-args.c:2043:31:        coerce_it(VOIDP(&(opts->pzDetail)));
 note: passing argument to parameter 's' here
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
cli-args.c:2079:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
                  ^~~~~~~~~~~~~~~~~~~~~~~~
        coerce_it(VOIDP(&(opts->pzDetail)));
                  ^~~~~~~~~~~~~~~~~~~~~~~~
ocsptool-args.c:1063:31cli-args.c:: 2043note:: 31passing argument to parameter 's' here
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
: note: passing argument to parameter 's' here
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
ocsptool-args.c:1103:27: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
                coerce_it(VOIDP(&(od->pzText)));
                          ^~~~~~~~~~~~~~~~~~~~
ocsptool-args.c:1063:31: note: passing argument to parameter 's' here
cli-args.c:2083:27: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
                coerce_it(VOIDP(&(od->pzText)));
                          ^~~~~~~~~~~~~~~~~~~~
cli-args.c:2043:31: note: passing argument to parameter 's' here
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
12 warnings and 11 errors generated.
14 warnings and 10 errors generated.
make[4]: *** [ocsptool-args.lo] Error 1
make[4]: *** [cli-args.lo] Error 1
certtool-cfg.c:1133:60: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat]
                snprintf(tmsg, sizeof(tmsg), "%s (default: %lu): ", msg, default_serial_int);
                                                           ~~~           ^~~~~~~~~~~~~~~~~~
                                                           %llu
/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
  __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
                                                             ^
certtool-args.c:2220:19: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
            res = (char *)VOIDP(_(pz));
                  ^
certtool-args.c:2222:15: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
        res = (char *)VOIDP(_(pz));
              ^
certtool-args.c:2261:23: warning: cast to 'char **' from smaller integer type 'int' [-Wint-to-pointer-cast]
        char ** ppz = (char**)VOIDP(&(option_xlateable_txt));
                      ^
certtool-args.c:2271:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
        coerce_it(VOIDP(&(opts->pzCopyright)));
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
certtool-args.c:2240:31: note: passing argument to parameter 's' here
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
certtool-args.c:2272:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
        coerce_it(VOIDP(&(opts->pzCopyNotice)));
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
certtool-args.c:2240:31: note: passing argument to parameter 's' here
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
certtool-args.c:2273:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
        coerce_it(VOIDP(&(opts->pzFullVersion)));
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
certtool-args.c:2240:31: note: passing argument to parameter 's' here
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
certtool-args.c:2274:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
        coerce_it(VOIDP(&(opts->pzUsageTitle)));
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
certtool-args.c:2240:31: note: passing argument to parameter 's' here
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
certtool-args.c:2275:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
        coerce_it(VOIDP(&(opts->pzExplain)));
                  ^~~~~~~~~~~~~~~~~~~~~~~~~
certtool-args.c:2240:31: note: passing argument to parameter 's' here
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
certtool-args.c:2276:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
        coerce_it(VOIDP(&(opts->pzDetail)));
                  ^~~~~~~~~~~~~~~~~~~~~~~~
certtool-args.c:2240:31: note: passing argument to parameter 's' here
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
certtool-args.c:2280:27: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void **' [-Wint-conversion]
                coerce_it(VOIDP(&(od->pzText)));
                          ^~~~~~~~~~~~~~~~~~~~
certtool-args.c:2240:31: note: passing argument to parameter 's' here
static void coerce_it(void ** s) { *s = AO_gettext(*s);
                              ^
12 warnings and 13 errors generated.
make[4]: *** [certtool-args.lo] Error 1
1 warning generated.


On Aug 10, 2015, at 2:09 AM, Nikos Mavrogiannopoulos <nmav at gnutls.org> wrote:

> Hello, 
> I've just released gnutls 3.3.17. This is a bug-fix release on
> the current stable branch.
> 
> 
> * Version 3.3.17 (released 2015-08-10)
> 
> ** libgnutls: Fix issue with server side sending the status request
>   extension even when not requested. Reported by Jeremy Harris.
> 
> ** libgnutls: gnutls_pkcs11_privkey_generate2() will store the 
>   generated public key, unless the 
>   GNUTLS_PKCS11_OBJ_FLAG_NO_STORE_PUBKEY flag is specified.
> 
> ** libgnutls: fixed double free in DN decoding [GNUTLS-SA-2015-3].
> 
> ** API and ABI modifications:
>   No changes since last version.
> 
> 
> Getting the Software
> ====================
> 
> GnuTLS may be downloaded directly from
> <ftp://ftp.gnutls.org/gcrypt/gnutls/>.  A list of GnuTLS mirrors can be
> found at <http://www.gnutls.org/download.html>.
> 
> Here are the XZ and LZIP compressed sources:
> 
>  ftp://ftp.gnutls.org/gcrypt/gnutls/v3.3/gnutls-3.3.17.tar.xz
>  ftp://ftp.gnutls.org/gcrypt/gnutls/v3.3/gnutls-3.3.17.tar.lz
> 
> Here are OpenPGP detached signatures signed using key 0x96865171:
> 
>  ftp://ftp.gnutls.org/gcrypt/gnutls/v3.3/gnutls-3.3.17.tar.xz.sig
>  ftp://ftp.gnutls.org/gcrypt/gnutls/v3.3/gnutls-3.3.17.tar.lz.sig
> 
> Note that it has been signed with my openpgp key:
> pub   3104R/96865171 2008-05-04 [expires: 2028-04-29]
> uid                  Nikos Mavrogiannopoulos <nmav <at> gnutls.org>
> uid                  Nikos Mavrogiannopoulos <n.mavrogiannopoulos <at>
> gmail.com>
> sub   2048R/9013B842 2008-05-04 [expires: 2018-05-02]
> sub   2048R/1404A91D 2008-05-04 [expires: 2018-05-02]
> 
> regards,
> Nikos
> 
> 
> _______________________________________________
> Gnutls-devel mailing list
> Gnutls-devel at lists.gnutls.org
> http://lists.gnupg.org/mailman/listinfo/gnutls-devel

Marius
--
Marius Schamschula




-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20150810/d63f7737/attachment-0001.html>


More information about the Gnutls-help mailing list