python-for-android icon indicating copy to clipboard operation
python-for-android copied to clipboard

m2crypto recipe build fail

Open RobertFlatt opened this issue 2 years ago • 0 comments

Logs

SWIG/_m2crypto_wrap.c:9493:19: error: incomplete definition of type 'struct stack_st'
  if (arg1) (arg1)->num = arg2;
            ~~~~~~^
/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/openssl/arm64-v8a__ndk_target_21/openssl1.1/include/openssl/stack.h:17:16: note: forward declaration of 'struct stack_st'
typedef struct stack_st OPENSSL_STACK; /* Use STACK_OF(...) instead */
               ^
SWIG/_m2crypto_wrap.c:9513:25: error: incomplete definition of type 'struct stack_st'
  result = (int) ((arg1)->num);
                  ~~~~~~^
/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/openssl/arm64-v8a__ndk_target_21/openssl1.1/include/openssl/stack.h:17:16: note: forward declaration of 'struct stack_st'
typedef struct stack_st OPENSSL_STACK; /* Use STACK_OF(...) instead */
               ^
SWIG/_m2crypto_wrap.c:9542:19: error: incomplete definition of type 'struct stack_st'
  if (arg1) (arg1)->data = arg2;
            ~~~~~~^
/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/openssl/arm64-v8a__ndk_target_21/openssl1.1/include/openssl/stack.h:17:16: note: forward declaration of 'struct stack_st'
typedef struct stack_st OPENSSL_STACK; /* Use STACK_OF(...) instead */
               ^
SWIG/_m2crypto_wrap.c:9562:29: error: incomplete definition of type 'struct stack_st'
  result = (char **) ((arg1)->data);
                      ~~~~~~^
/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/openssl/arm64-v8a__ndk_target_21/openssl1.1/include/openssl/stack.h:17:16: note: forward declaration of 'struct stack_st'
typedef struct stack_st OPENSSL_STACK; /* Use STACK_OF(...) instead */
               ^
SWIG/_m2crypto_wrap.c:9591:19: error: incomplete definition of type 'struct stack_st'
  if (arg1) (arg1)->sorted = arg2;
            ~~~~~~^
/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/openssl/arm64-v8a__ndk_target_21/openssl1.1/include/openssl/stack.h:17:16: note: forward declaration of 'struct stack_st'
typedef struct stack_st OPENSSL_STACK; /* Use STACK_OF(...) instead */
               ^
SWIG/_m2crypto_wrap.c:9611:25: error: incomplete definition of type 'struct stack_st'
  result = (int) ((arg1)->sorted);
                  ~~~~~~^
/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/openssl/arm64-v8a__ndk_target_21/openssl1.1/include/openssl/stack.h:17:16: note: forward declaration of 'struct stack_st'
typedef struct stack_st OPENSSL_STACK; /* Use STACK_OF(...) instead */
               ^
SWIG/_m2crypto_wrap.c:9640:19: error: incomplete definition of type 'struct stack_st'
  if (arg1) (arg1)->num_alloc = arg2;
            ~~~~~~^
/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/openssl/arm64-v8a__ndk_target_21/openssl1.1/include/openssl/stack.h:17:16: note: forward declaration of 'struct stack_st'
typedef struct stack_st OPENSSL_STACK; /* Use STACK_OF(...) instead */
               ^
SWIG/_m2crypto_wrap.c:9660:25: error: incomplete definition of type 'struct stack_st'
  result = (int) ((arg1)->num_alloc);
                  ~~~~~~^
/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/openssl/arm64-v8a__ndk_target_21/openssl1.1/include/openssl/stack.h:17:16: note: forward declaration of 'struct stack_st'
typedef struct stack_st OPENSSL_STACK; /* Use STACK_OF(...) instead */
               ^
SWIG/_m2crypto_wrap.c:9688:19: error: incomplete definition of type 'struct stack_st'
  if (arg1) (arg1)->comp = arg2;
            ~~~~~~^
/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/openssl/arm64-v8a__ndk_target_21/openssl1.1/include/openssl/stack.h:17:16: note: forward declaration of 'struct stack_st'
typedef struct stack_st OPENSSL_STACK; /* Use STACK_OF(...) instead */
               ^
SWIG/_m2crypto_wrap.c:9708:56: error: incomplete definition of type 'struct stack_st'
  result = (int (*)(void const *,void const *)) ((arg1)->comp);
                                                 ~~~~~~^
/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/openssl/arm64-v8a__ndk_target_21/openssl1.1/include/openssl/stack.h:17:16: note: forward declaration of 'struct stack_st'
typedef struct stack_st OPENSSL_STACK; /* Use STACK_OF(...) instead */
               ^
SWIG/_m2crypto_wrap.c:9720:41: error: invalid application of 'sizeof' to an incomplete type 'struct stack_st'
  result = (struct stack_st *)calloc(1, sizeof(struct stack_st));
                                        ^     ~~~~~~~~~~~~~~~~~
/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/openssl/arm64-v8a__ndk_target_21/openssl1.1/include/openssl/stack.h:17:16: note: forward declaration of 'struct stack_st'
typedef struct stack_st OPENSSL_STACK; /* Use STACK_OF(...) instead */
               ^
SWIG/_m2crypto_wrap.c:9951:40: warning: incompatible function pointer types passing 'void *(*)(void *)' to parameter of type 'OPENSSL_sk_copyfunc' (aka 'void *(*)(const void *)') [-Wincompatible-function-pointer-types]
  result = (_STACK *)sk_deep_copy(arg1,arg2,arg3);
                                       ^~~~
/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/openssl/arm64-v8a__ndk_target_21/openssl1.1/include/openssl/stack.h:35:57: note: passing argument to parameter 'c' here
                                    OPENSSL_sk_copyfunc c,
                                                        ^
SWIG/_m2crypto_wrap.c:10354:19: error: incomplete definition of type 'struct stack_st_OPENSSL_STRING'
  if (arg1) (arg1)->stack = *arg2;
            ~~~~~~^
/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/openssl/arm64-v8a__ndk_target_21/openssl1.1/include/openssl/safestack.h:159:1: note: forward declaration of 'struct stack_st_OPENSSL_STRING'
DEFINE_SPECIAL_STACK_OF(OPENSSL_STRING, char)
^
/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/openssl/arm64-v8a__ndk_target_21/openssl1.1/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF'
# define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
                                         ^
/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/openssl/arm64-v8a__ndk_target_21/openssl1.1/include/openssl/safestack.h:23:5: note: expanded from macro 'SKM_DEFINE_STACK_OF'
    STACK_OF(t1); \
    ^
/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/openssl/arm64-v8a__ndk_target_21/openssl1.1/include/openssl/safestack.h:20:32: note: expanded from macro 'STACK_OF'
# define STACK_OF(type) struct stack_st_##type
                               ^
<scratch space>:54:1: note: expanded from here
stack_st_OPENSSL_STRING
^
SWIG/_m2crypto_wrap.c:10374:31: error: incomplete definition of type 'struct stack_st_OPENSSL_STRING'
  result = (_STACK *)& ((arg1)->stack);
                        ~~~~~~^
/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/openssl/arm64-v8a__ndk_target_21/openssl1.1/include/openssl/safestack.h:159:1: note: forward declaration of 'struct stack_st_OPENSSL_STRING'
DEFINE_SPECIAL_STACK_OF(OPENSSL_STRING, char)
^
/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/openssl/arm64-v8a__ndk_target_21/openssl1.1/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF'
# define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
                                         ^
/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/openssl/arm64-v8a__ndk_target_21/openssl1.1/include/openssl/safestack.h:23:5: note: expanded from macro 'SKM_DEFINE_STACK_OF'
    STACK_OF(t1); \
    ^
/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/openssl/arm64-v8a__ndk_target_21/openssl1.1/include/openssl/safestack.h:20:32: note: expanded from macro 'STACK_OF'
# define STACK_OF(type) struct stack_st_##type
                               ^
<scratch space>:54:1: note: expanded from here
stack_st_OPENSSL_STRING
^
SWIG/_m2crypto_wrap.c:10386:56: error: invalid application of 'sizeof' to an incomplete type 'struct stack_st_OPENSSL_STRING'
  result = (struct stack_st_OPENSSL_STRING *)calloc(1, sizeof(struct stack_st_OPENSSL_STRING));
                                                       ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/openssl/arm64-v8a__ndk_target_21/openssl1.1/include/openssl/safestack.h:159:1: note: forward declaration of 'struct stack_st_OPENSSL_STRING'
DEFINE_SPECIAL_STACK_OF(OPENSSL_STRING, char)
^
/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/openssl/arm64-v8a__ndk_target_21/openssl1.1/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF'
# define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
                                         ^
/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/openssl/arm64-v8a__ndk_target_21/openssl1.1/include/openssl/safestack.h:23:5: note: expanded from macro 'SKM_DEFINE_STACK_OF'
    STACK_OF(t1); \
    ^
/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/openssl/arm64-v8a__ndk_target_21/openssl1.1/include/openssl/safestack.h:20:32: note: expanded from macro 'STACK_OF'
# define STACK_OF(type) struct stack_st_##type
                               ^
<scratch space>:54:1: note: expanded from here
stack_st_OPENSSL_STRING
^
SWIG/_m2crypto_wrap.c:10434:19: error: incomplete definition of type 'struct stack_st_OPENSSL_BLOCK'
  if (arg1) (arg1)->stack = *arg2;
            ~~~~~~^
/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/openssl/arm64-v8a__ndk_target_21/openssl1.1/include/openssl/safestack.h:167:1: note: forward declaration of 'struct stack_st_OPENSSL_BLOCK'
DEFINE_SPECIAL_STACK_OF(OPENSSL_BLOCK, void)
^
/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/openssl/arm64-v8a__ndk_target_21/openssl1.1/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF'
# define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
                                         ^
/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/openssl/arm64-v8a__ndk_target_21/openssl1.1/include/openssl/safestack.h:23:5: note: expanded from macro 'SKM_DEFINE_STACK_OF'
    STACK_OF(t1); \
    ^
/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/openssl/arm64-v8a__ndk_target_21/openssl1.1/include/openssl/safestack.h:20:32: note: expanded from macro 'STACK_OF'
# define STACK_OF(type) struct stack_st_##type
                               ^
<scratch space>:56:1: note: expanded from here
stack_st_OPENSSL_BLOCK
^
SWIG/_m2crypto_wrap.c:10454:31: error: incomplete definition of type 'struct stack_st_OPENSSL_BLOCK'
  result = (_STACK *)& ((arg1)->stack);
                        ~~~~~~^
/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/openssl/arm64-v8a__ndk_target_21/openssl1.1/include/openssl/safestack.h:167:1: note: forward declaration of 'struct stack_st_OPENSSL_BLOCK'
DEFINE_SPECIAL_STACK_OF(OPENSSL_BLOCK, void)
^
/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/openssl/arm64-v8a__ndk_target_21/openssl1.1/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF'
# define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
                                         ^
/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/openssl/arm64-v8a__ndk_target_21/openssl1.1/include/openssl/safestack.h:23:5: note: expanded from macro 'SKM_DEFINE_STACK_OF'
    STACK_OF(t1); \
    ^
/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/openssl/arm64-v8a__ndk_target_21/openssl1.1/include/openssl/safestack.h:20:32: note: expanded from macro 'STACK_OF'
# define STACK_OF(type) struct stack_st_##type
                               ^
<scratch space>:56:1: note: expanded from here
stack_st_OPENSSL_BLOCK
^
SWIG/_m2crypto_wrap.c:10466:55: error: invalid application of 'sizeof' to an incomplete type 'struct stack_st_OPENSSL_BLOCK'
  result = (struct stack_st_OPENSSL_BLOCK *)calloc(1, sizeof(struct stack_st_OPENSSL_BLOCK));
                                                      ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/openssl/arm64-v8a__ndk_target_21/openssl1.1/include/openssl/safestack.h:167:1: note: forward declaration of 'struct stack_st_OPENSSL_BLOCK'
DEFINE_SPECIAL_STACK_OF(OPENSSL_BLOCK, void)
^
/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/openssl/arm64-v8a__ndk_target_21/openssl1.1/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF'
# define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
                                         ^
/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/openssl/arm64-v8a__ndk_target_21/openssl1.1/include/openssl/safestack.h:23:5: note: expanded from macro 'SKM_DEFINE_STACK_OF'
    STACK_OF(t1); \
    ^
/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/openssl/arm64-v8a__ndk_target_21/openssl1.1/include/openssl/safestack.h:20:32: note: expanded from macro 'STACK_OF'
# define STACK_OF(type) struct stack_st_##type
                               ^
<scratch space>:56:1: note: expanded from here
stack_st_OPENSSL_BLOCK
^
SWIG/_m2crypto_wrap.c:30262:5: warning: incompatible function pointer types initializing 'unaryfunc' (aka 'struct _object *(*)(struct _object *)') with an expression of type 'binaryfunc' (aka 'struct _object *(*)(struct _object *, struct _object *)') [-Wincompatible-function-pointer-types]
    (binaryfunc) 0,                           /* nb_add */
    ^~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30263:5: warning: incompatible function pointer types initializing 'unaryfunc' (aka 'struct _object *(*)(struct _object *)') with an expression of type 'binaryfunc' (aka 'struct _object *(*)(struct _object *, struct _object *)') [-Wincompatible-function-pointer-types]
    (binaryfunc) 0,                           /* nb_subtract */
    ^~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30264:5: warning: incompatible function pointer types initializing 'unaryfunc' (aka 'struct _object *(*)(struct _object *)') with an expression of type 'binaryfunc' (aka 'struct _object *(*)(struct _object *, struct _object *)') [-Wincompatible-function-pointer-types]
    (binaryfunc) 0,                           /* nb_multiply */
    ^~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30268:5: warning: incompatible function pointer types initializing 'sendfunc' (aka 'PySendResult (*)(struct _object *, struct _object *, struct _object **)') with an expression of type 'binaryfunc' (aka 'struct _object *(*)(struct _object *, struct _object *)') [-Wincompatible-function-pointer-types]
    (binaryfunc) 0,                           /* nb_remainder */
    ^~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30269:5: warning: excess elements in struct initializer [-Wexcess-initializers]
    (binaryfunc) 0,                           /* nb_divmod */
    ^~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30317:5: warning: incompatible function pointer types initializing 'binaryfunc' (aka 'struct _object *(*)(struct _object *, struct _object *)') with an expression of type 'lenfunc' (aka 'long (*)(struct _object *)') [-Wincompatible-function-pointer-types]
    (lenfunc) 0,                              /* mp_length */
    ^~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30319:5: warning: incompatible function pointer types initializing 'binaryfunc' (aka 'struct _object *(*)(struct _object *, struct _object *)') with an expression of type 'objobjargproc' (aka 'int (*)(struct _object *, struct _object *, struct _object *)') [-Wincompatible-function-pointer-types]
    (objobjargproc) 0,                        /* mp_ass_subscript */
    ^~~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30324:5: warning: incompatible function pointer types initializing 'objobjargproc' (aka 'int (*)(struct _object *, struct _object *, struct _object *)') with an expression of type 'ssizeargfunc' (aka 'struct _object *(*)(struct _object *, long)') [-Wincompatible-function-pointer-types]
    (ssizeargfunc) 0,                         /* sq_repeat */
    ^~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30325:5: warning: excess elements in struct initializer [-Wexcess-initializers]
    (ssizeargfunc) 0,                         /* sq_item */
    ^~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30349:5: warning: incompatible function pointer types initializing 'lenfunc' (aka 'long (*)(struct _object *)') with an expression of type 'getbufferproc' (aka 'int (*)(struct _object *, struct bufferinfo *, int)') [-Wincompatible-function-pointer-types]
    (getbufferproc) 0,                        /* bf_getbuffer */
    ^~~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30350:5: warning: incompatible function pointer types initializing 'binaryfunc' (aka 'struct _object *(*)(struct _object *, struct _object *)') with an expression of type 'releasebufferproc' (aka 'void (*)(struct _object *, struct bufferinfo *)') [-Wincompatible-function-pointer-types]
    (releasebufferproc) 0,                    /* bf_releasebuffer */
    ^~~~~~~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30353:5: warning: incompatible pointer types initializing 'getbufferproc' (aka 'int (*)(struct _object *, struct bufferinfo *, int)') with an expression of type 'PyObject *' (aka 'struct _object *') [-Wincompatible-pointer-types]
    (PyObject*) 0,                            /* ht_name */
    ^~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30354:5: warning: incompatible pointer types initializing 'releasebufferproc' (aka 'void (*)(struct _object *, struct bufferinfo *)') with an expression of type 'PyObject *' (aka 'struct _object *') [-Wincompatible-pointer-types]
    (PyObject*) 0,                            /* ht_slots */
    ^~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30353:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    (PyObject*) 0,                            /* ht_name */
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    {
SWIG/_m2crypto_wrap.c:30456:5: warning: incompatible function pointer types initializing 'unaryfunc' (aka 'struct _object *(*)(struct _object *)') with an expression of type 'binaryfunc' (aka 'struct _object *(*)(struct _object *, struct _object *)') [-Wincompatible-function-pointer-types]
    (binaryfunc) 0,                           /* nb_add */
    ^~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30457:5: warning: incompatible function pointer types initializing 'unaryfunc' (aka 'struct _object *(*)(struct _object *)') with an expression of type 'binaryfunc' (aka 'struct _object *(*)(struct _object *, struct _object *)') [-Wincompatible-function-pointer-types]
    (binaryfunc) 0,                           /* nb_subtract */
    ^~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30458:5: warning: incompatible function pointer types initializing 'unaryfunc' (aka 'struct _object *(*)(struct _object *)') with an expression of type 'binaryfunc' (aka 'struct _object *(*)(struct _object *, struct _object *)') [-Wincompatible-function-pointer-types]
    (binaryfunc) 0,                           /* nb_multiply */
    ^~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30462:5: warning: incompatible function pointer types initializing 'sendfunc' (aka 'PySendResult (*)(struct _object *, struct _object *, struct _object **)') with an expression of type 'binaryfunc' (aka 'struct _object *(*)(struct _object *, struct _object *)') [-Wincompatible-function-pointer-types]
    (binaryfunc) 0,                           /* nb_remainder */
    ^~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30463:5: warning: excess elements in struct initializer [-Wexcess-initializers]
    (binaryfunc) 0,                           /* nb_divmod */
    ^~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30511:5: warning: incompatible function pointer types initializing 'binaryfunc' (aka 'struct _object *(*)(struct _object *, struct _object *)') with an expression of type 'lenfunc' (aka 'long (*)(struct _object *)') [-Wincompatible-function-pointer-types]
    (lenfunc) 0,                              /* mp_length */
    ^~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30513:5: warning: incompatible function pointer types initializing 'binaryfunc' (aka 'struct _object *(*)(struct _object *, struct _object *)') with an expression of type 'objobjargproc' (aka 'int (*)(struct _object *, struct _object *, struct _object *)') [-Wincompatible-function-pointer-types]
    (objobjargproc) 0,                        /* mp_ass_subscript */
    ^~~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30518:5: warning: incompatible function pointer types initializing 'objobjargproc' (aka 'int (*)(struct _object *, struct _object *, struct _object *)') with an expression of type 'ssizeargfunc' (aka 'struct _object *(*)(struct _object *, long)') [-Wincompatible-function-pointer-types]
    (ssizeargfunc) 0,                         /* sq_repeat */
    ^~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30519:5: warning: excess elements in struct initializer [-Wexcess-initializers]
    (ssizeargfunc) 0,                         /* sq_item */
    ^~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30543:5: warning: incompatible function pointer types initializing 'lenfunc' (aka 'long (*)(struct _object *)') with an expression of type 'getbufferproc' (aka 'int (*)(struct _object *, struct bufferinfo *, int)') [-Wincompatible-function-pointer-types]
    (getbufferproc) 0,                        /* bf_getbuffer */
    ^~~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30544:5: warning: incompatible function pointer types initializing 'binaryfunc' (aka 'struct _object *(*)(struct _object *, struct _object *)') with an expression of type 'releasebufferproc' (aka 'void (*)(struct _object *, struct bufferinfo *)') [-Wincompatible-function-pointer-types]
    (releasebufferproc) 0,                    /* bf_releasebuffer */
    ^~~~~~~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30547:5: warning: incompatible pointer types initializing 'getbufferproc' (aka 'int (*)(struct _object *, struct bufferinfo *, int)') with an expression of type 'PyObject *' (aka 'struct _object *') [-Wincompatible-pointer-types]
    (PyObject*) 0,                            /* ht_name */
    ^~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30548:5: warning: incompatible pointer types initializing 'releasebufferproc' (aka 'void (*)(struct _object *, struct bufferinfo *)') with an expression of type 'PyObject *' (aka 'struct _object *') [-Wincompatible-pointer-types]
    (PyObject*) 0,                            /* ht_slots */
    ^~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30547:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    (PyObject*) 0,                            /* ht_name */
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    {
SWIG/_m2crypto_wrap.c:30650:5: warning: incompatible function pointer types initializing 'unaryfunc' (aka 'struct _object *(*)(struct _object *)') with an expression of type 'binaryfunc' (aka 'struct _object *(*)(struct _object *, struct _object *)') [-Wincompatible-function-pointer-types]
    (binaryfunc) 0,                           /* nb_add */
    ^~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30651:5: warning: incompatible function pointer types initializing 'unaryfunc' (aka 'struct _object *(*)(struct _object *)') with an expression of type 'binaryfunc' (aka 'struct _object *(*)(struct _object *, struct _object *)') [-Wincompatible-function-pointer-types]
    (binaryfunc) 0,                           /* nb_subtract */
    ^~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30652:5: warning: incompatible function pointer types initializing 'unaryfunc' (aka 'struct _object *(*)(struct _object *)') with an expression of type 'binaryfunc' (aka 'struct _object *(*)(struct _object *, struct _object *)') [-Wincompatible-function-pointer-types]
    (binaryfunc) 0,                           /* nb_multiply */
    ^~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30656:5: warning: incompatible function pointer types initializing 'sendfunc' (aka 'PySendResult (*)(struct _object *, struct _object *, struct _object **)') with an expression of type 'binaryfunc' (aka 'struct _object *(*)(struct _object *, struct _object *)') [-Wincompatible-function-pointer-types]
    (binaryfunc) 0,                           /* nb_remainder */
    ^~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30657:5: warning: excess elements in struct initializer [-Wexcess-initializers]
    (binaryfunc) 0,                           /* nb_divmod */
    ^~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30705:5: warning: incompatible function pointer types initializing 'binaryfunc' (aka 'struct _object *(*)(struct _object *, struct _object *)') with an expression of type 'lenfunc' (aka 'long (*)(struct _object *)') [-Wincompatible-function-pointer-types]
    (lenfunc) 0,                              /* mp_length */
    ^~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30707:5: warning: incompatible function pointer types initializing 'binaryfunc' (aka 'struct _object *(*)(struct _object *, struct _object *)') with an expression of type 'objobjargproc' (aka 'int (*)(struct _object *, struct _object *, struct _object *)') [-Wincompatible-function-pointer-types]
    (objobjargproc) 0,                        /* mp_ass_subscript */
    ^~~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30712:5: warning: incompatible function pointer types initializing 'objobjargproc' (aka 'int (*)(struct _object *, struct _object *, struct _object *)') with an expression of type 'ssizeargfunc' (aka 'struct _object *(*)(struct _object *, long)') [-Wincompatible-function-pointer-types]
    (ssizeargfunc) 0,                         /* sq_repeat */
    ^~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30713:5: warning: excess elements in struct initializer [-Wexcess-initializers]
    (ssizeargfunc) 0,                         /* sq_item */
    ^~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30737:5: warning: incompatible function pointer types initializing 'lenfunc' (aka 'long (*)(struct _object *)') with an expression of type 'getbufferproc' (aka 'int (*)(struct _object *, struct bufferinfo *, int)') [-Wincompatible-function-pointer-types]
    (getbufferproc) 0,                        /* bf_getbuffer */
    ^~~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30738:5: warning: incompatible function pointer types initializing 'binaryfunc' (aka 'struct _object *(*)(struct _object *, struct _object *)') with an expression of type 'releasebufferproc' (aka 'void (*)(struct _object *, struct bufferinfo *)') [-Wincompatible-function-pointer-types]
    (releasebufferproc) 0,                    /* bf_releasebuffer */
    ^~~~~~~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30741:5: warning: incompatible pointer types initializing 'getbufferproc' (aka 'int (*)(struct _object *, struct bufferinfo *, int)') with an expression of type 'PyObject *' (aka 'struct _object *') [-Wincompatible-pointer-types]
    (PyObject*) 0,                            /* ht_name */
    ^~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30742:5: warning: incompatible pointer types initializing 'releasebufferproc' (aka 'void (*)(struct _object *, struct bufferinfo *)') with an expression of type 'PyObject *' (aka 'struct _object *') [-Wincompatible-pointer-types]
    (PyObject*) 0,                            /* ht_slots */
    ^~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30741:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    (PyObject*) 0,                            /* ht_name */
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    {
SWIG/_m2crypto_wrap.c:30844:5: warning: incompatible function pointer types initializing 'unaryfunc' (aka 'struct _object *(*)(struct _object *)') with an expression of type 'binaryfunc' (aka 'struct _object *(*)(struct _object *, struct _object *)') [-Wincompatible-function-pointer-types]
    (binaryfunc) 0,                           /* nb_add */
    ^~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30845:5: warning: incompatible function pointer types initializing 'unaryfunc' (aka 'struct _object *(*)(struct _object *)') with an expression of type 'binaryfunc' (aka 'struct _object *(*)(struct _object *, struct _object *)') [-Wincompatible-function-pointer-types]
    (binaryfunc) 0,                           /* nb_subtract */
    ^~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30846:5: warning: incompatible function pointer types initializing 'unaryfunc' (aka 'struct _object *(*)(struct _object *)') with an expression of type 'binaryfunc' (aka 'struct _object *(*)(struct _object *, struct _object *)') [-Wincompatible-function-pointer-types]
    (binaryfunc) 0,                           /* nb_multiply */
    ^~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30850:5: warning: incompatible function pointer types initializing 'sendfunc' (aka 'PySendResult (*)(struct _object *, struct _object *, struct _object **)') with an expression of type 'binaryfunc' (aka 'struct _object *(*)(struct _object *, struct _object *)') [-Wincompatible-function-pointer-types]
    (binaryfunc) 0,                           /* nb_remainder */
    ^~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30851:5: warning: excess elements in struct initializer [-Wexcess-initializers]
    (binaryfunc) 0,                           /* nb_divmod */
    ^~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30899:5: warning: incompatible function pointer types initializing 'binaryfunc' (aka 'struct _object *(*)(struct _object *, struct _object *)') with an expression of type 'lenfunc' (aka 'long (*)(struct _object *)') [-Wincompatible-function-pointer-types]
    (lenfunc) 0,                              /* mp_length */
    ^~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30901:5: warning: incompatible function pointer types initializing 'binaryfunc' (aka 'struct _object *(*)(struct _object *, struct _object *)') with an expression of type 'objobjargproc' (aka 'int (*)(struct _object *, struct _object *, struct _object *)') [-Wincompatible-function-pointer-types]
    (objobjargproc) 0,                        /* mp_ass_subscript */
    ^~~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30906:5: warning: incompatible function pointer types initializing 'objobjargproc' (aka 'int (*)(struct _object *, struct _object *, struct _object *)') with an expression of type 'ssizeargfunc' (aka 'struct _object *(*)(struct _object *, long)') [-Wincompatible-function-pointer-types]
    (ssizeargfunc) 0,                         /* sq_repeat */
    ^~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30907:5: warning: excess elements in struct initializer [-Wexcess-initializers]
    (ssizeargfunc) 0,                         /* sq_item */
    ^~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30931:5: warning: incompatible function pointer types initializing 'lenfunc' (aka 'long (*)(struct _object *)') with an expression of type 'getbufferproc' (aka 'int (*)(struct _object *, struct bufferinfo *, int)') [-Wincompatible-function-pointer-types]
    (getbufferproc) 0,                        /* bf_getbuffer */
    ^~~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30932:5: warning: incompatible function pointer types initializing 'binaryfunc' (aka 'struct _object *(*)(struct _object *, struct _object *)') with an expression of type 'releasebufferproc' (aka 'void (*)(struct _object *, struct bufferinfo *)') [-Wincompatible-function-pointer-types]
    (releasebufferproc) 0,                    /* bf_releasebuffer */
    ^~~~~~~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30935:5: warning: incompatible pointer types initializing 'getbufferproc' (aka 'int (*)(struct _object *, struct bufferinfo *, int)') with an expression of type 'PyObject *' (aka 'struct _object *') [-Wincompatible-pointer-types]
    (PyObject*) 0,                            /* ht_name */
    ^~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30936:5: warning: incompatible pointer types initializing 'releasebufferproc' (aka 'void (*)(struct _object *, struct bufferinfo *)') with an expression of type 'PyObject *' (aka 'struct _object *') [-Wincompatible-pointer-types]
    (PyObject*) 0,                            /* ht_slots */
    ^~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:30935:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    (PyObject*) 0,                            /* ht_name */
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    {
SWIG/_m2crypto_wrap.c:31041:5: warning: incompatible function pointer types initializing 'unaryfunc' (aka 'struct _object *(*)(struct _object *)') with an expression of type 'binaryfunc' (aka 'struct _object *(*)(struct _object *, struct _object *)') [-Wincompatible-function-pointer-types]
    (binaryfunc) 0,                           /* nb_add */
    ^~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:31042:5: warning: incompatible function pointer types initializing 'unaryfunc' (aka 'struct _object *(*)(struct _object *)') with an expression of type 'binaryfunc' (aka 'struct _object *(*)(struct _object *, struct _object *)') [-Wincompatible-function-pointer-types]
    (binaryfunc) 0,                           /* nb_subtract */
    ^~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:31043:5: warning: incompatible function pointer types initializing 'unaryfunc' (aka 'struct _object *(*)(struct _object *)') with an expression of type 'binaryfunc' (aka 'struct _object *(*)(struct _object *, struct _object *)') [-Wincompatible-function-pointer-types]
    (binaryfunc) 0,                           /* nb_multiply */
    ^~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:31047:5: warning: incompatible function pointer types initializing 'sendfunc' (aka 'PySendResult (*)(struct _object *, struct _object *, struct _object **)') with an expression of type 'binaryfunc' (aka 'struct _object *(*)(struct _object *, struct _object *)') [-Wincompatible-function-pointer-types]
    (binaryfunc) 0,                           /* nb_remainder */
    ^~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:31048:5: warning: excess elements in struct initializer [-Wexcess-initializers]
    (binaryfunc) 0,                           /* nb_divmod */
    ^~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:31096:5: warning: incompatible function pointer types initializing 'binaryfunc' (aka 'struct _object *(*)(struct _object *, struct _object *)') with an expression of type 'lenfunc' (aka 'long (*)(struct _object *)') [-Wincompatible-function-pointer-types]
    (lenfunc) 0,                              /* mp_length */
    ^~~~~~~~~~~
SWIG/_m2crypto_wrap.c:31098:5: warning: incompatible function pointer types initializing 'binaryfunc' (aka 'struct _object *(*)(struct _object *, struct _object *)') with an expression of type 'objobjargproc' (aka 'int (*)(struct _object *, struct _object *, struct _object *)') [-Wincompatible-function-pointer-types]
    (objobjargproc) 0,                        /* mp_ass_subscript */
    ^~~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:31103:5: warning: incompatible function pointer types initializing 'objobjargproc' (aka 'int (*)(struct _object *, struct _object *, struct _object *)') with an expression of type 'ssizeargfunc' (aka 'struct _object *(*)(struct _object *, long)') [-Wincompatible-function-pointer-types]
    (ssizeargfunc) 0,                         /* sq_repeat */
    ^~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:31104:5: warning: excess elements in struct initializer [-Wexcess-initializers]
    (ssizeargfunc) 0,                         /* sq_item */
    ^~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:31128:5: warning: incompatible function pointer types initializing 'lenfunc' (aka 'long (*)(struct _object *)') with an expression of type 'getbufferproc' (aka 'int (*)(struct _object *, struct bufferinfo *, int)') [-Wincompatible-function-pointer-types]
    (getbufferproc) 0,                        /* bf_getbuffer */
    ^~~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:31129:5: warning: incompatible function pointer types initializing 'binaryfunc' (aka 'struct _object *(*)(struct _object *, struct _object *)') with an expression of type 'releasebufferproc' (aka 'void (*)(struct _object *, struct bufferinfo *)') [-Wincompatible-function-pointer-types]
    (releasebufferproc) 0,                    /* bf_releasebuffer */
    ^~~~~~~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:31132:5: warning: incompatible pointer types initializing 'getbufferproc' (aka 'int (*)(struct _object *, struct bufferinfo *, int)') with an expression of type 'PyObject *' (aka 'struct _object *') [-Wincompatible-pointer-types]
    (PyObject*) 0,                            /* ht_name */
    ^~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:31133:5: warning: incompatible pointer types initializing 'releasebufferproc' (aka 'void (*)(struct _object *, struct bufferinfo *)') with an expression of type 'PyObject *' (aka 'struct _object *') [-Wincompatible-pointer-types]
    (PyObject*) 0,                            /* ht_slots */
    ^~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:31132:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    (PyObject*) 0,                            /* ht_name */
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    {
73 warnings and 17 errors generated.


RobertFlatt avatar May 30 '23 01:05 RobertFlatt