Last active
July 8, 2020 05:46
-
-
Save elliotwoods/c2378981fdb1b154b37d111f58eaaa4c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kimchips@KC41-VIDEOSERVER:/mnt/c/dev/micropython-wrap$ make MICROPYTHON_PORT_DIR=/mnt/c/dev/micropython/ports/esp32 sharedlib | |
make -C /mnt/c/dev/micropython/ports/esp32 BUILD=build MICROPY_PY_BTREE=0 MICROPY_PY_FFI=0 MICROPY_PY_USSL=0 MICROPY_PY_AXTLS=0 MICROPY_FATFS=0 MICROPY_PY_THREAD=0 build/genhdr/qstrdefs.generated.h | |
make[1]: Entering directory '/mnt/c/dev/micropython/ports/esp32' | |
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity. | |
Building with ESP IDF v4 | |
fatal: No names found, cannot describe anything. | |
make[1]: Leaving directory '/mnt/c/dev/micropython/ports/esp32' | |
g++ -fPIC -Wall -Werror -I../micropython -I../micropython/py -I/mnt/c/dev/micropython/ports/esp32 -I/mnt/c/dev/micropython/ports/esp32/build -I/mnt/c/dev/micropython/ports/esp32/boards/generic -I/mnt/c/dev/esp-idf/components/esp32/include -I/mnt/c/dev/esp-idf/components/esp_rom/include -I/mnt/c/dev/esp-idf/components/freertos/include -I/mnt/c/dev/esp-idf/components/newlib/include -I/mnt/c/dev/esp-idf/components/xtensa/include -I/mnt/c/dev/esp-idf/components/xtensa/esp32/include -I/mnt/c/dev/esp-idf/components/soc/esp32/include -I/mnt/c/dev/esp-idf/components/esp_common/include -I/mnt/c/dev/esp-idf/components/heap/include -std=c++17 -c tests/module.cpp -o tests/module_shared.o | |
In file included from /mnt/c/dev/micropython/ports/esp32/mpconfigport.h:11:0, | |
from ../micropython/py/mpconfig.h:62, | |
from ../micropython/py/obj.h:31, | |
from ../micropython/py/objfun.h:29, | |
from tests/../detail/micropython.h:9, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/mnt/c/dev/esp-idf/components/esp32/include/rom/ets_sys.h:1:2: error: #warning rom/ets_sys.h is deprecated, please use esp32/rom/ets_sys.h instead [-Werror=cpp] | |
#warning rom/ets_sys.h is deprecated, please use esp32/rom/ets_sys.h instead | |
^~~~~~~ | |
In file included from /mnt/c/dev/esp-idf/components/freertos/include/freertos/portable.h:89:0, | |
from /mnt/c/dev/esp-idf/components/freertos/include/freertos/FreeRTOS.h:105, | |
from /mnt/c/dev/micropython/ports/esp32/mpconfigport.h:234, | |
from ../micropython/py/mpconfig.h:62, | |
from ../micropython/py/obj.h:31, | |
from ../micropython/py/objfun.h:29, | |
from tests/../detail/micropython.h:9, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/mnt/c/dev/esp-idf/components/soc/esp32/include/soc/cpu.h: In function ‘void cpu_configure_region_protection()’: | |
/mnt/c/dev/esp-idf/components/soc/esp32/include/soc/cpu.h:77:23: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] | |
for (int i = 0; i < sizeof(pages_to_protect)/sizeof(pages_to_protect[0]); ++i) { | |
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from ../micropython/py/objfun.h:29:0, | |
from tests/../detail/micropython.h:9, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
../micropython/py/obj.h: In function ‘bool mp_obj_is_small_int(mp_const_obj_t)’: | |
../micropython/py/obj.h:87:26: error: cast from ‘mp_const_obj_t {aka const void*}’ to ‘mp_int_t {aka int}’ loses precision [-fpermissive] | |
return (((mp_int_t)(o)) & 1) != 0; | |
^ | |
../micropython/py/obj.h: In function ‘bool mp_obj_is_qstr(mp_const_obj_t)’: | |
../micropython/py/obj.h:93:26: error: cast from ‘mp_const_obj_t {aka const void*}’ to ‘mp_int_t {aka int}’ loses precision [-fpermissive] | |
return (((mp_int_t)(o)) & 7) == 2; | |
^ | |
../micropython/py/obj.h: In function ‘bool mp_obj_is_immediate_obj(mp_const_obj_t)’: | |
../micropython/py/obj.h:99:26: error: cast from ‘mp_const_obj_t {aka const void*}’ to ‘mp_int_t {aka int}’ loses precision [-fpermissive] | |
return (((mp_int_t)(o)) & 7) == 6; | |
^ | |
../micropython/py/obj.h: In function ‘bool mp_obj_is_obj(mp_const_obj_t)’: | |
../micropython/py/obj.h:116:26: error: cast from ‘mp_const_obj_t {aka const void*}’ to ‘mp_int_t {aka int}’ loses precision [-fpermissive] | |
return (((mp_int_t)(o)) & 3) == 0; | |
^ | |
In file included from /usr/include/math.h:37:0, | |
from /usr/include/c++/7/cmath:45, | |
from tests/../detail/micropython.h:24, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/usr/include/x86_64-linux-gnu/bits/types.h: At global scope: | |
/usr/include/x86_64-linux-gnu/bits/types.h:43:25: error: conflicting declaration ‘typedef long int __int64_t’ | |
typedef signed long int __int64_t; | |
^~~~~~~~~ | |
In file included from /mnt/c/dev/esp-idf/components/newlib/include/stdint.h:12:0, | |
from /mnt/c/dev/micropython/ports/esp32/mpconfigport.h:7, | |
from ../micropython/py/mpconfig.h:62, | |
from ../micropython/py/obj.h:31, | |
from ../micropython/py/objfun.h:29, | |
from tests/../detail/micropython.h:9, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/mnt/c/dev/esp-idf/components/newlib/include/machine/_default_types.h:29:26: note: previous declaration as ‘typedef long long int __int64_t’ | |
typedef signed long long __int64_t; | |
^~~~~~~~~ | |
In file included from /usr/include/math.h:37:0, | |
from /usr/include/c++/7/cmath:45, | |
from tests/../detail/micropython.h:24, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/usr/include/x86_64-linux-gnu/bits/types.h:44:27: error: conflicting declaration ‘typedef long unsigned int __uint64_t’ | |
typedef unsigned long int __uint64_t; | |
^~~~~~~~~~ | |
In file included from /mnt/c/dev/esp-idf/components/newlib/include/stdint.h:12:0, | |
from /mnt/c/dev/micropython/ports/esp32/mpconfigport.h:7, | |
from ../micropython/py/mpconfig.h:62, | |
from ../micropython/py/obj.h:31, | |
from ../micropython/py/objfun.h:29, | |
from tests/../detail/micropython.h:9, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/mnt/c/dev/esp-idf/components/newlib/include/machine/_default_types.h:30:28: note: previous declaration as ‘typedef long long unsigned int __uint64_t’ | |
typedef unsigned long long __uint64_t; | |
^~~~~~~~~~ | |
In file included from /usr/include/math.h:37:0, | |
from /usr/include/c++/7/cmath:45, | |
from tests/../detail/micropython.h:24, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/usr/include/x86_64-linux-gnu/bits/types.h:133:25: error: conflicting declaration ‘typedef long unsigned int __dev_t’ | |
__STD_TYPE __DEV_T_TYPE __dev_t; /* Type of device numbers. */ | |
^~~~~~~ | |
In file included from /mnt/c/dev/esp-idf/components/newlib/include/sys/reent.h:15:0, | |
from /mnt/c/dev/esp-idf/components/newlib/include/alloca.h:11, | |
from /mnt/c/dev/micropython/ports/esp32/mpconfigport.h:8, | |
from ../micropython/py/mpconfig.h:62, | |
from ../micropython/py/obj.h:31, | |
from ../micropython/py/objfun.h:29, | |
from tests/../detail/micropython.h:9, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/_types.h:20:15: note: previous declaration as ‘typedef short int __dev_t’ | |
typedef short __dev_t; | |
^~~~~~~ | |
In file included from /usr/include/math.h:37:0, | |
from /usr/include/c++/7/cmath:45, | |
from tests/../detail/micropython.h:24, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/usr/include/x86_64-linux-gnu/bits/types.h:134:25: error: conflicting declaration ‘typedef unsigned int __uid_t’ | |
__STD_TYPE __UID_T_TYPE __uid_t; /* Type of user identifications. */ | |
^~~~~~~ | |
In file included from /mnt/c/dev/esp-idf/components/newlib/include/sys/reent.h:15:0, | |
from /mnt/c/dev/esp-idf/components/newlib/include/alloca.h:11, | |
from /mnt/c/dev/micropython/ports/esp32/mpconfigport.h:8, | |
from ../micropython/py/mpconfig.h:62, | |
from ../micropython/py/obj.h:31, | |
from ../micropython/py/objfun.h:29, | |
from tests/../detail/micropython.h:9, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/_types.h:24:24: note: previous declaration as ‘typedef short unsigned int __uid_t’ | |
typedef unsigned short __uid_t; | |
^~~~~~~ | |
In file included from /usr/include/math.h:37:0, | |
from /usr/include/c++/7/cmath:45, | |
from tests/../detail/micropython.h:24, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/usr/include/x86_64-linux-gnu/bits/types.h:135:25: error: conflicting declaration ‘typedef unsigned int __gid_t’ | |
__STD_TYPE __GID_T_TYPE __gid_t; /* Type of group identifications. */ | |
^~~~~~~ | |
In file included from /mnt/c/dev/esp-idf/components/newlib/include/sys/reent.h:15:0, | |
from /mnt/c/dev/esp-idf/components/newlib/include/alloca.h:11, | |
from /mnt/c/dev/micropython/ports/esp32/mpconfigport.h:8, | |
from ../micropython/py/mpconfig.h:62, | |
from ../micropython/py/obj.h:31, | |
from ../micropython/py/objfun.h:29, | |
from tests/../detail/micropython.h:9, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/_types.h:27:24: note: previous declaration as ‘typedef short unsigned int __gid_t’ | |
typedef unsigned short __gid_t; | |
^~~~~~~ | |
In file included from /usr/include/math.h:37:0, | |
from /usr/include/c++/7/cmath:45, | |
from tests/../detail/micropython.h:24, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/usr/include/x86_64-linux-gnu/bits/types.h:190:19: error: conflicting declaration ‘typedef __off64_t __loff_t’ | |
typedef __off64_t __loff_t; /* Type of file sizes and offsets (LFS). */ | |
^~~~~~~~ | |
In file included from /mnt/c/dev/esp-idf/components/newlib/include/sys/types.h:70:0, | |
from /mnt/c/dev/esp-idf/components/newlib/include/stdio.h:48, | |
from /mnt/c/dev/esp-idf/components/esp_common/include/esp_timer.h:43, | |
from /mnt/c/dev/esp-idf/components/freertos/include/freertos/portmacro.h:84, | |
from /mnt/c/dev/esp-idf/components/freertos/include/freertos/portable.h:96, | |
from /mnt/c/dev/esp-idf/components/freertos/include/freertos/FreeRTOS.h:105, | |
from /mnt/c/dev/micropython/ports/esp32/mpconfigport.h:234, | |
from ../micropython/py/mpconfig.h:62, | |
from ../micropython/py/obj.h:31, | |
from ../micropython/py/objfun.h:29, | |
from tests/../detail/micropython.h:9, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/mnt/c/dev/esp-idf/components/newlib/include/machine/types.h:22:37: note: previous declaration as ‘typedef long long int __loff_t’ | |
__extension__ typedef long long int __loff_t; | |
^~~~~~~~ | |
In file included from /usr/include/c++/7/bits/std_abs.h:38:0, | |
from /usr/include/c++/7/cmath:47, | |
from tests/../detail/micropython.h:24, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/usr/include/stdlib.h:62:5: error: conflicting declaration ‘typedef struct div_t div_t’ | |
} div_t; | |
^~~~~ | |
In file included from /mnt/c/dev/esp-idf/components/esp_rom/include/esp32/rom/ets_sys.h:20:0, | |
from /mnt/c/dev/esp-idf/components/esp32/include/rom/ets_sys.h:2, | |
from /mnt/c/dev/micropython/ports/esp32/mpconfigport.h:11, | |
from ../micropython/py/mpconfig.h:62, | |
from ../micropython/py/obj.h:31, | |
from ../micropython/py/objfun.h:29, | |
from tests/../detail/micropython.h:9, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/mnt/c/dev/esp-idf/components/newlib/include/stdlib.h:35:3: note: previous declaration as ‘typedef struct div_t div_t’ | |
} div_t; | |
^~~~~ | |
In file included from /usr/include/c++/7/bits/std_abs.h:38:0, | |
from /usr/include/c++/7/cmath:47, | |
from tests/../detail/micropython.h:24, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/usr/include/stdlib.h:70:5: error: conflicting declaration ‘typedef struct ldiv_t ldiv_t’ | |
} ldiv_t; | |
^~~~~~ | |
In file included from /mnt/c/dev/esp-idf/components/esp_rom/include/esp32/rom/ets_sys.h:20:0, | |
from /mnt/c/dev/esp-idf/components/esp32/include/rom/ets_sys.h:2, | |
from /mnt/c/dev/micropython/ports/esp32/mpconfigport.h:11, | |
from ../micropython/py/mpconfig.h:62, | |
from ../micropython/py/obj.h:31, | |
from ../micropython/py/objfun.h:29, | |
from tests/../detail/micropython.h:9, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/mnt/c/dev/esp-idf/components/newlib/include/stdlib.h:41:3: note: previous declaration as ‘typedef struct ldiv_t ldiv_t’ } ldiv_t; | |
^~~~~~ | |
In file included from /usr/include/c++/7/bits/std_abs.h:38:0, | |
from /usr/include/c++/7/cmath:47, | |
from tests/../detail/micropython.h:24, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/usr/include/stdlib.h:80:5: error: conflicting declaration ‘typedef struct lldiv_t lldiv_t’ | |
} lldiv_t; | |
^~~~~~~ | |
In file included from /mnt/c/dev/esp-idf/components/esp_rom/include/esp32/rom/ets_sys.h:20:0, | |
from /mnt/c/dev/esp-idf/components/esp32/include/rom/ets_sys.h:2, | |
from /mnt/c/dev/micropython/ports/esp32/mpconfigport.h:11, | |
from ../micropython/py/mpconfig.h:62, | |
from ../micropython/py/obj.h:31, | |
from ../micropython/py/objfun.h:29, | |
from tests/../detail/micropython.h:9, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/mnt/c/dev/esp-idf/components/newlib/include/stdlib.h:50:3: note: previous declaration as ‘typedef struct lldiv_t lldiv_t’ | |
} lldiv_t; | |
^~~~~~~ | |
In file included from /usr/include/c++/7/bits/std_abs.h:38:0, | |
from /usr/include/c++/7/cmath:47, | |
from tests/../detail/micropython.h:24, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/usr/include/stdlib.h:97:53: error: expected initializer before ‘__wur’ | |
extern size_t __ctype_get_mb_cur_max (void) __THROW __wur; | |
^~~~~ | |
/usr/include/stdlib.h:102:49: error: expected initializer before ‘__wur’ | |
__THROW __attribute_pure__ __nonnull ((1)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:105:49: error: expected initializer before ‘__wur’ | |
__THROW __attribute_pure__ __nonnull ((1)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:108:49: error: expected initializer before ‘__wur’ | |
__THROW __attribute_pure__ __nonnull ((1)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:113:49: error: expected initializer before ‘__wur’ | |
__THROW __attribute_pure__ __nonnull ((1)) __wur; | |
^~~~~ | |
In file included from /usr/include/c++/7/bits/std_abs.h:38:0, | |
from /usr/include/c++/7/cmath:47, | |
from tests/../detail/micropython.h:24, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/usr/include/stdlib.h:385:42: error: expected initializer before ‘__wur’ | |
extern char *l64a (long int __n) __THROW __wur; | |
^~~~~ | |
/usr/include/stdlib.h:389:49: error: expected initializer before ‘__wur’ | |
__THROW __attribute_pure__ __nonnull ((1)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:539:66: error: expected initializer before ‘__wur’ | |
extern void *malloc (size_t __size) __THROW __attribute_malloc__ __wur; | |
^~~~~ | |
/usr/include/stdlib.h:542:35: error: expected initializer before ‘__wur’ | |
__THROW __attribute_malloc__ __wur; | |
^~~~~ | |
/usr/include/stdlib.h:550:14: error: expected initializer before ‘__attribute_warn_unused_result__’ | |
__THROW __attribute_warn_unused_result__; | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/stdlib.h:559:14: error: expected initializer before ‘__attribute_warn_unused_result__’ | |
__THROW __attribute_warn_unused_result__; | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/stdlib.h:572:66: error: expected initializer before ‘__wur’ | |
extern void *valloc (size_t __size) __THROW __attribute_malloc__ __wur; | |
^~~~~ | |
/usr/include/stdlib.h:578:30: error: expected initializer before ‘__wur’ | |
__THROW __nonnull ((1)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:584:35: error: expected initializer before ‘__attribute_alloc_size__’ | |
__THROW __attribute_malloc__ __attribute_alloc_size__ ((2)) __wur; | |
^~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/stdlib.h:631:66: error: expected initializer before ‘__wur’ | |
extern char *getenv (const char *__name) __THROW __nonnull ((1)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:637:30: error: expected initializer before ‘__wur’ | |
__THROW __nonnull ((1)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:685:55: error: expected initializer before ‘__wur’ | |
extern int mkstemp (char *__template) __nonnull ((1)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:695:57: error: expected initializer before ‘__wur’ | |
extern int mkstemp64 (char *__template) __nonnull ((1)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:707:73: error: expected initializer before ‘__wur’ | |
extern int mkstemps (char *__template, int __suffixlen) __nonnull ((1)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:718:22: error: expected initializer before ‘__wur’ | |
__nonnull ((1)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:728:65: error: expected initializer before ‘__wur’ | |
extern char *mkdtemp (char *__template) __THROW __nonnull ((1)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:739:69: error: expected initializer before ‘__wur’ | |
extern int mkostemp (char *__template, int __flags) __nonnull ((1)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:749:71: error: expected initializer before ‘__wur’ | |
extern int mkostemp64 (char *__template, int __flags) __nonnull ((1)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:760:22: error: expected initializer before ‘__wur’ | |
__nonnull ((1)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:772:22: error: expected initializer before ‘__wur’ | |
__nonnull ((1)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:781:43: error: expected initializer before ‘__wur’ | |
extern int system (const char *__command) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:788:30: error: expected initializer before ‘__wur’ | |
__THROW __nonnull ((1)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:798:47: error: expected initializer before ‘__wur’ | |
char *__restrict __resolved) __THROW __wur; | |
^~~~~ | |
/usr/include/stdlib.h:819:28: error: expected initializer before ‘__wur’ | |
__nonnull ((1, 2, 5)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:837:62: error: expected initializer before ‘__wur’ | |
extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:838:73: error: expected initializer before ‘__wur’ | |
extern long int labs (long int __x) __THROW __attribute__ ((__const__)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:842:42: error: expected initializer before ‘__wur’ | |
__THROW __attribute__ ((__const__)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:850:42: error: expected initializer before ‘__wur’ | |
__THROW __attribute__ ((__const__)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:852:42: error: expected initializer before ‘__wur’ | |
__THROW __attribute__ ((__const__)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:857:42: error: expected initializer before ‘__wur’ | |
__THROW __attribute__ ((__const__)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:870:57: error: expected initializer before ‘__wur’ | |
int *__restrict __sign) __THROW __nonnull ((3, 4)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:876:57: error: expected initializer before ‘__wur’ | |
int *__restrict __sign) __THROW __nonnull ((3, 4)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:882:30: error: expected initializer before ‘__wur’ | |
__THROW __nonnull ((3)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:889:33: error: expected initializer before ‘__wur’ | |
__THROW __nonnull ((3, 4)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:892:33: error: expected initializer before ‘__wur’ | |
__THROW __nonnull ((3, 4)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:894:30: error: expected initializer before ‘__wur’ | |
__THROW __nonnull ((3)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:943:69: error: expected initializer before ‘__wur’ | |
extern int rpmatch (const char *__response) __THROW __nonnull ((1)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:957:36: error: expected initializer before ‘__wur’ | |
__THROW __nonnull ((1, 2, 3)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:971:39: error: expected initializer before ‘__wur’ | |
extern int posix_openpt (int __oflag) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:988:41: error: expected initializer before ‘__wur’ | |
extern char *ptsname (int __fd) __THROW __wur; | |
^~~~~ | |
In file included from /usr/include/x86_64-linux-gnu/c++/7/bits/gthr.h:148:0, | |
from /usr/include/c++/7/ext/atomicity.h:35, | |
from /usr/include/c++/7/memory:73, | |
from tests/../detail/micropython.h:28, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:47:9: error: ‘pthread_t’ does not name a type; did you mean ‘pread’? | |
typedef pthread_t __gthread_t; | |
^~~~~~~~~ | |
pread | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:48:9: error: ‘pthread_key_t’ does not name a type; did you mean ‘mp_thread_start’? | |
typedef pthread_key_t __gthread_key_t; | |
^~~~~~~~~~~~~ | |
mp_thread_start | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:49:9: error: ‘pthread_once_t’ does not name a type; did you mean ‘mp_thread_init’? | |
typedef pthread_once_t __gthread_once_t; | |
^~~~~~~~~~~~~~ | |
mp_thread_init | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:50:9: error: ‘pthread_mutex_t’ does not name a type; did you mean ‘mp_thread_mutex_t’? | |
typedef pthread_mutex_t __gthread_mutex_t; | |
^~~~~~~~~~~~~~~ | |
mp_thread_mutex_t | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:51:9: error: ‘pthread_mutex_t’ does not name a type; did you mean ‘mp_thread_mutex_t’? | |
typedef pthread_mutex_t __gthread_recursive_mutex_t; | |
^~~~~~~~~~~~~~~ | |
mp_thread_mutex_t | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:52:9: error: ‘pthread_cond_t’ does not name a type; did you mean ‘mp_thread_init’? | |
typedef pthread_cond_t __gthread_cond_t; | |
^~~~~~~~~~~~~~ | |
mp_thread_init | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:101:1: error: ‘pthread_once’ was not declared in this scope | |
__gthrw(pthread_once) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:101:1: note: suggested alternative: ‘mp_thread_init’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:102:1: error: ‘pthread_getspecific’ was not declared in this scope | |
__gthrw(pthread_getspecific) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:102:1: note: suggested alternative: ‘mp_thread_mutex_init’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:103:1: error: ‘pthread_setspecific’ was not declared in this scope | |
__gthrw(pthread_setspecific) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:103:1: note: suggested alternative: ‘__gthrw_pthread_getspecifi | |
’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:105:1: error: ‘pthread_create’ was not declared in this scope | |
__gthrw(pthread_create) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:105:1: note: suggested alternative: ‘mp_thread_create’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:106:1: error: ‘pthread_join’ was not declared in this scope | |
__gthrw(pthread_join) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:106:1: note: suggested alternative: ‘mp_thread_init’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:107:1: error: ‘pthread_equal’ was not declared in this scope | |
__gthrw(pthread_equal) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:107:1: note: suggested alternative: ‘_Thread_local’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:108:1: error: ‘pthread_self’ was not declared in this scope | |
__gthrw(pthread_self) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:108:1: note: suggested alternative: ‘mp_thread_start’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:109:1: error: ‘pthread_detach’ was not declared in this scope | |
__gthrw(pthread_detach) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:109:1: note: suggested alternative: ‘mp_thread_start’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:111:1: error: ‘pthread_cancel’ was not declared in this scope | |
__gthrw(pthread_cancel) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:111:1: note: suggested alternative: ‘_Thread_local’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:113:1: error: ‘sched_yield’ was not declared in this scope | |
__gthrw(sched_yield) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:115:1: error: ‘pthread_mutex_lock’ was not declared in this scope | |
__gthrw(pthread_mutex_lock) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:115:1: note: suggested alternative: ‘mp_thread_mutex_lock’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:116:1: error: ‘pthread_mutex_trylock’ was not declared in this scope | |
__gthrw(pthread_mutex_trylock) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:116:1: note: suggested alternative: ‘mp_thread_mutex_unlock’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:118:1: error: ‘pthread_mutex_timedlock’ was not declared in this scope | |
__gthrw(pthread_mutex_timedlock) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:118:1: note: suggested alternative: ‘mp_thread_mutex_unlock’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:120:1: error: ‘pthread_mutex_unlock’ was not declared in this scope | |
__gthrw(pthread_mutex_unlock) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:120:1: note: suggested alternative: ‘mp_thread_mutex_unlock’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:121:1: error: ‘pthread_mutex_init’ was not declared in this scope | |
__gthrw(pthread_mutex_init) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:121:1: note: suggested alternative: ‘mp_thread_mutex_init’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:122:1: error: ‘pthread_mutex_destroy’ was not declared in this scope | |
__gthrw(pthread_mutex_destroy) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:122:1: note: suggested alternative: ‘mp_thread_mutex_init’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:124:1: error: ‘pthread_cond_init’ was not declared in this scope __gthrw(pthread_cond_init) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:124:1: note: suggested alternative: ‘mp_thread_deinit’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:125:1: error: ‘pthread_cond_broadcast’ was not declared in this scope | |
__gthrw(pthread_cond_broadcast) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:126:1: error: ‘pthread_cond_signal’ was not declared in this scope | |
__gthrw(pthread_cond_signal) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:126:1: note: suggested alternative: ‘thread_local’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:127:1: error: ‘pthread_cond_wait’ was not declared in this scope __gthrw(pthread_cond_wait) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:127:1: note: suggested alternative: ‘mp_thread_deinit’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:128:1: error: ‘pthread_cond_timedwait’ was not declared in this scope | |
__gthrw(pthread_cond_timedwait) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:129:1: error: ‘pthread_cond_destroy’ was not declared in this scope | |
__gthrw(pthread_cond_destroy) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:131:1: error: ‘pthread_key_create’ was not declared in this scope | |
__gthrw(pthread_key_create) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:131:1: note: suggested alternative: ‘mp_thread_create’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:132:1: error: ‘pthread_key_delete’ was not declared in this scope | |
__gthrw(pthread_key_delete) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:132:1: note: suggested alternative: ‘mp_thread_set_state’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:133:1: error: ‘pthread_mutexattr_init’ was not declared in this scope | |
__gthrw(pthread_mutexattr_init) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:133:1: note: suggested alternative: ‘mp_thread_mutex_init’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:134:1: error: ‘pthread_mutexattr_settype’ was not declared in this scope | |
__gthrw(pthread_mutexattr_settype) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:134:1: note: suggested alternative: ‘mp_thread_mutex_init’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:135:1: error: ‘pthread_mutexattr_destroy’ was not declared in this scope | |
__gthrw(pthread_mutexattr_destroy) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:135:1: note: suggested alternative: ‘__gthrw_pthread_mutex_destroy’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:236:1: error: ‘pthread_key_create’ was not declared in this scope | |
__gthrw2(__gthrw_(__pthread_key_create), | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:236:1: note: suggested alternative: ‘mp_thread_create’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:659:19: error: ‘__gthread_t’ was not declared in this scope | |
__gthread_create (__gthread_t *__threadid, void *(*__func) (void*), | |
^~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:659:19: note: suggested alternative: ‘__gthrw_’ | |
__gthread_create (__gthread_t *__threadid, void *(*__func) (void*), | |
^~~~~~~~~~~ | |
__gthrw_ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:659:32: error: ‘__threadid’ was not declared in this scope | |
__gthread_create (__gthread_t *__threadid, void *(*__func) (void*), | |
^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:659:32: note: suggested alternative: ‘_fread_r’ | |
__gthread_create (__gthread_t *__threadid, void *(*__func) (void*), | |
^~~~~~~~~~ | |
_fread_r | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:659:44: error: expected primary-expression before ‘void’ | |
__gthread_create (__gthread_t *__threadid, void *(*__func) (void*), | |
^~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:660:5: error: expected primary-expression before ‘void’ | |
void *__args) | |
^~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:660:17: error: expression list treated as compound expression in initializer [-fpermissive] | |
void *__args) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:666:17: error: ‘__gthread_t’ was not declared in this scope | |
__gthread_join (__gthread_t __threadid, void **__value_ptr) | |
^~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:666:17: note: suggested alternative: ‘__gthread_join’ | |
__gthread_join (__gthread_t __threadid, void **__value_ptr) | |
^~~~~~~~~~~ | |
__gthread_join | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:666:41: error: expected primary-expression before ‘void’ | |
__gthread_join (__gthread_t __threadid, void **__value_ptr) | |
^~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:666:59: error: expression list treated as compound expression in initializer [-fpermissive] | |
__gthread_join (__gthread_t __threadid, void **__value_ptr) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:672:19: error: ‘__gthread_t’ was not declared in this scope | |
__gthread_detach (__gthread_t __threadid) | |
^~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:672:19: note: suggested alternative: ‘__gthread_join’ | |
__gthread_detach (__gthread_t __threadid) | |
^~~~~~~~~~~ | |
__gthread_join | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:678:18: error: ‘__gthread_t’ was not declared in this scope | |
__gthread_equal (__gthread_t __t1, __gthread_t __t2) | |
^~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:678:18: note: suggested alternative: ‘__gthread_join’ | |
__gthread_equal (__gthread_t __t1, __gthread_t __t2) | |
^~~~~~~~~~~ | |
__gthread_join | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:678:36: error: ‘__gthread_t’ was not declared in this scope | |
__gthread_equal (__gthread_t __t1, __gthread_t __t2) | |
^~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:678:36: note: suggested alternative: ‘__gthread_join’ | |
__gthread_equal (__gthread_t __t1, __gthread_t __t2) | |
^~~~~~~~~~~ | |
__gthread_join | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:678:52: error: expression list treated as compound expression in initializer [-fpermissive] | |
__gthread_equal (__gthread_t __t1, __gthread_t __t2) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:683:15: error: ‘__gthread_t’ does not name a type; did you mean ‘__gthread_join’? | |
static inline __gthread_t | |
^~~~~~~~~~~ | |
__gthread_join | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h: In function ‘int __gthread_yield()’: | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:692:33: error: ‘__gthrw_sched_yield’ cannot be used as a function | |
return __gthrw_(sched_yield) (); | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h: At global scope: | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:696:17: error: ‘__gthread_once_t’ was not declared in this scope __gthread_once (__gthread_once_t *__once, void (*__func) (void)) | |
^~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:696:17: note: suggested alternative: ‘__gthread_once’ | |
__gthread_once (__gthread_once_t *__once, void (*__func) (void)) | |
^~~~~~~~~~~~~~~~ | |
__gthread_once | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:696:35: error: ‘__once’ was not declared in this scope | |
__gthread_once (__gthread_once_t *__once, void (*__func) (void)) | |
^~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:696:35: note: suggested alternative: ‘__ynl’ | |
__gthread_once (__gthread_once_t *__once, void (*__func) (void)) | |
^~~~~~ | |
__ynl | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:696:50: error: ‘__func’ was not declared in this scope | |
__gthread_once (__gthread_once_t *__once, void (*__func) (void)) | |
^~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:696:50: note: suggested alternative: ‘__trunc’ | |
__gthread_once (__gthread_once_t *__once, void (*__func) (void)) | |
^~~~~~ | |
__trunc | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:696:59: error: expected primary-expression before ‘void’ | |
__gthread_once (__gthread_once_t *__once, void (*__func) (void)) | |
^~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:696:64: error: expression list treated as compound expression in initializer [-fpermissive] | |
__gthread_once (__gthread_once_t *__once, void (*__func) (void)) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:705:23: error: ‘__gthread_key_t’ was not declared in this scope | |
__gthread_key_create (__gthread_key_t *__key, void (*__dtor) (void *)) | |
^~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:705:23: note: suggested alternative: ‘__gthread_time_t’ | |
__gthread_key_create (__gthread_key_t *__key, void (*__dtor) (void *)) | |
^~~~~~~~~~~~~~~ | |
__gthread_time_t | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:705:40: error: ‘__key’ was not declared in this scope | |
__gthread_key_create (__gthread_key_t *__key, void (*__dtor) (void *)) | |
^~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:705:40: note: suggested alternative: ‘__key_t’ | |
__gthread_key_create (__gthread_key_t *__key, void (*__dtor) (void *)) | |
^~~~~ | |
__key_t | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:705:54: error: ‘__dtor’ was not declared in this scope | |
__gthread_key_create (__gthread_key_t *__key, void (*__dtor) (void *)) | |
^~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:705:54: note: suggested alternative: ‘__utoa’ | |
__gthread_key_create (__gthread_key_t *__key, void (*__dtor) (void *)) | |
^~~~~~ | |
__utoa | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:705:63: error: expected primary-expression before ‘void’ | |
__gthread_key_create (__gthread_key_t *__key, void (*__dtor) (void *)) | |
^~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:705:70: error: expression list treated as compound expression in initializer [-fpermissive] | |
__gthread_key_create (__gthread_key_t *__key, void (*__dtor) (void *)) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:711:23: error: ‘__gthread_key_t’ was not declared in this scope | |
__gthread_key_delete (__gthread_key_t __key) | |
^~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:711:23: note: suggested alternative: ‘__gthread_time_t’ | |
__gthread_key_delete (__gthread_key_t __key) | |
^~~~~~~~~~~~~~~ | |
__gthread_time_t | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:717:24: error: ‘__gthread_key_t’ was not declared in this scope | |
__gthread_getspecific (__gthread_key_t __key) | |
^~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:717:24: note: suggested alternative: ‘__gthread_time_t’ | |
__gthread_getspecific (__gthread_key_t __key) | |
^~~~~~~~~~~~~~~ | |
__gthread_time_t | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:723:24: error: ‘__gthread_key_t’ was not declared in this scope | |
__gthread_setspecific (__gthread_key_t __key, const void *__ptr) | |
^~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:723:24: note: suggested alternative: ‘__gthread_time_t’ | |
__gthread_setspecific (__gthread_key_t __key, const void *__ptr) | |
^~~~~~~~~~~~~~~ | |
__gthread_time_t | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:723:47: error: expected primary-expression before ‘const’ | |
__gthread_setspecific (__gthread_key_t __key, const void *__ptr) | |
^~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:723:64: error: expression list treated as compound expression in initializer [-fpermissive] | |
__gthread_setspecific (__gthread_key_t __key, const void *__ptr) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:729:32: error: variable or field ‘__gthread_mutex_init_function’ declared void | |
__gthread_mutex_init_function (__gthread_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:729:32: error: ‘__gthread_mutex_t’ was not declared in this scope | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:729:32: note: suggested alternative: ‘mp_thread_mutex_t’ | |
__gthread_mutex_init_function (__gthread_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~ | |
mp_thread_mutex_t | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:729:51: error: ‘__mutex’ was not declared in this scope | |
__gthread_mutex_init_function (__gthread_mutex_t *__mutex) | |
^~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:729:51: note: suggested alternative: ‘__utoa’ | |
__gthread_mutex_init_function (__gthread_mutex_t *__mutex) | |
^~~~~~~ | |
__utoa | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:736:26: error: ‘__gthread_mutex_t’ was not declared in this scope | |
__gthread_mutex_destroy (__gthread_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:736:26: note: suggested alternative: ‘mp_thread_mutex_t’ | |
__gthread_mutex_destroy (__gthread_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~ | |
mp_thread_mutex_t | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:736:45: error: ‘__mutex’ was not declared in this scope | |
__gthread_mutex_destroy (__gthread_mutex_t *__mutex) | |
^~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:736:45: note: suggested alternative: ‘__utoa’ | |
__gthread_mutex_destroy (__gthread_mutex_t *__mutex) | |
^~~~~~~ | |
__utoa | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:745:23: error: ‘__gthread_mutex_t’ was not declared in this scope | |
__gthread_mutex_lock (__gthread_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:745:23: note: suggested alternative: ‘mp_thread_mutex_t’ | |
__gthread_mutex_lock (__gthread_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~ | |
mp_thread_mutex_t | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:745:42: error: ‘__mutex’ was not declared in this scope | |
__gthread_mutex_lock (__gthread_mutex_t *__mutex) | |
^~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:745:42: note: suggested alternative: ‘__utoa’ | |
__gthread_mutex_lock (__gthread_mutex_t *__mutex) | |
^~~~~~~ | |
__utoa | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:754:26: error: ‘__gthread_mutex_t’ was not declared in this scope | |
__gthread_mutex_trylock (__gthread_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:754:26: note: suggested alternative: ‘mp_thread_mutex_t’ | |
__gthread_mutex_trylock (__gthread_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~ | |
mp_thread_mutex_t | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:754:45: error: ‘__mutex’ was not declared in this scope | |
__gthread_mutex_trylock (__gthread_mutex_t *__mutex) | |
^~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:754:45: note: suggested alternative: ‘__utoa’ | |
__gthread_mutex_trylock (__gthread_mutex_t *__mutex) | |
^~~~~~~ | |
__utoa | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:764:28: error: ‘__gthread_mutex_t’ was not declared in this scope | |
__gthread_mutex_timedlock (__gthread_mutex_t *__mutex, | |
^~~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:764:28: note: suggested alternative: ‘mp_thread_mutex_t’ | |
__gthread_mutex_timedlock (__gthread_mutex_t *__mutex, | |
^~~~~~~~~~~~~~~~~ | |
mp_thread_mutex_t | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:764:47: error: ‘__mutex’ was not declared in this scope | |
__gthread_mutex_timedlock (__gthread_mutex_t *__mutex, | |
^~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:764:47: note: suggested alternative: ‘__utoa’ | |
__gthread_mutex_timedlock (__gthread_mutex_t *__mutex, | |
^~~~~~~ | |
__utoa | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:765:7: error: expected primary-expression before ‘const’ | |
const __gthread_time_t *__abs_timeout) | |
^~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:765:44: error: expression list treated as compound expression in initializer [-fpermissive] | |
const __gthread_time_t *__abs_timeout) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:775:25: error: ‘__gthread_mutex_t’ was not declared in this scope | |
__gthread_mutex_unlock (__gthread_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:775:25: note: suggested alternative: ‘mp_thread_mutex_t’ | |
__gthread_mutex_unlock (__gthread_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~ | |
mp_thread_mutex_t | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:775:44: error: ‘__mutex’ was not declared in this scope | |
__gthread_mutex_unlock (__gthread_mutex_t *__mutex) | |
^~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:775:44: note: suggested alternative: ‘__utoa’ | |
__gthread_mutex_unlock (__gthread_mutex_t *__mutex) | |
^~~~~~~ | |
__utoa | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:786:42: error: ‘__gthread_recursive_mutex_t’ was not declared in this scope | |
__gthread_recursive_mutex_init_function (__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:786:42: note: suggested alternative: ‘__gthread_recursive_mutex_init_function’ | |
__gthread_recursive_mutex_init_function (__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
__gthread_recursive_mutex_init_function | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:786:71: error: ‘__mutex’ was not declared in this scope | |
__gthread_recursive_mutex_init_function (__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:786:71: note: suggested alternative: ‘__utoa’ | |
__gthread_recursive_mutex_init_function (__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~ | |
__utoa | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:808:33: error: ‘__gthread_recursive_mutex_t’ was not declared in this scope | |
__gthread_recursive_mutex_lock (__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:808:33: note: suggested alternative: ‘__gthread_recursive_mutex_lock’ | |
__gthread_recursive_mutex_lock (__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
__gthread_recursive_mutex_lock | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:808:62: error: ‘__mutex’ was not declared in this scope | |
__gthread_recursive_mutex_lock (__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:808:62: note: suggested alternative: ‘__utoa’ | |
__gthread_recursive_mutex_lock (__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~ | |
__utoa | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:814:36: error: ‘__gthread_recursive_mutex_t’ was not declared in this scope | |
__gthread_recursive_mutex_trylock (__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:814:36: note: suggested alternative: ‘__gthread_recursive_mutex_lock’ | |
__gthread_recursive_mutex_trylock (__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
__gthread_recursive_mutex_lock | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:814:65: error: ‘__mutex’ was not declared in this scope | |
__gthread_recursive_mutex_trylock (__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:814:65: note: suggested alternative: ‘__utoa’ | |
__gthread_recursive_mutex_trylock (__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~ | |
__utoa | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:821:38: error: ‘__gthread_recursive_mutex_t’ was not declared in this scope | |
__gthread_recursive_mutex_timedlock (__gthread_recursive_mutex_t *__mutex, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:821:38: note: suggested alternative: ‘__gthread_recursive_mutex_lock’ | |
__gthread_recursive_mutex_timedlock (__gthread_recursive_mutex_t *__mutex, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
__gthread_recursive_mutex_lock | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:821:67: error: ‘__mutex’ was not declared in this scope | |
__gthread_recursive_mutex_timedlock (__gthread_recursive_mutex_t *__mutex, | |
^~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:821:67: note: suggested alternative: ‘__utoa’ | |
__gthread_recursive_mutex_timedlock (__gthread_recursive_mutex_t *__mutex, | |
^~~~~~~ | |
__utoa | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:822:10: error: expected primary-expression before ‘const’ | |
const __gthread_time_t *__abs_timeout) | |
^~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:822:47: error: expression list treated as compound expression in initializer [-fpermissive] | |
const __gthread_time_t *__abs_timeout) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:829:35: error: ‘__gthread_recursive_mutex_t’ was not declared in this scope | |
__gthread_recursive_mutex_unlock (__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:829:35: note: suggested alternative: ‘__gthread_recursive_mutex_lock’ | |
__gthread_recursive_mutex_unlock (__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
__gthread_recursive_mutex_lock | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:829:64: error: ‘__mutex’ was not declared in this scope | |
__gthread_recursive_mutex_unlock (__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:829:64: note: suggested alternative: ‘__utoa’ | |
__gthread_recursive_mutex_unlock (__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~ | |
__utoa | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:835:36: error: ‘__gthread_recursive_mutex_t’ was not declared in this scope | |
__gthread_recursive_mutex_destroy (__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:835:36: note: suggested alternative: ‘__gthread_recursive_mutex_lock’ | |
__gthread_recursive_mutex_destroy (__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
__gthread_recursive_mutex_lock | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:835:65: error: ‘__mutex’ was not declared in this scope | |
__gthread_recursive_mutex_destroy (__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:835:65: note: suggested alternative: ‘__utoa’ | |
__gthread_recursive_mutex_destroy (__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~ | |
__utoa | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:850:27: error: ‘__gthread_cond_t’ was not declared in this scope __gthread_cond_broadcast (__gthread_cond_t *__cond) | |
^~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:850:27: note: suggested alternative: ‘__gthread_once’ | |
__gthread_cond_broadcast (__gthread_cond_t *__cond) | |
^~~~~~~~~~~~~~~~ | |
__gthread_once | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:850:45: error: ‘__cond’ was not declared in this scope | |
__gthread_cond_broadcast (__gthread_cond_t *__cond) | |
^~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:850:45: note: suggested alternative: ‘__cosl’ | |
__gthread_cond_broadcast (__gthread_cond_t *__cond) | |
^~~~~~ | |
__cosl | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:856:24: error: ‘__gthread_cond_t’ was not declared in this scope __gthread_cond_signal (__gthread_cond_t *__cond) | |
^~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:856:24: note: suggested alternative: ‘__gthread_once’ | |
__gthread_cond_signal (__gthread_cond_t *__cond) | |
^~~~~~~~~~~~~~~~ | |
__gthread_once | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:856:42: error: ‘__cond’ was not declared in this scope | |
__gthread_cond_signal (__gthread_cond_t *__cond) | |
^~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:856:42: note: suggested alternative: ‘__cosl’ | |
__gthread_cond_signal (__gthread_cond_t *__cond) | |
^~~~~~ | |
__cosl | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:862:22: error: ‘__gthread_cond_t’ was not declared in this scope __gthread_cond_wait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:862:22: note: suggested alternative: ‘__gthread_cond_wait’ | |
__gthread_cond_wait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~ | |
__gthread_cond_wait | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:862:40: error: ‘__cond’ was not declared in this scope | |
__gthread_cond_wait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex) | |
^~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:862:40: note: suggested alternative: ‘__cosl’ | |
__gthread_cond_wait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex) | |
^~~~~~ | |
__cosl | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:862:48: error: ‘__gthread_mutex_t’ was not declared in this scope | |
__gthread_cond_wait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:862:48: note: suggested alternative: ‘mp_thread_mutex_t’ | |
__gthread_cond_wait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~ | |
mp_thread_mutex_t | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:862:67: error: ‘__mutex’ was not declared in this scope | |
__gthread_cond_wait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex) | |
^~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:862:67: note: suggested alternative: ‘__utoa’ | |
__gthread_cond_wait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex) | |
^~~~~~~ | |
__utoa | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:862:74: error: expression list treated as compound expression in initializer [-fpermissive] | |
__gthread_cond_wait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:868:27: error: ‘__gthread_cond_t’ was not declared in this scope __gthread_cond_timedwait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex, | |
^~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:868:27: note: suggested alternative: ‘__gthread_cond_wait’ | |
__gthread_cond_timedwait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex, | |
^~~~~~~~~~~~~~~~ | |
__gthread_cond_wait | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:868:45: error: ‘__cond’ was not declared in this scope | |
__gthread_cond_timedwait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex, | |
^~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:868:45: note: suggested alternative: ‘__cosl’ | |
__gthread_cond_timedwait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex, | |
^~~~~~ | |
__cosl | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:868:53: error: ‘__gthread_mutex_t’ was not declared in this scope | |
__gthread_cond_timedwait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex, | |
^~~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:868:53: note: suggested alternative: ‘mp_thread_mutex_t’ | |
__gthread_cond_timedwait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex, | |
^~~~~~~~~~~~~~~~~ | |
mp_thread_mutex_t | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:868:72: error: ‘__mutex’ was not declared in this scope | |
__gthread_cond_timedwait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex, | |
^~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:868:72: note: suggested alternative: ‘__utoa’ | |
__gthread_cond_timedwait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex, | |
^~~~~~~ | |
__utoa | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:869:6: error: expected primary-expression before ‘const’ | |
const __gthread_time_t *__abs_timeout) | |
^~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:869:43: error: expression list treated as compound expression in initializer [-fpermissive] | |
const __gthread_time_t *__abs_timeout) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:875:32: error: ‘__gthread_cond_t’ was not declared in this scope __gthread_cond_wait_recursive (__gthread_cond_t *__cond, | |
^~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:875:32: note: suggested alternative: ‘__gthread_cond_wait’ | |
__gthread_cond_wait_recursive (__gthread_cond_t *__cond, | |
^~~~~~~~~~~~~~~~ | |
__gthread_cond_wait | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:875:50: error: ‘__cond’ was not declared in this scope | |
__gthread_cond_wait_recursive (__gthread_cond_t *__cond, | |
^~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:875:50: note: suggested alternative: ‘__cosl’ | |
__gthread_cond_wait_recursive (__gthread_cond_t *__cond, | |
^~~~~~ | |
__cosl | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:876:11: error: ‘__gthread_recursive_mutex_t’ was not declared in this scope | |
__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:876:11: note: suggested alternative: ‘__gthread_recursive_mutex_lock’ | |
__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
__gthread_recursive_mutex_lock | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:876:40: error: ‘__mutex’ was not declared in this scope | |
__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:876:40: note: suggested alternative: ‘__utoa’ | |
__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~ | |
__utoa | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:876:47: error: expression list treated as compound expression in initializer [-fpermissive] | |
__gthread_recursive_mutex_t *__mutex) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:882:25: error: ‘__gthread_cond_t’ was not declared in this scope __gthread_cond_destroy (__gthread_cond_t* __cond) | |
^~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:882:25: note: suggested alternative: ‘__gthread_cond_wait’ | |
__gthread_cond_destroy (__gthread_cond_t* __cond) | |
^~~~~~~~~~~~~~~~ | |
__gthread_cond_wait | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:882:43: error: ‘__cond’ was not declared in this scope | |
__gthread_cond_destroy (__gthread_cond_t* __cond) | |
^~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:882:43: note: suggested alternative: ‘__cosl’ | |
__gthread_cond_destroy (__gthread_cond_t* __cond) | |
^~~~~~ | |
__cosl | |
In file included from /usr/include/c++/7/memory:74:0, | |
from tests/../detail/micropython.h:28, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/usr/include/c++/7/ext/concurrence.h:122:5: error: ‘__gthread_mutex_t’ does not name a type; did you mean ‘mp_thread_mutex_t’? | |
__gthread_mutex_t _M_mutex = __GTHREAD_MUTEX_INIT; | |
^~~~~~~~~~~~~~~~~ | |
mp_thread_mutex_t | |
/usr/include/c++/7/ext/concurrence.h:169:5: error: ‘__gthread_mutex_t’ does not name a type; did you mean ‘mp_thread_mutex_t’? | |
__gthread_mutex_t* gthread_mutex(void) | |
^~~~~~~~~~~~~~~~~ | |
mp_thread_mutex_t | |
/usr/include/c++/7/ext/concurrence.h: In member function ‘void __gnu_cxx::__mutex::lock()’: | |
/usr/include/c++/7/ext/concurrence.h:152:30: error: ‘_M_mutex’ was not declared in this scope | |
if (__gthread_mutex_lock(&_M_mutex) != 0) | |
^~~~~~~~ | |
/usr/include/c++/7/ext/concurrence.h:152:30: note: suggested alternative: ‘__mutex’ | |
if (__gthread_mutex_lock(&_M_mutex) != 0) | |
^~~~~~~~ | |
__mutex | |
/usr/include/c++/7/ext/concurrence.h:152:38: error: ‘__gthread_mutex_lock’ cannot be used as a function | |
if (__gthread_mutex_lock(&_M_mutex) != 0) | |
^ | |
/usr/include/c++/7/ext/concurrence.h: In member function ‘void __gnu_cxx::__mutex::unlock()’: | |
/usr/include/c++/7/ext/concurrence.h:163:32: error: ‘_M_mutex’ was not declared in this scope | |
if (__gthread_mutex_unlock(&_M_mutex) != 0) | |
^~~~~~~~ | |
/usr/include/c++/7/ext/concurrence.h:163:32: note: suggested alternative: ‘__mutex’ | |
if (__gthread_mutex_unlock(&_M_mutex) != 0) | |
^~~~~~~~ | |
__mutex | |
/usr/include/c++/7/ext/concurrence.h:163:40: error: ‘__gthread_mutex_unlock’ cannot be used as a function | |
if (__gthread_mutex_unlock(&_M_mutex) != 0) | |
^ | |
/usr/include/c++/7/ext/concurrence.h: At global scope: | |
/usr/include/c++/7/ext/concurrence.h:179:5: error: ‘__gthread_recursive_mutex_t’ does not name a type; did you mean ‘__gthread_recursive_mutex_lock’? | |
__gthread_recursive_mutex_t _M_mutex; | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
__gthread_recursive_mutex_lock | |
/usr/include/c++/7/ext/concurrence.h:224:5: error: ‘__gthread_recursive_mutex_t’ does not name a type; did you mean ‘__gthread_recursive_mutex_lock’? | |
__gthread_recursive_mutex_t* gthread_recursive_mutex(void) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
__gthread_recursive_mutex_lock | |
/usr/include/c++/7/ext/concurrence.h: In constructor ‘__gnu_cxx::__recursive_mutex::__recursive_mutex()’: | |
/usr/include/c++/7/ext/concurrence.h:190:43: error: ‘_M_mutex’ was not declared in this scope | |
__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION(&_M_mutex); | |
^~~~~~~~ | |
/usr/include/c++/7/ext/concurrence.h:190:43: note: suggested alternative: ‘__mutex’ | |
__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION(&_M_mutex); | |
^~~~~~~~ | |
__mutex | |
/usr/include/c++/7/ext/concurrence.h:190:51: error: ‘__gthread_recursive_mutex_init_function’ cannot be used as a function | |
__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION(&_M_mutex); | |
^ | |
/usr/include/c++/7/ext/concurrence.h: In destructor ‘__gnu_cxx::__recursive_mutex::~__recursive_mutex()’: | |
/usr/include/c++/7/ext/concurrence.h:198:37: error: ‘_M_mutex’ was not declared in this scope | |
__gthread_recursive_mutex_destroy(&_M_mutex); | |
^~~~~~~~ | |
/usr/include/c++/7/ext/concurrence.h:198:37: note: suggested alternative: ‘__mutex’ | |
__gthread_recursive_mutex_destroy(&_M_mutex); | |
^~~~~~~~ | |
__mutex | |
/usr/include/c++/7/ext/concurrence.h:198:45: error: ‘__gthread_recursive_mutex_destroy’ cannot be used as a function | |
__gthread_recursive_mutex_destroy(&_M_mutex); | |
^ | |
/usr/include/c++/7/ext/concurrence.h: In member function ‘void __gnu_cxx::__recursive_mutex::lock()’: | |
/usr/include/c++/7/ext/concurrence.h:207:40: error: ‘_M_mutex’ was not declared in this scope | |
if (__gthread_recursive_mutex_lock(&_M_mutex) != 0) | |
^~~~~~~~ | |
/usr/include/c++/7/ext/concurrence.h:207:40: note: suggested alternative: ‘__mutex’ | |
if (__gthread_recursive_mutex_lock(&_M_mutex) != 0) | |
^~~~~~~~ | |
__mutex | |
/usr/include/c++/7/ext/concurrence.h:207:48: error: ‘__gthread_recursive_mutex_lock’ cannot be used as a function | |
if (__gthread_recursive_mutex_lock(&_M_mutex) != 0) | |
^ | |
/usr/include/c++/7/ext/concurrence.h: In member function ‘void __gnu_cxx::__recursive_mutex::unlock()’: | |
/usr/include/c++/7/ext/concurrence.h:218:42: error: ‘_M_mutex’ was not declared in this scope | |
if (__gthread_recursive_mutex_unlock(&_M_mutex) != 0) | |
^~~~~~~~ | |
/usr/include/c++/7/ext/concurrence.h:218:42: note: suggested alternative: ‘__mutex’ | |
if (__gthread_recursive_mutex_unlock(&_M_mutex) != 0) | |
^~~~~~~~ | |
__mutex | |
/usr/include/c++/7/ext/concurrence.h:218:50: error: ‘__gthread_recursive_mutex_unlock’ cannot be used as a function | |
if (__gthread_recursive_mutex_unlock(&_M_mutex) != 0) | |
^ | |
/usr/include/c++/7/ext/concurrence.h: At global scope: | |
/usr/include/c++/7/ext/concurrence.h:255:5: error: ‘__gthread_cond_t’ does not name a type; did you mean ‘__gthread_cond_wait’? | |
__gthread_cond_t _M_cond = __GTHREAD_COND_INIT; | |
^~~~~~~~~~~~~~~~ | |
__gthread_cond_wait | |
/usr/include/c++/7/ext/concurrence.h: In member function ‘void __gnu_cxx::__cond::broadcast()’: | |
/usr/include/c++/7/ext/concurrence.h:285:34: error: ‘_M_cond’ was not declared in this scope | |
if (__gthread_cond_broadcast(&_M_cond) != 0) | |
^~~~~~~ | |
/usr/include/c++/7/ext/concurrence.h:285:34: note: suggested alternative: ‘__cond’ | |
if (__gthread_cond_broadcast(&_M_cond) != 0) | |
^~~~~~~ | |
__cond | |
/usr/include/c++/7/ext/concurrence.h:285:41: error: ‘__gthread_cond_broadcast’ cannot be used as a function | |
if (__gthread_cond_broadcast(&_M_cond) != 0) | |
^ | |
/usr/include/c++/7/ext/concurrence.h: In member function ‘void __gnu_cxx::__cond::wait(__gnu_cxx::__mutex*)’: | |
/usr/include/c++/7/ext/concurrence.h:295:29: error: ‘_M_cond’ was not declared in this scope | |
if (__gthread_cond_wait(&_M_cond, mutex->gthread_mutex()) != 0) | |
^~~~~~~ | |
/usr/include/c++/7/ext/concurrence.h:295:29: note: suggested alternative: ‘__cond’ | |
if (__gthread_cond_wait(&_M_cond, mutex->gthread_mutex()) != 0) | |
^~~~~~~ | |
__cond | |
/usr/include/c++/7/ext/concurrence.h:295:45: error: ‘class __gnu_cxx::__mutex’ has no member named ‘gthread_mutex’ | |
if (__gthread_cond_wait(&_M_cond, mutex->gthread_mutex()) != 0) | |
^~~~~~~~~~~~~ | |
/usr/include/c++/7/ext/concurrence.h:295:60: error: ‘__gthread_cond_wait’ cannot be used as a function | |
if (__gthread_cond_wait(&_M_cond, mutex->gthread_mutex()) != 0) | |
^ | |
/usr/include/c++/7/ext/concurrence.h: In member function ‘void __gnu_cxx::__cond::wait_recursive(__gnu_cxx::__recursive_mutex*)’: | |
/usr/include/c++/7/ext/concurrence.h:305:39: error: ‘_M_cond’ was not declared in this scope | |
if (__gthread_cond_wait_recursive(&_M_cond, | |
^~~~~~~ | |
/usr/include/c++/7/ext/concurrence.h:305:39: note: suggested alternative: ‘__cond’ | |
if (__gthread_cond_wait_recursive(&_M_cond, | |
^~~~~~~ | |
__cond | |
/usr/include/c++/7/ext/concurrence.h:306:17: error: ‘class __gnu_cxx::__recursive_mutex’ has no member named ‘gthread_recursive_mutex’; did you mean ‘__recursive_mutex’? | |
mutex->gthread_recursive_mutex()) | |
^~~~~~~~~~~~~~~~~~~~~~~ | |
__recursive_mutex | |
/usr/include/c++/7/ext/concurrence.h:306:42: error: ‘__gthread_cond_wait_recursive’ cannot be used as a function | |
mutex->gthread_recursive_mutex()) | |
^ | |
In file included from /usr/include/c++/7/bits/localefwd.h:40:0, | |
from /usr/include/c++/7/string:43, | |
from /usr/include/c++/7/stdexcept:39, | |
from /usr/include/c++/7/array:39, | |
from /usr/include/c++/7/tuple:39, | |
from /usr/include/c++/7/bits/unique_ptr.h:37, | |
from /usr/include/c++/7/memory:80, | |
from tests/../detail/micropython.h:28, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/usr/include/x86_64-linux-gnu/c++/7/bits/c++locale.h: At global scope: | |
/usr/include/x86_64-linux-gnu/c++/7/bits/c++locale.h:52:23: error: ‘uselocale’ was not declared in this scope | |
extern "C" __typeof(uselocale) __uselocale; | |
^~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/c++locale.h:52:23: note: suggested alternative: ‘setlocale’ | |
extern "C" __typeof(uselocale) __uselocale; | |
^~~~~~~~~ | |
setlocale | |
/usr/include/x86_64-linux-gnu/c++/7/bits/c++locale.h: In function ‘int std::__convert_from_v(__locale_struct* const&, char*, int, const char*, ...)’: | |
/usr/include/x86_64-linux-gnu/c++/7/bits/c++locale.h:75:53: error: ‘__gnu_cxx::__uselocale’ cannot be used as a function __c_locale __old = __gnu_cxx::__uselocale(__cloc); | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/c++locale.h:100:33: error: ‘__gnu_cxx::__uselocale’ cannot be used as a function | |
__gnu_cxx::__uselocale(__old); | |
^ | |
In file included from /usr/include/c++/7/ext/string_conversions.h:41:0, | |
from /usr/include/c++/7/bits/basic_string.h:6361, | |
from /usr/include/c++/7/string:52, | |
from /usr/include/c++/7/stdexcept:39, | |
from /usr/include/c++/7/array:39, | |
from /usr/include/c++/7/tuple:39, | |
from /usr/include/c++/7/bits/unique_ptr.h:37, | |
from /usr/include/c++/7/memory:80, | |
from tests/../detail/micropython.h:28, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/usr/include/c++/7/cstdlib: At global scope: | |
/usr/include/c++/7/cstdlib:132:11: error: ‘::aligned_alloc’ has not been declared | |
using ::aligned_alloc; | |
^~~~~~~~~~~~~ | |
In file included from ../micropython/py/objfun.h:29:0, | |
from tests/../detail/micropython.h:9, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
tests/../detail/micropython.h: In function ‘void* upywrap::new_qstr(qstr)’: | |
../micropython/py/obj.h:96:71: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] | |
#define MP_OBJ_NEW_QSTR(qst) ((mp_obj_t)((((mp_uint_t)(qst)) << 3) | 2)) | |
^ | |
tests/../detail/micropython.h:35:12: note: in expansion of macro ‘MP_OBJ_NEW_QSTR’ | |
return MP_OBJ_NEW_QSTR( what ); | |
^~~~~~~~~~~~~~~ | |
In file included from tests/../detail/frompyobj.h:4:0, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
tests/../detail/micropython.h: In function ‘void* upywrap::MakeFunction(mp_uint_t, void* (*)(mp_uint_t, void* const*))’:tests/../detail/micropython.h:80:18: error: invalid conversion from ‘void* (*)(mp_uint_t, void* const*) {aka void* (*)(unsigned int, void* const*)}’ to ‘mp_fun_var_t {aka void* (*)(long unsigned int, void* const*)}’ [-fpermissive] | |
o->fun.var = fun; | |
^~~ | |
tests/../detail/micropython.h: In function ‘void* upywrap::MakeFunction(mp_uint_t, mp_uint_t, void* (*)(mp_uint_t, void* const*))’: | |
tests/../detail/micropython.h:89:18: error: invalid conversion from ‘void* (*)(mp_uint_t, void* const*) {aka void* (*)(unsigned int, void* const*)}’ to ‘mp_fun_var_t {aka void* (*)(long unsigned int, void* const*)}’ [-fpermissive] | |
o->fun.var = fun; | |
^~~ | |
In file included from tests/../detail/frompyobj.h:5:0, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
tests/../detail/topyobj.h: At global scope: | |
tests/../detail/topyobj.h:93:3: error: static assertion failed: unsupported integer type | |
static_assert( std::is_same< mp_int_t, std::int64_t >::value, "unsupported integer type" ); | |
^~~~~~~~~~~~~ | |
tests/../detail/topyobj.h:94:3: error: static assertion failed: unsupported integer type | |
static_assert( std::is_same< mp_uint_t, std::uint64_t >::value, "unsupported integer type" ); | |
^~~~~~~~~~~~~ | |
tests/../detail/topyobj.h:97:10: error: redefinition of ‘struct upywrap::ToPyObj<int>’ | |
struct ToPyObj< std::int32_t > : std::true_type | |
^~~~~~~~~~~~~~~~~~~~~~~ | |
tests/../detail/topyobj.h:47:10: note: previous definition of ‘struct upywrap::ToPyObj<int>’ | |
struct ToPyObj< mp_int_t > : std::true_type | |
^~~~~~~~~~~~~~~~~~~ | |
tests/../detail/topyobj.h:106:10: error: redefinition of ‘struct upywrap::ToPyObj<unsigned int>’ | |
struct ToPyObj< std::uint32_t > : std::true_type | |
^~~~~~~~~~~~~~~~~~~~~~~~ | |
tests/../detail/topyobj.h:56:10: note: previous definition of ‘struct upywrap::ToPyObj<unsigned int>’ | |
struct ToPyObj< mp_uint_t > : std::true_type | |
^~~~~~~~~~~~~~~~~~~~ | |
In file included from tests/../detail/callreturn.h:4:0, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
tests/../detail/frompyobj.h:136:10: error: redefinition of ‘struct upywrap::FromPyObj<int>’ | |
struct FromPyObj< int > : std::true_type | |
^~~~~~~~~~~~~~~~ | |
In file included from tests/../detail/callreturn.h:4:0, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
tests/../detail/frompyobj.h:37:10: note: previous definition of ‘struct upywrap::FromPyObj<int>’ | |
struct FromPyObj< mp_int_t > : std::true_type | |
^~~~~~~~~~~~~~~~~~~~~ | |
In file included from tests/../detail/callreturn.h:4:0, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
tests/../detail/frompyobj.h:145:10: error: redefinition of ‘struct upywrap::FromPyObj<unsigned int>’ | |
struct FromPyObj< unsigned > : std::true_type | |
^~~~~~~~~~~~~~~~~~~~~ | |
tests/../detail/frompyobj.h:97:10: note: previous definition of ‘struct upywrap::FromPyObj<unsigned int>’ | |
struct FromPyObj< mp_uint_t > : std::true_type | |
^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/include/c++/7/bits/ios_base.h:41:0, | |
from /usr/include/c++/7/ios:42, | |
from /usr/include/c++/7/ostream:38, | |
from /usr/include/c++/7/iostream:39, | |
from tests/map.h:5, | |
from tests/module.cpp:5: | |
/usr/include/c++/7/bits/locale_classes.h:336:12: error: ‘__gthread_once_t’ does not name a type; did you mean ‘__gthread_once’? | |
static __gthread_once_t _S_once; | |
^~~~~~~~~~~~~~~~ | |
__gthread_once | |
/usr/include/c++/7/bits/locale_classes.h:386:12: error: ‘__gthread_once_t’ does not name a type; did you mean ‘__gthread_once’? | |
static __gthread_once_t _S_once; | |
^~~~~~~~~~~~~~~~ | |
__gthread_once | |
In file included from /usr/include/c++/7/bits/locale_facets.h:41:0, | |
from /usr/include/c++/7/bits/basic_ios.h:37, | |
from /usr/include/c++/7/ios:44, | |
from /usr/include/c++/7/ostream:38, | |
from /usr/include/c++/7/iostream:39, | |
from tests/map.h:5, | |
from tests/module.cpp:5: | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:49:35: error: ‘_ISupper’ was not declared in this scope | |
static const mask upper = _ISupper; | |
^~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:49:35: note: suggested alternative: ‘toupper’ | |
static const mask upper = _ISupper; | |
^~~~~~~~ | |
toupper | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:50:32: error: ‘_ISlower’ was not declared in this scope | |
static const mask lower = _ISlower; | |
^~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:50:32: note: suggested alternative: ‘tolower’ | |
static const mask lower = _ISlower; | |
^~~~~~~~ | |
tolower | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:51:32: error: ‘_ISalpha’ was not declared in this scope | |
static const mask alpha = _ISalpha; | |
^~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:51:32: note: suggested alternative: ‘isalpha’ | |
static const mask alpha = _ISalpha; | |
^~~~~~~~ | |
isalpha | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:52:32: error: ‘_ISdigit’ was not declared in this scope | |
static const mask digit = _ISdigit; | |
^~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:52:32: note: suggested alternative: ‘isxdigit’ | |
static const mask digit = _ISdigit; | |
^~~~~~~~ | |
isxdigit | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:53:33: error: ‘_ISxdigit’ was not declared in this scope | |
static const mask xdigit = _ISxdigit; | |
^~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:53:33: note: suggested alternative: ‘isxdigit’ | |
static const mask xdigit = _ISxdigit; | |
^~~~~~~~~ | |
isxdigit | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:54:32: error: ‘_ISspace’ was not declared in this scope | |
static const mask space = _ISspace; | |
^~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:54:32: note: suggested alternative: ‘isspace’ | |
static const mask space = _ISspace; | |
^~~~~~~~ | |
isspace | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:55:32: error: ‘_ISprint’ was not declared in this scope | |
static const mask print = _ISprint; | |
^~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:55:32: note: suggested alternative: ‘isprint’ | |
static const mask print = _ISprint; | |
^~~~~~~~ | |
isprint | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:56:32: error: ‘_ISalpha’ was not declared in this scope | |
static const mask graph = _ISalpha | _ISdigit | _ISpunct; | |
^~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:56:32: note: suggested alternative: ‘alpha’ | |
static const mask graph = _ISalpha | _ISdigit | _ISpunct; | |
^~~~~~~~ | |
alpha | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:56:43: error: ‘_ISdigit’ was not declared in this scope | |
static const mask graph = _ISalpha | _ISdigit | _ISpunct; | |
^~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:56:43: note: suggested alternative: ‘xdigit’ | |
static const mask graph = _ISalpha | _ISdigit | _ISpunct; | |
^~~~~~~~ | |
xdigit | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:56:54: error: ‘_ISpunct’ was not declared in this scope | |
static const mask graph = _ISalpha | _ISdigit | _ISpunct; | |
^~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:56:54: note: suggested alternative: ‘ispunct’ | |
static const mask graph = _ISalpha | _ISdigit | _ISpunct; | |
^~~~~~~~ | |
ispunct | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:57:32: error: ‘_IScntrl’ was not declared in this scope | |
static const mask cntrl = _IScntrl; | |
^~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:57:32: note: suggested alternative: ‘iscntrl’ | |
static const mask cntrl = _IScntrl; | |
^~~~~~~~ | |
iscntrl | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:58:32: error: ‘_ISpunct’ was not declared in this scope | |
static const mask punct = _ISpunct; | |
^~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:58:32: note: suggested alternative: ‘ispunct’ | |
static const mask punct = _ISpunct; | |
^~~~~~~~ | |
ispunct | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:59:32: error: ‘_ISalpha’ was not declared in this scope | |
static const mask alnum = _ISalpha | _ISdigit; | |
^~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:59:32: note: suggested alternative: ‘alpha’ | |
static const mask alnum = _ISalpha | _ISdigit; | |
^~~~~~~~ | |
alpha | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:59:43: error: ‘_ISdigit’ was not declared in this scope | |
static const mask alnum = _ISalpha | _ISdigit; | |
^~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:59:43: note: suggested alternative: ‘xdigit’ | |
static const mask alnum = _ISalpha | _ISdigit; | |
^~~~~~~~ | |
xdigit | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:61:31: error: ‘_ISblank’ was not declared in this scope | |
static const mask blank = _ISblank; | |
^~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:61:31: note: suggested alternative: ‘_S_black’ | |
static const mask blank = _ISblank; | |
^~~~~~~~ | |
_S_black | |
In file included from ../micropython/py/objfun.h:29:0, | |
from tests/../detail/micropython.h:9, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
tests/../detail/frompyobj.h: In instantiation of ‘typename std::result_of<decltype (largeIntConv)(_mp_obj_int_t*)>::type upywrap::detail::mp_obj_get_uint(mp_const_obj_t, LargeIntToT) [with LargeIntToT = unsigned int (*)(const _mp_obj_int_t*); typename std::result_of<decltype (largeIntConv)(_mp_obj_int_t*)>::type = unsigned int; mp_const_obj_t = const void*]’: | |
tests/../detail/frompyobj.h:101:64: required from here | |
../micropython/py/obj.h:89:37: error: cast from ‘mp_const_obj_t {aka const void*}’ to ‘mp_int_t {aka int}’ loses precision [-fpermissive] | |
#define MP_OBJ_SMALL_INT_VALUE(o) (((mp_int_t)(o)) >> 1) | |
~^~~~~~~~~~~~~~ | |
tests/../detail/frompyobj.h:66:47: note: in expansion of macro ‘MP_OBJ_SMALL_INT_VALUE’ | |
return safe_integer_cast< return_t >( MP_OBJ_SMALL_INT_VALUE( arg ) ); | |
^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from tests/module.cpp:1:0: | |
tests/../classwrapper.h: In instantiation of ‘void upywrap::ClassWrapper<T>::InitImpl(Fun) [with const char* (* name)() = upywrap::ClassWrapper<upywrap::NewSimple>::FixedFuncNames::Init; Fun = upywrap::NewSimple* (*)(int); Ret = upywrap::NewSimple*; A = {int}; T = upywrap::NewSimple]’: | |
tests/../classwrapper.h:203:64: required from ‘void upywrap::ClassWrapper<T>::DefInit(T* (*)(A ...)) [with A = {int}; T = upywrap::NewSimple]’ | |
tests/module.cpp:129:47: required from here | |
tests/../classwrapper.h:519:21: error: invalid conversion from ‘void* (*)(const mp_obj_type_t*, mp_uint_t, mp_uint_t, void* const*) {aka void* (*)(const _mp_obj_type_t*, unsigned int, unsigned int, void* const*)}’ to ‘mp_make_new_fun_t {aka void* (*)(const _mp_obj_type_t*, long unsigned int, long unsigned int, void* const*)}’ [-fpermissive] | |
type.make_new = call_type::MakeNew; | |
~~~~~~~~~~~~~~^~~~~~~~~~~ | |
tests/../classwrapper.h: In instantiation of ‘void upywrap::ClassWrapper<T>::InitImpl(Fun) [with const char* (* name)() = upywrap::ClassWrapper<upywrap::SharedSimple>::FixedFuncNames::Init; Fun = std::shared_ptr<upywrap::SharedSimple> (*)(int); Ret = std::shared_ptr<upywrap::SharedSimple>; A = {int}; T = upywrap::SharedSimple]’: | |
tests/../classwrapper.h:210:82: required from ‘void upywrap::ClassWrapper<T>::DefInit(std::shared_ptr<_Tp> (*)(A ...)) [with A = {int}; T = upywrap::SharedSimple]’ | |
tests/module.cpp:133:53: required from here | |
tests/../classwrapper.h:519:21: error: invalid conversion from ‘void* (*)(const mp_obj_type_t*, mp_uint_t, mp_uint_t, void* const*) {aka void* (*)(const _mp_obj_type_t*, unsigned int, unsigned int, void* const*)}’ to ‘mp_make_new_fun_t {aka void* (*)(const _mp_obj_type_t*, long unsigned int, long unsigned int, void* const*)}’ [-fpermissive] | |
tests/../classwrapper.h: In instantiation of ‘void upywrap::ClassWrapper<T>::InitImpl(Fun) [with const char* (* name)() = upywrap::ClassWrapper<upywrap::Simple>::FixedFuncNames::Init; Fun = std::shared_ptr<upywrap::Simple> (*)(int); Ret = std::shared_ptr<upywrap::Simple>; A = {int}; T = upywrap::Simple]’: | |
tests/../classwrapper.h:210:82: required from ‘void upywrap::ClassWrapper<T>::DefInit(std::shared_ptr<_Tp> (*)(A ...)) [with A = {int}; T = upywrap::Simple]’ | |
tests/../classwrapper.h:197:14: required from ‘void upywrap::ClassWrapper<T>::DefInit() [with A = {int}; T = upywrap::Simple]’ | |
tests/module.cpp:117:26: required from here | |
tests/../classwrapper.h:519:21: error: invalid conversion from ‘void* (*)(const mp_obj_type_t*, mp_uint_t, mp_uint_t, void* const*) {aka void* (*)(const _mp_obj_type_t*, unsigned int, unsigned int, void* const*)}’ to ‘mp_make_new_fun_t {aka void* (*)(const _mp_obj_type_t*, long unsigned int, long unsigned int, void* const*)}’ [-fpermissive] | |
tests/../classwrapper.h: In instantiation of ‘void upywrap::ClassWrapper<T>::InitImpl(Fun) [with const char* (* name)() = upywrap::ClassWrapper<upywrap::Context>::FixedFuncNames::Init; Fun = std::shared_ptr<upywrap::Context> (*)(); Ret = std::shared_ptr<upywrap::Context>; A = {}; T = upywrap::Context]’: | |
tests/../classwrapper.h:210:82: required from ‘void upywrap::ClassWrapper<T>::DefInit(std::shared_ptr<_Tp> (*)(A ...)) [with A = {}; T = upywrap::Context]’ | |
tests/../classwrapper.h:197:14: required from ‘void upywrap::ClassWrapper<T>::DefInit() [with A = {}; T = upywrap::Context]’ | |
tests/module.cpp:137:21: required from here | |
tests/../classwrapper.h:519:21: error: invalid conversion from ‘void* (*)(const mp_obj_type_t*, mp_uint_t, mp_uint_t, void* const*) {aka void* (*)(const _mp_obj_type_t*, unsigned int, unsigned int, void* const*)}’ to ‘mp_make_new_fun_t {aka void* (*)(const _mp_obj_type_t*, long unsigned int, long unsigned int, void* const*)}’ [-fpermissive] | |
tests/../classwrapper.h: In instantiation of ‘void upywrap::ClassWrapper<T>::InitImpl(Fun) [with const char* (* name)() = upywrap::ClassWrapper<upywrap::Q>::FixedFuncNames::Init; Fun = std::shared_ptr<upywrap::Q> (*)(); Ret = std::shared_ptr<upywrap::Q>; A = {}; T = upywrap::Q]’: | |
tests/../classwrapper.h:210:82: required from ‘void upywrap::ClassWrapper<T>::DefInit(std::shared_ptr<_Tp> (*)(A ...)) [with A = {}; T = upywrap::Q]’ | |
tests/../classwrapper.h:197:14: required from ‘void upywrap::ClassWrapper<T>::DefInit() [with A = {}; T = upywrap::Q]’tests/module.cpp:141:21: required from here | |
tests/../classwrapper.h:519:21: error: invalid conversion from ‘void* (*)(const mp_obj_type_t*, mp_uint_t, mp_uint_t, void* const*) {aka void* (*)(const _mp_obj_type_t*, unsigned int, unsigned int, void* const*)}’ to ‘mp_make_new_fun_t {aka void* (*)(const _mp_obj_type_t*, long unsigned int, long unsigned int, void* const*)}’ [-fpermissive] | |
tests/../classwrapper.h: In instantiation of ‘void upywrap::ClassWrapper<T>::InitImpl(Fun) [with const char* (* name)() = upywrap::ClassWrapper<upywrap::NargsTest>::FixedFuncNames::Init; Fun = std::shared_ptr<upywrap::NargsTest> (*)(); Ret = std::shared_ptr<upywrap::NargsTest>; A = {}; T = upywrap::NargsTest]’: | |
tests/../classwrapper.h:210:82: required from ‘void upywrap::ClassWrapper<T>::DefInit(std::shared_ptr<_Tp> (*)(A ...)) [with A = {}; T = upywrap::NargsTest]’ | |
tests/../classwrapper.h:197:14: required from ‘void upywrap::ClassWrapper<T>::DefInit() [with A = {}; T = upywrap::NargsTest]’ | |
tests/../classwrapper.h:191:16: required from ‘void upywrap::ClassWrapper<T>::DefInit() [with T = upywrap::NargsTest]’tests/module.cpp:146:19: required from here | |
tests/../classwrapper.h:519:21: error: invalid conversion from ‘void* (*)(const mp_obj_type_t*, mp_uint_t, mp_uint_t, void* const*) {aka void* (*)(const _mp_obj_type_t*, unsigned int, unsigned int, void* const*)}’ to ‘mp_make_new_fun_t {aka void* (*)(const _mp_obj_type_t*, long unsigned int, long unsigned int, void* const*)}’ [-fpermissive] | |
In file included from tests/module.cpp:1:0: | |
tests/../classwrapper.h: In instantiation of ‘class upywrap::ClassWrapper<long long int>’: | |
tests/../classwrapper.h:769:52: required from ‘static T upywrap::ClassFromPyObj<T>::Convert(mp_obj_t) [with T = long long int; mp_obj_t = void*]’ | |
tests/../detail/frompyobj.h:500:47: required from ‘decltype (typename upywrap::SelectFromPyObj<T>::type:: Convert(arg)) upywrap::FromPy(mp_obj_t) [with T = long long int; decltype (typename upywrap::SelectFromPyObj<T>::type:: Convert(arg)) = long long int; typename upywrap::SelectFromPyObj<T>::type = upywrap::ClassFromPyObj<long long int>; mp_obj_t = void*]’ | |
tests/../detail/callreturn.h:33:55: required from ‘static void* upywrap::CallReturn<Ret, A>::Call(Fun, typename upywrap::project2nd<Args, void*>::type ...) [with Fun = upywrap::FunctionCall<long long int, long long int>*; Ret = long long int; A = {long long int}; mp_obj_t = void*]’ | |
tests/../functionwrapper.h:84:45: required from ‘static void* upywrap::FunctionWrapper::NativeCall<index, Ret, A>::Call(typename upywrap::project2nd<A, void*>::type ...) [with const char* (* index)() = F::Int64; Ret = long long int; A = {long long int}; mp_obj_t = void*]’ | |
tests/../functionwrapper.h:78:46: required from ‘static void* upywrap::FunctionWrapper::NativeCall<index, Ret, A>::CreateUPyFunction() [with const char* (* index)() = F::Int64; Ret = long long int; A = {long long int}; mp_obj_t = void*]’ | |
tests/../functionwrapper.h:60:83: required from ‘void upywrap::FunctionWrapper::Def(Ret (*)(A ...), typename upywrap::SelectRetvalConverter<Ret>::type) [with const char* (* name)() = F::Int64; Ret = long long int; A = {long long int}; typename upywrap::SelectRetvalConverter<Ret>::type = void* (*)(long long int)]’ | |
tests/module.cpp:199:31: required from here | |
tests/../classwrapper.h:128:10: error: creating pointer to member function of non-class type ‘long long int’ | |
void Def( Ret( T::*f ) ( A... ), typename SelectRetvalConverter< Ret >::type conv = nullptr ) | |
^~~ | |
tests/../classwrapper.h:134:10: error: creating pointer to member function of non-class type ‘const long long int’ | |
void Def( Ret( T::*f ) ( A... ) const, typename SelectRetvalConverter< Ret >::type conv = nullptr ) | |
^~~ | |
In file included from tests/module.cpp:1:0: | |
tests/../classwrapper.h:158:10: error: creating pointer to member function of non-class type ‘long long int’ | |
void Setter( const char* name, void( T::*f )( A ) ) | |
^~~~~~ | |
tests/../classwrapper.h:170:10: error: creating pointer to member function of non-class type ‘const long long int’ | |
void Getter( const char* name, A( T::*f )() const ) | |
^~~~~~ | |
tests/../classwrapper.h:183:10: error: creating pointer to member function of non-class type ‘const long long int’ | |
void Property( const char* name, void( T::*fset )( A ), A( T::*fget )() const ) | |
^~~~~~~~ | |
tests/../classwrapper.h:214:10: error: creating pointer to member function of non-class type ‘long long int’ | |
void DefExit( void( T::*f ) () ) | |
^~~~~~~ | |
tests/../classwrapper.h: In instantiation of ‘static void* upywrap::ClassToPyObj<T>::Convert(T) [with T = long long int; mp_obj_t = void*]’: | |
tests/../detail/topyobj.h:322:45: required from ‘void* upywrap::ToPy(const T&) [with T = long long int; mp_obj_t = void*]’ | |
tests/../detail/callreturn.h:35:18: required from ‘static void* upywrap::CallReturn<Ret, A>::Call(Fun, typename upywrap::project2nd<Args, void*>::type ...) [with Fun = upywrap::FunctionCall<long long int, long long int>*; Ret = long long int; A = {long long int}; mp_obj_t = void*]’ | |
tests/../functionwrapper.h:84:45: required from ‘static void* upywrap::FunctionWrapper::NativeCall<index, Ret, A>::Call(typename upywrap::project2nd<A, void*>::type ...) [with const char* (* index)() = F::Int64; Ret = long long int; A = {long long int}; mp_obj_t = void*]’ | |
tests/../functionwrapper.h:78:46: required from ‘static void* upywrap::FunctionWrapper::NativeCall<index, Ret, A>::CreateUPyFunction() [with const char* (* index)() = F::Int64; Ret = long long int; A = {long long int}; mp_obj_t = void*]’ | |
tests/../functionwrapper.h:60:83: required from ‘void upywrap::FunctionWrapper::Def(Ret (*)(A ...), typename upywrap::SelectRetvalConverter<Ret>::type) [with const char* (* name)() = F::Int64; Ret = long long int; A = {long long int}; typename upywrap::SelectRetvalConverter<Ret>::type = void* (*)(long long int)]’ | |
tests/module.cpp:199:31: required from here | |
tests/../classwrapper.h:784:7: error: static assertion failed: Conversion from value to ClassWrapper is not allowed, pass a reference or shared_ptr instead | |
static_assert( False< T >::value, "Conversion from value to ClassWrapper is not allowed, pass a reference or shared_ptr instead" ); | |
^~~~~~~~~~~~~ | |
In file included from tests/module.cpp:1:0: | |
tests/../classwrapper.h: In instantiation of ‘class upywrap::ClassWrapper<long long unsigned int>’: | |
tests/../classwrapper.h:769:52: required from ‘static T upywrap::ClassFromPyObj<T>::Convert(mp_obj_t) [with T = long long unsigned int; mp_obj_t = void*]’ | |
tests/../detail/frompyobj.h:500:47: required from ‘decltype (typename upywrap::SelectFromPyObj<T>::type:: Convert(arg)) upywrap::FromPy(mp_obj_t) [with T = long long unsigned int; decltype (typename upywrap::SelectFromPyObj<T>::type:: Convert(arg)) = long long unsigned int; typename upywrap::SelectFromPyObj<T>::type = upywrap::ClassFromPyObj<long long unsigned int>; mp_obj_t = void*]’ | |
tests/../detail/callreturn.h:33:55: required from ‘static void* upywrap::CallReturn<Ret, A>::Call(Fun, typename upywrap::project2nd<Args, void*>::type ...) [with Fun = upywrap::FunctionCall<long long unsigned int, long long unsigned int>*; Ret = long long unsigned int; A = {long long unsigned int}; mp_obj_t = void*]’ | |
tests/../functionwrapper.h:84:45: required from ‘static void* upywrap::FunctionWrapper::NativeCall<index, Ret, A>::Call(typename upywrap::project2nd<A, void*>::type ...) [with const char* (* index)() = F::Unsigned64; Ret = long long unsigned int; A = {long long unsigned int}; mp_obj_t = void*]’ | |
tests/../functionwrapper.h:78:46: required from ‘static void* upywrap::FunctionWrapper::NativeCall<index, Ret, A>::CreateUPyFunction() [with const char* (* index)() = F::Unsigned64; Ret = long long unsigned int; A = {long long unsigned int}; mp_obj_t = void*]’ | |
tests/../functionwrapper.h:60:83: required from ‘void upywrap::FunctionWrapper::Def(Ret (*)(A ...), typename upywrap::SelectRetvalConverter<Ret>::type) [with const char* (* name)() = F::Unsigned64; Ret = long long unsigned int; A = {long long unsigned int}; typename upywrap::SelectRetvalConverter<Ret>::type = void* (*)(long long unsigned int)]’ | |
tests/module.cpp:202:41: required from here | |
tests/../classwrapper.h:128:10: error: creating pointer to member function of non-class type ‘long long unsigned int’ | |
void Def( Ret( T::*f ) ( A... ), typename SelectRetvalConverter< Ret >::type conv = nullptr ) | |
^~~ | |
tests/../classwrapper.h:134:10: error: creating pointer to member function of non-class type ‘const long long unsigned int’ | |
void Def( Ret( T::*f ) ( A... ) const, typename SelectRetvalConverter< Ret >::type conv = nullptr ) | |
^~~ | |
In file included from tests/module.cpp:1:0: | |
tests/../classwrapper.h:158:10: error: creating pointer to member function of non-class type ‘long long unsigned int’ | |
void Setter( const char* name, void( T::*f )( A ) ) | |
^~~~~~ | |
tests/../classwrapper.h:170:10: error: creating pointer to member function of non-class type ‘const long long unsigned int’ | |
void Getter( const char* name, A( T::*f )() const ) | |
^~~~~~ | |
tests/../classwrapper.h:183:10: error: creating pointer to member function of non-class type ‘const long long unsigned int’ | |
void Property( const char* name, void( T::*fset )( A ), A( T::*fget )() const ) | |
^~~~~~~~ | |
tests/../classwrapper.h:214:10: error: creating pointer to member function of non-class type ‘long long unsigned int’ | |
void DefExit( void( T::*f ) () ) | |
^~~~~~~ | |
tests/../classwrapper.h: In instantiation of ‘static void* upywrap::ClassToPyObj<T>::Convert(T) [with T = long long unsigned int; mp_obj_t = void*]’: | |
tests/../detail/topyobj.h:322:45: required from ‘void* upywrap::ToPy(const T&) [with T = long long unsigned int; mp_obj_t = void*]’ | |
tests/../detail/callreturn.h:35:18: required from ‘static void* upywrap::CallReturn<Ret, A>::Call(Fun, typename upywrap::project2nd<Args, void*>::type ...) [with Fun = upywrap::FunctionCall<long long unsigned int, long long unsigned int>*; Ret = long long unsigned int; A = {long long unsigned int}; mp_obj_t = void*]’ | |
tests/../functionwrapper.h:84:45: required from ‘static void* upywrap::FunctionWrapper::NativeCall<index, Ret, A>::Call(typename upywrap::project2nd<A, void*>::type ...) [with const char* (* index)() = F::Unsigned64; Ret = long long unsigned int; A = {long long unsigned int}; mp_obj_t = void*]’ | |
tests/../functionwrapper.h:78:46: required from ‘static void* upywrap::FunctionWrapper::NativeCall<index, Ret, A>::CreateUPyFunction() [with const char* (* index)() = F::Unsigned64; Ret = long long unsigned int; A = {long long unsigned int}; mp_obj_t = void*]’ | |
tests/../functionwrapper.h:60:83: required from ‘void upywrap::FunctionWrapper::Def(Ret (*)(A ...), typename upywrap::SelectRetvalConverter<Ret>::type) [with const char* (* name)() = F::Unsigned64; Ret = long long unsigned int; A = {long long unsigned int}; typename upywrap::SelectRetvalConverter<Ret>::type = void* (*)(long long unsigned int)]’ | |
tests/module.cpp:202:41: required from here | |
tests/../classwrapper.h:784:7: error: static assertion failed: Conversion from value to ClassWrapper is not allowed, pass a reference or shared_ptr instead | |
static_assert( False< T >::value, "Conversion from value to ClassWrapper is not allowed, pass a reference or shared_ptr instead" ); | |
^~~~~~~~~~~~~ | |
cc1plus: all warnings being treated as errors | |
Makefile:54: recipe for target 'sharedlib' failed | |
make: *** [sharedlib] Error 1 | |
kimchips@KC41-VIDEOSERVER:/mnt/c/dev/micropython-wrap$ make MICROPYTHON_PORT_DIR=/mnt/c/dev/micropython/ports/esp32 sharedlib > errors.txt | |
fatal: No names found, cannot describe anything. | |
In file included from /mnt/c/dev/micropython/ports/esp32/mpconfigport.h:11:0, | |
from ../micropython/py/mpconfig.h:62, | |
from ../micropython/py/obj.h:31, | |
from ../micropython/py/objfun.h:29, | |
from tests/../detail/micropython.h:9, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/mnt/c/dev/esp-idf/components/esp32/include/rom/ets_sys.h:1:2: error: #warning rom/ets_sys.h is deprecated, please use esp32/rom/ets_sys.h instead [-Werror=cpp] | |
#warning rom/ets_sys.h is deprecated, please use esp32/rom/ets_sys.h instead | |
^~~~~~~ | |
In file included from /mnt/c/dev/esp-idf/components/freertos/include/freertos/portable.h:89:0, | |
from /mnt/c/dev/esp-idf/components/freertos/include/freertos/FreeRTOS.h:105, | |
from /mnt/c/dev/micropython/ports/esp32/mpconfigport.h:234, | |
from ../micropython/py/mpconfig.h:62, | |
from ../micropython/py/obj.h:31, | |
from ../micropython/py/objfun.h:29, | |
from tests/../detail/micropython.h:9, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/mnt/c/dev/esp-idf/components/soc/esp32/include/soc/cpu.h: In function ‘void cpu_configure_region_protection()’: | |
/mnt/c/dev/esp-idf/components/soc/esp32/include/soc/cpu.h:77:23: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] | |
for (int i = 0; i < sizeof(pages_to_protect)/sizeof(pages_to_protect[0]); ++i) { | |
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from ../micropython/py/objfun.h:29:0, | |
from tests/../detail/micropython.h:9, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
../micropython/py/obj.h: In function ‘bool mp_obj_is_small_int(mp_const_obj_t)’: | |
../micropython/py/obj.h:87:26: error: cast from ‘mp_const_obj_t {aka const void*}’ to ‘mp_int_t {aka int}’ loses precision [-fpermissive] | |
return (((mp_int_t)(o)) & 1) != 0; | |
^ | |
../micropython/py/obj.h: In function ‘bool mp_obj_is_qstr(mp_const_obj_t)’: | |
../micropython/py/obj.h:93:26: error: cast from ‘mp_const_obj_t {aka const void*}’ to ‘mp_int_t {aka int}’ loses precision [-fpermissive] | |
return (((mp_int_t)(o)) & 7) == 2; | |
^ | |
../micropython/py/obj.h: In function ‘bool mp_obj_is_immediate_obj(mp_const_obj_t)’: | |
../micropython/py/obj.h:99:26: error: cast from ‘mp_const_obj_t {aka const void*}’ to ‘mp_int_t {aka int}’ loses precision [-fpermissive] | |
return (((mp_int_t)(o)) & 7) == 6; | |
^ | |
../micropython/py/obj.h: In function ‘bool mp_obj_is_obj(mp_const_obj_t)’: | |
../micropython/py/obj.h:116:26: error: cast from ‘mp_const_obj_t {aka const void*}’ to ‘mp_int_t {aka int}’ loses precision [-fpermissive] | |
return (((mp_int_t)(o)) & 3) == 0; | |
^ | |
In file included from /usr/include/math.h:37:0, | |
from /usr/include/c++/7/cmath:45, | |
from tests/../detail/micropython.h:24, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/usr/include/x86_64-linux-gnu/bits/types.h: At global scope: | |
/usr/include/x86_64-linux-gnu/bits/types.h:43:25: error: conflicting declaration ‘typedef long int __int64_t’ | |
typedef signed long int __int64_t; | |
^~~~~~~~~ | |
In file included from /mnt/c/dev/esp-idf/components/newlib/include/stdint.h:12:0, | |
from /mnt/c/dev/micropython/ports/esp32/mpconfigport.h:7, | |
from ../micropython/py/mpconfig.h:62, | |
from ../micropython/py/obj.h:31, | |
from ../micropython/py/objfun.h:29, | |
from tests/../detail/micropython.h:9, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/mnt/c/dev/esp-idf/components/newlib/include/machine/_default_types.h:29:26: note: previous declaration as ‘typedef long long int __int64_t’ | |
typedef signed long long __int64_t; | |
^~~~~~~~~ | |
In file included from /usr/include/math.h:37:0, | |
from /usr/include/c++/7/cmath:45, | |
from tests/../detail/micropython.h:24, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/usr/include/x86_64-linux-gnu/bits/types.h:44:27: error: conflicting declaration ‘typedef long unsigned int __uint64_t’ | |
typedef unsigned long int __uint64_t; | |
^~~~~~~~~~ | |
In file included from /mnt/c/dev/esp-idf/components/newlib/include/stdint.h:12:0, | |
from /mnt/c/dev/micropython/ports/esp32/mpconfigport.h:7, | |
from ../micropython/py/mpconfig.h:62, | |
from ../micropython/py/obj.h:31, | |
from ../micropython/py/objfun.h:29, | |
from tests/../detail/micropython.h:9, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/mnt/c/dev/esp-idf/components/newlib/include/machine/_default_types.h:30:28: note: previous declaration as ‘typedef long long unsigned int __uint64_t’ | |
typedef unsigned long long __uint64_t; | |
^~~~~~~~~~ | |
In file included from /usr/include/math.h:37:0, | |
from /usr/include/c++/7/cmath:45, | |
from tests/../detail/micropython.h:24, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/usr/include/x86_64-linux-gnu/bits/types.h:133:25: error: conflicting declaration ‘typedef long unsigned int __dev_t’ | |
__STD_TYPE __DEV_T_TYPE __dev_t; /* Type of device numbers. */ | |
^~~~~~~ | |
In file included from /mnt/c/dev/esp-idf/components/newlib/include/sys/reent.h:15:0, | |
from /mnt/c/dev/esp-idf/components/newlib/include/alloca.h:11, | |
from /mnt/c/dev/micropython/ports/esp32/mpconfigport.h:8, | |
from ../micropython/py/mpconfig.h:62, | |
from ../micropython/py/obj.h:31, | |
from ../micropython/py/objfun.h:29, | |
from tests/../detail/micropython.h:9, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/_types.h:20:15: note: previous declaration as ‘typedef short int __dev_t’ | |
typedef short __dev_t; | |
^~~~~~~ | |
In file included from /usr/include/math.h:37:0, | |
from /usr/include/c++/7/cmath:45, | |
from tests/../detail/micropython.h:24, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/usr/include/x86_64-linux-gnu/bits/types.h:134:25: error: conflicting declaration ‘typedef unsigned int __uid_t’ | |
__STD_TYPE __UID_T_TYPE __uid_t; /* Type of user identifications. */ | |
^~~~~~~ | |
In file included from /mnt/c/dev/esp-idf/components/newlib/include/sys/reent.h:15:0, | |
from /mnt/c/dev/esp-idf/components/newlib/include/alloca.h:11, | |
from /mnt/c/dev/micropython/ports/esp32/mpconfigport.h:8, | |
from ../micropython/py/mpconfig.h:62, | |
from ../micropython/py/obj.h:31, | |
from ../micropython/py/objfun.h:29, | |
from tests/../detail/micropython.h:9, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/_types.h:24:24: note: previous declaration as ‘typedef short unsigned int __uid_t’ | |
typedef unsigned short __uid_t; | |
^~~~~~~ | |
In file included from /usr/include/math.h:37:0, | |
from /usr/include/c++/7/cmath:45, | |
from tests/../detail/micropython.h:24, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/usr/include/x86_64-linux-gnu/bits/types.h:135:25: error: conflicting declaration ‘typedef unsigned int __gid_t’ | |
__STD_TYPE __GID_T_TYPE __gid_t; /* Type of group identifications. */ | |
^~~~~~~ | |
In file included from /mnt/c/dev/esp-idf/components/newlib/include/sys/reent.h:15:0, | |
from /mnt/c/dev/esp-idf/components/newlib/include/alloca.h:11, | |
from /mnt/c/dev/micropython/ports/esp32/mpconfigport.h:8, | |
from ../micropython/py/mpconfig.h:62, | |
from ../micropython/py/obj.h:31, | |
from ../micropython/py/objfun.h:29, | |
from tests/../detail/micropython.h:9, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/_types.h:27:24: note: previous declaration as ‘typedef short unsigned int __gid_t’ | |
typedef unsigned short __gid_t; | |
^~~~~~~ | |
In file included from /usr/include/math.h:37:0, | |
from /usr/include/c++/7/cmath:45, | |
from tests/../detail/micropython.h:24, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/usr/include/x86_64-linux-gnu/bits/types.h:190:19: error: conflicting declaration ‘typedef __off64_t __loff_t’ | |
typedef __off64_t __loff_t; /* Type of file sizes and offsets (LFS). */ | |
^~~~~~~~ | |
In file included from /mnt/c/dev/esp-idf/components/newlib/include/sys/types.h:70:0, | |
from /mnt/c/dev/esp-idf/components/newlib/include/stdio.h:48, | |
from /mnt/c/dev/esp-idf/components/esp_common/include/esp_timer.h:43, | |
from /mnt/c/dev/esp-idf/components/freertos/include/freertos/portmacro.h:84, | |
from /mnt/c/dev/esp-idf/components/freertos/include/freertos/portable.h:96, | |
from /mnt/c/dev/esp-idf/components/freertos/include/freertos/FreeRTOS.h:105, | |
from /mnt/c/dev/micropython/ports/esp32/mpconfigport.h:234, | |
from ../micropython/py/mpconfig.h:62, | |
from ../micropython/py/obj.h:31, | |
from ../micropython/py/objfun.h:29, | |
from tests/../detail/micropython.h:9, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/mnt/c/dev/esp-idf/components/newlib/include/machine/types.h:22:37: note: previous declaration as ‘typedef long long int __loff_t’ | |
__extension__ typedef long long int __loff_t; | |
^~~~~~~~ | |
In file included from /usr/include/c++/7/bits/std_abs.h:38:0, | |
from /usr/include/c++/7/cmath:47, | |
from tests/../detail/micropython.h:24, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/usr/include/stdlib.h:62:5: error: conflicting declaration ‘typedef struct div_t div_t’ | |
} div_t; | |
^~~~~ | |
In file included from /mnt/c/dev/esp-idf/components/esp_rom/include/esp32/rom/ets_sys.h:20:0, | |
from /mnt/c/dev/esp-idf/components/esp32/include/rom/ets_sys.h:2, | |
from /mnt/c/dev/micropython/ports/esp32/mpconfigport.h:11, | |
from ../micropython/py/mpconfig.h:62, | |
from ../micropython/py/obj.h:31, | |
from ../micropython/py/objfun.h:29, | |
from tests/../detail/micropython.h:9, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/mnt/c/dev/esp-idf/components/newlib/include/stdlib.h:35:3: note: previous declaration as ‘typedef struct div_t div_t’ | |
} div_t; | |
^~~~~ | |
In file included from /usr/include/c++/7/bits/std_abs.h:38:0, | |
from /usr/include/c++/7/cmath:47, | |
from tests/../detail/micropython.h:24, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/usr/include/stdlib.h:70:5: error: conflicting declaration ‘typedef struct ldiv_t ldiv_t’ | |
} ldiv_t; | |
^~~~~~ | |
In file included from /mnt/c/dev/esp-idf/components/esp_rom/include/esp32/rom/ets_sys.h:20:0, | |
from /mnt/c/dev/esp-idf/components/esp32/include/rom/ets_sys.h:2, | |
from /mnt/c/dev/micropython/ports/esp32/mpconfigport.h:11, | |
from ../micropython/py/mpconfig.h:62, | |
from ../micropython/py/obj.h:31, | |
from ../micropython/py/objfun.h:29, | |
from tests/../detail/micropython.h:9, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/mnt/c/dev/esp-idf/components/newlib/include/stdlib.h:41:3: note: previous declaration as ‘typedef struct ldiv_t ldiv_t’ | |
} ldiv_t; | |
^~~~~~ | |
In file included from /usr/include/c++/7/bits/std_abs.h:38:0, | |
from /usr/include/c++/7/cmath:47, | |
from tests/../detail/micropython.h:24, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/usr/include/stdlib.h:80:5: error: conflicting declaration ‘typedef struct lldiv_t lldiv_t’ | |
} lldiv_t; | |
^~~~~~~ | |
In file included from /mnt/c/dev/esp-idf/components/esp_rom/include/esp32/rom/ets_sys.h:20:0, | |
from /mnt/c/dev/esp-idf/components/esp32/include/rom/ets_sys.h:2, | |
from /mnt/c/dev/micropython/ports/esp32/mpconfigport.h:11, | |
from ../micropython/py/mpconfig.h:62, | |
from ../micropython/py/obj.h:31, | |
from ../micropython/py/objfun.h:29, | |
from tests/../detail/micropython.h:9, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/mnt/c/dev/esp-idf/components/newlib/include/stdlib.h:50:3: note: previous declaration as ‘typedef struct lldiv_t lldiv_t’ | |
} lldiv_t; | |
^~~~~~~ | |
In file included from /usr/include/c++/7/bits/std_abs.h:38:0, | |
from /usr/include/c++/7/cmath:47, | |
from tests/../detail/micropython.h:24, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/usr/include/stdlib.h:97:53: error: expected initializer before ‘__wur’ | |
extern size_t __ctype_get_mb_cur_max (void) __THROW __wur; | |
^~~~~ | |
/usr/include/stdlib.h:102:49: error: expected initializer before ‘__wur’ | |
__THROW __attribute_pure__ __nonnull ((1)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:105:49: error: expected initializer before ‘__wur’ | |
__THROW __attribute_pure__ __nonnull ((1)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:108:49: error: expected initializer before ‘__wur’ | |
__THROW __attribute_pure__ __nonnull ((1)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:113:49: error: expected initializer before ‘__wur’ | |
__THROW __attribute_pure__ __nonnull ((1)) __wur; | |
^~~~~ | |
In file included from /usr/include/c++/7/bits/std_abs.h:38:0, | |
from /usr/include/c++/7/cmath:47, | |
from tests/../detail/micropython.h:24, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/usr/include/stdlib.h:385:42: error: expected initializer before ‘__wur’ | |
extern char *l64a (long int __n) __THROW __wur; | |
^~~~~ | |
/usr/include/stdlib.h:389:49: error: expected initializer before ‘__wur’ | |
__THROW __attribute_pure__ __nonnull ((1)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:539:66: error: expected initializer before ‘__wur’ | |
extern void *malloc (size_t __size) __THROW __attribute_malloc__ __wur; | |
^~~~~ | |
/usr/include/stdlib.h:542:35: error: expected initializer before ‘__wur’ | |
__THROW __attribute_malloc__ __wur; | |
^~~~~ | |
/usr/include/stdlib.h:550:14: error: expected initializer before ‘__attribute_warn_unused_result__’ | |
__THROW __attribute_warn_unused_result__; | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/stdlib.h:559:14: error: expected initializer before ‘__attribute_warn_unused_result__’ | |
__THROW __attribute_warn_unused_result__; | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/stdlib.h:572:66: error: expected initializer before ‘__wur’ | |
extern void *valloc (size_t __size) __THROW __attribute_malloc__ __wur; | |
^~~~~ | |
/usr/include/stdlib.h:578:30: error: expected initializer before ‘__wur’ | |
__THROW __nonnull ((1)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:584:35: error: expected initializer before ‘__attribute_alloc_size__’ | |
__THROW __attribute_malloc__ __attribute_alloc_size__ ((2)) __wur; | |
^~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/stdlib.h:631:66: error: expected initializer before ‘__wur’ | |
extern char *getenv (const char *__name) __THROW __nonnull ((1)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:637:30: error: expected initializer before ‘__wur’ | |
__THROW __nonnull ((1)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:685:55: error: expected initializer before ‘__wur’ | |
extern int mkstemp (char *__template) __nonnull ((1)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:695:57: error: expected initializer before ‘__wur’ | |
extern int mkstemp64 (char *__template) __nonnull ((1)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:707:73: error: expected initializer before ‘__wur’ | |
extern int mkstemps (char *__template, int __suffixlen) __nonnull ((1)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:718:22: error: expected initializer before ‘__wur’ | |
__nonnull ((1)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:728:65: error: expected initializer before ‘__wur’ | |
extern char *mkdtemp (char *__template) __THROW __nonnull ((1)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:739:69: error: expected initializer before ‘__wur’ | |
extern int mkostemp (char *__template, int __flags) __nonnull ((1)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:749:71: error: expected initializer before ‘__wur’ | |
extern int mkostemp64 (char *__template, int __flags) __nonnull ((1)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:760:22: error: expected initializer before ‘__wur’ | |
__nonnull ((1)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:772:22: error: expected initializer before ‘__wur’ | |
__nonnull ((1)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:781:43: error: expected initializer before ‘__wur’ | |
extern int system (const char *__command) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:788:30: error: expected initializer before ‘__wur’ | |
__THROW __nonnull ((1)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:798:47: error: expected initializer before ‘__wur’ | |
char *__restrict __resolved) __THROW __wur; | |
^~~~~ | |
/usr/include/stdlib.h:819:28: error: expected initializer before ‘__wur’ | |
__nonnull ((1, 2, 5)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:837:62: error: expected initializer before ‘__wur’ | |
extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:838:73: error: expected initializer before ‘__wur’ | |
extern long int labs (long int __x) __THROW __attribute__ ((__const__)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:842:42: error: expected initializer before ‘__wur’ | |
__THROW __attribute__ ((__const__)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:850:42: error: expected initializer before ‘__wur’ | |
__THROW __attribute__ ((__const__)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:852:42: error: expected initializer before ‘__wur’ | |
__THROW __attribute__ ((__const__)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:857:42: error: expected initializer before ‘__wur’ | |
__THROW __attribute__ ((__const__)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:870:57: error: expected initializer before ‘__wur’ | |
int *__restrict __sign) __THROW __nonnull ((3, 4)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:876:57: error: expected initializer before ‘__wur’ | |
int *__restrict __sign) __THROW __nonnull ((3, 4)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:882:30: error: expected initializer before ‘__wur’ | |
__THROW __nonnull ((3)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:889:33: error: expected initializer before ‘__wur’ | |
__THROW __nonnull ((3, 4)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:892:33: error: expected initializer before ‘__wur’ | |
__THROW __nonnull ((3, 4)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:894:30: error: expected initializer before ‘__wur’ | |
__THROW __nonnull ((3)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:943:69: error: expected initializer before ‘__wur’ | |
extern int rpmatch (const char *__response) __THROW __nonnull ((1)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:957:36: error: expected initializer before ‘__wur’ | |
__THROW __nonnull ((1, 2, 3)) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:971:39: error: expected initializer before ‘__wur’ | |
extern int posix_openpt (int __oflag) __wur; | |
^~~~~ | |
/usr/include/stdlib.h:988:41: error: expected initializer before ‘__wur’ | |
extern char *ptsname (int __fd) __THROW __wur; | |
^~~~~ | |
In file included from /usr/include/x86_64-linux-gnu/c++/7/bits/gthr.h:148:0, | |
from /usr/include/c++/7/ext/atomicity.h:35, | |
from /usr/include/c++/7/memory:73, | |
from tests/../detail/micropython.h:28, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:47:9: error: ‘pthread_t’ does not name a type; did you mean ‘pread’? | |
typedef pthread_t __gthread_t; | |
^~~~~~~~~ | |
pread | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:48:9: error: ‘pthread_key_t’ does not name a type; did you mean ‘mp_thread_start’? | |
typedef pthread_key_t __gthread_key_t; | |
^~~~~~~~~~~~~ | |
mp_thread_start | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:49:9: error: ‘pthread_once_t’ does not name a type; did you mean ‘mp_thread_init’? | |
typedef pthread_once_t __gthread_once_t; | |
^~~~~~~~~~~~~~ | |
mp_thread_init | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:50:9: error: ‘pthread_mutex_t’ does not name a type; did you mean ‘mp_thread_mutex_t’? | |
typedef pthread_mutex_t __gthread_mutex_t; | |
^~~~~~~~~~~~~~~ | |
mp_thread_mutex_t | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:51:9: error: ‘pthread_mutex_t’ does not name a type; did you mean ‘mp_thread_mutex_t’? | |
typedef pthread_mutex_t __gthread_recursive_mutex_t; | |
^~~~~~~~~~~~~~~ | |
mp_thread_mutex_t | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:52:9: error: ‘pthread_cond_t’ does not name a type; did you mean ‘mp_thread_init’? | |
typedef pthread_cond_t __gthread_cond_t; | |
^~~~~~~~~~~~~~ | |
mp_thread_init | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:101:1: error: ‘pthread_once’ was not declared in this scope | |
__gthrw(pthread_once) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:101:1: note: suggested alternative: ‘mp_thread_init’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:102:1: error: ‘pthread_getspecific’ was not declared in this scope | |
__gthrw(pthread_getspecific) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:102:1: note: suggested alternative: ‘mp_thread_mutex_init’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:103:1: error: ‘pthread_setspecific’ was not declared in this scope | |
__gthrw(pthread_setspecific) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:103:1: note: suggested alternative: ‘__gthrw_pthread_getspecific’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:105:1: error: ‘pthread_create’ was not declared in this scope | |
__gthrw(pthread_create) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:105:1: note: suggested alternative: ‘mp_thread_create’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:106:1: error: ‘pthread_join’ was not declared in this scope | |
__gthrw(pthread_join) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:106:1: note: suggested alternative: ‘mp_thread_init’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:107:1: error: ‘pthread_equal’ was not declared in this scope | |
__gthrw(pthread_equal) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:107:1: note: suggested alternative: ‘_Thread_local’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:108:1: error: ‘pthread_self’ was not declared in this scope | |
__gthrw(pthread_self) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:108:1: note: suggested alternative: ‘mp_thread_start’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:109:1: error: ‘pthread_detach’ was not declared in this scope | |
__gthrw(pthread_detach) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:109:1: note: suggested alternative: ‘mp_thread_start’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:111:1: error: ‘pthread_cancel’ was not declared in this scope | |
__gthrw(pthread_cancel) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:111:1: note: suggested alternative: ‘_Thread_local’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:113:1: error: ‘sched_yield’ was not declared in this scope | |
__gthrw(sched_yield) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:115:1: error: ‘pthread_mutex_lock’ was not declared in this scope | |
__gthrw(pthread_mutex_lock) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:115:1: note: suggested alternative: ‘mp_thread_mutex_lock’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:116:1: error: ‘pthread_mutex_trylock’ was not declared in this scope | |
__gthrw(pthread_mutex_trylock) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:116:1: note: suggested alternative: ‘mp_thread_mutex_unlock’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:118:1: error: ‘pthread_mutex_timedlock’ was not declared in this scope | |
__gthrw(pthread_mutex_timedlock) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:118:1: note: suggested alternative: ‘mp_thread_mutex_unlock’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:120:1: error: ‘pthread_mutex_unlock’ was not declared in this scope | |
__gthrw(pthread_mutex_unlock) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:120:1: note: suggested alternative: ‘mp_thread_mutex_unlock’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:121:1: error: ‘pthread_mutex_init’ was not declared in this scope | |
__gthrw(pthread_mutex_init) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:121:1: note: suggested alternative: ‘mp_thread_mutex_init’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:122:1: error: ‘pthread_mutex_destroy’ was not declared in this scope | |
__gthrw(pthread_mutex_destroy) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:122:1: note: suggested alternative: ‘mp_thread_mutex_init’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:124:1: error: ‘pthread_cond_init’ was not declared in this scope | |
__gthrw(pthread_cond_init) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:124:1: note: suggested alternative: ‘mp_thread_deinit’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:125:1: error: ‘pthread_cond_broadcast’ was not declared in this scope | |
__gthrw(pthread_cond_broadcast) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:126:1: error: ‘pthread_cond_signal’ was not declared in this scope | |
__gthrw(pthread_cond_signal) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:126:1: note: suggested alternative: ‘thread_local’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:127:1: error: ‘pthread_cond_wait’ was not declared in this scope | |
__gthrw(pthread_cond_wait) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:127:1: note: suggested alternative: ‘mp_thread_deinit’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:128:1: error: ‘pthread_cond_timedwait’ was not declared in this scope | |
__gthrw(pthread_cond_timedwait) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:129:1: error: ‘pthread_cond_destroy’ was not declared in this scope | |
__gthrw(pthread_cond_destroy) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:131:1: error: ‘pthread_key_create’ was not declared in this scope | |
__gthrw(pthread_key_create) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:131:1: note: suggested alternative: ‘mp_thread_create’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:132:1: error: ‘pthread_key_delete’ was not declared in this scope | |
__gthrw(pthread_key_delete) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:132:1: note: suggested alternative: ‘mp_thread_set_state’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:133:1: error: ‘pthread_mutexattr_init’ was not declared in this scope | |
__gthrw(pthread_mutexattr_init) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:133:1: note: suggested alternative: ‘mp_thread_mutex_init’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:134:1: error: ‘pthread_mutexattr_settype’ was not declared in this scope | |
__gthrw(pthread_mutexattr_settype) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:134:1: note: suggested alternative: ‘mp_thread_mutex_init’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:135:1: error: ‘pthread_mutexattr_destroy’ was not declared in this scope | |
__gthrw(pthread_mutexattr_destroy) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:135:1: note: suggested alternative: ‘__gthrw_pthread_mutex_destroy’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:236:1: error: ‘pthread_key_create’ was not declared in this scope | |
__gthrw2(__gthrw_(__pthread_key_create), | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:236:1: note: suggested alternative: ‘mp_thread_create’ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:659:19: error: ‘__gthread_t’ was not declared in this scope | |
__gthread_create (__gthread_t *__threadid, void *(*__func) (void*), | |
^~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:659:19: note: suggested alternative: ‘__gthrw_’ | |
__gthread_create (__gthread_t *__threadid, void *(*__func) (void*), | |
^~~~~~~~~~~ | |
__gthrw_ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:659:32: error: ‘__threadid’ was not declared in this scope | |
__gthread_create (__gthread_t *__threadid, void *(*__func) (void*), | |
^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:659:32: note: suggested alternative: ‘_fread_r’ | |
__gthread_create (__gthread_t *__threadid, void *(*__func) (void*), | |
^~~~~~~~~~ | |
_fread_r | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:659:44: error: expected primary-expression before ‘void’ | |
__gthread_create (__gthread_t *__threadid, void *(*__func) (void*), | |
^~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:660:5: error: expected primary-expression before ‘void’ | |
void *__args) | |
^~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:660:17: error: expression list treated as compound expression in initializer [-fpermissive] | |
void *__args) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:666:17: error: ‘__gthread_t’ was not declared in this scope | |
__gthread_join (__gthread_t __threadid, void **__value_ptr) | |
^~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:666:17: note: suggested alternative: ‘__gthread_join’ | |
__gthread_join (__gthread_t __threadid, void **__value_ptr) | |
^~~~~~~~~~~ | |
__gthread_join | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:666:41: error: expected primary-expression before ‘void’ | |
__gthread_join (__gthread_t __threadid, void **__value_ptr) | |
^~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:666:59: error: expression list treated as compound expression in initializer [-fpermissive] | |
__gthread_join (__gthread_t __threadid, void **__value_ptr) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:672:19: error: ‘__gthread_t’ was not declared in this scope | |
__gthread_detach (__gthread_t __threadid) | |
^~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:672:19: note: suggested alternative: ‘__gthread_join’ | |
__gthread_detach (__gthread_t __threadid) | |
^~~~~~~~~~~ | |
__gthread_join | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:678:18: error: ‘__gthread_t’ was not declared in this scope | |
__gthread_equal (__gthread_t __t1, __gthread_t __t2) | |
^~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:678:18: note: suggested alternative: ‘__gthread_join’ | |
__gthread_equal (__gthread_t __t1, __gthread_t __t2) | |
^~~~~~~~~~~ | |
__gthread_join | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:678:36: error: ‘__gthread_t’ was not declared in this scope | |
__gthread_equal (__gthread_t __t1, __gthread_t __t2) | |
^~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:678:36: note: suggested alternative: ‘__gthread_join’ | |
__gthread_equal (__gthread_t __t1, __gthread_t __t2) | |
^~~~~~~~~~~ | |
__gthread_join | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:678:52: error: expression list treated as compound expression in initializer [-fpermissive] | |
__gthread_equal (__gthread_t __t1, __gthread_t __t2) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:683:15: error: ‘__gthread_t’ does not name a type; did you mean ‘__gthread_join’? | |
static inline __gthread_t | |
^~~~~~~~~~~ | |
__gthread_join | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h: In function ‘int __gthread_yield()’: | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:692:33: error: ‘__gthrw_sched_yield’ cannot be used as a function | |
return __gthrw_(sched_yield) (); | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h: At global scope: | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:696:17: error: ‘__gthread_once_t’ was not declared in this scope | |
__gthread_once (__gthread_once_t *__once, void (*__func) (void)) | |
^~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:696:17: note: suggested alternative: ‘__gthread_once’ | |
__gthread_once (__gthread_once_t *__once, void (*__func) (void)) | |
^~~~~~~~~~~~~~~~ | |
__gthread_once | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:696:35: error: ‘__once’ was not declared in this scope | |
__gthread_once (__gthread_once_t *__once, void (*__func) (void)) | |
^~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:696:35: note: suggested alternative: ‘__ynl’ | |
__gthread_once (__gthread_once_t *__once, void (*__func) (void)) | |
^~~~~~ | |
__ynl | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:696:50: error: ‘__func’ was not declared in this scope | |
__gthread_once (__gthread_once_t *__once, void (*__func) (void)) | |
^~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:696:50: note: suggested alternative: ‘__trunc’ | |
__gthread_once (__gthread_once_t *__once, void (*__func) (void)) | |
^~~~~~ | |
__trunc | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:696:59: error: expected primary-expression before ‘void’ | |
__gthread_once (__gthread_once_t *__once, void (*__func) (void)) | |
^~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:696:64: error: expression list treated as compound expression in initializer [-fpermissive] | |
__gthread_once (__gthread_once_t *__once, void (*__func) (void)) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:705:23: error: ‘__gthread_key_t’ was not declared in this scope | |
__gthread_key_create (__gthread_key_t *__key, void (*__dtor) (void *)) | |
^~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:705:23: note: suggested alternative: ‘__gthread_time_t’ | |
__gthread_key_create (__gthread_key_t *__key, void (*__dtor) (void *)) | |
^~~~~~~~~~~~~~~ | |
__gthread_time_t | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:705:40: error: ‘__key’ was not declared in this scope | |
__gthread_key_create (__gthread_key_t *__key, void (*__dtor) (void *)) | |
^~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:705:40: note: suggested alternative: ‘__key_t’ | |
__gthread_key_create (__gthread_key_t *__key, void (*__dtor) (void *)) | |
^~~~~ | |
__key_t | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:705:54: error: ‘__dtor’ was not declared in this scope | |
__gthread_key_create (__gthread_key_t *__key, void (*__dtor) (void *)) | |
^~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:705:54: note: suggested alternative: ‘__utoa’ | |
__gthread_key_create (__gthread_key_t *__key, void (*__dtor) (void *)) | |
^~~~~~ | |
__utoa | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:705:63: error: expected primary-expression before ‘void’ | |
__gthread_key_create (__gthread_key_t *__key, void (*__dtor) (void *)) | |
^~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:705:70: error: expression list treated as compound expression in initializer [-fpermissive] | |
__gthread_key_create (__gthread_key_t *__key, void (*__dtor) (void *)) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:711:23: error: ‘__gthread_key_t’ was not declared in this scope | |
__gthread_key_delete (__gthread_key_t __key) | |
^~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:711:23: note: suggested alternative: ‘__gthread_time_t’ | |
__gthread_key_delete (__gthread_key_t __key) | |
^~~~~~~~~~~~~~~ | |
__gthread_time_t | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:717:24: error: ‘__gthread_key_t’ was not declared in this scope | |
__gthread_getspecific (__gthread_key_t __key) | |
^~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:717:24: note: suggested alternative: ‘__gthread_time_t’ | |
__gthread_getspecific (__gthread_key_t __key) | |
^~~~~~~~~~~~~~~ | |
__gthread_time_t | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:723:24: error: ‘__gthread_key_t’ was not declared in this scope | |
__gthread_setspecific (__gthread_key_t __key, const void *__ptr) | |
^~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:723:24: note: suggested alternative: ‘__gthread_time_t’ | |
__gthread_setspecific (__gthread_key_t __key, const void *__ptr) | |
^~~~~~~~~~~~~~~ | |
__gthread_time_t | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:723:47: error: expected primary-expression before ‘const’ | |
__gthread_setspecific (__gthread_key_t __key, const void *__ptr) | |
^~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:723:64: error: expression list treated as compound expression in initializer [-fpermissive] | |
__gthread_setspecific (__gthread_key_t __key, const void *__ptr) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:729:32: error: variable or field ‘__gthread_mutex_init_function’ declared void | |
__gthread_mutex_init_function (__gthread_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:729:32: error: ‘__gthread_mutex_t’ was not declared in this scope | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:729:32: note: suggested alternative: ‘mp_thread_mutex_t’ | |
__gthread_mutex_init_function (__gthread_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~ | |
mp_thread_mutex_t | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:729:51: error: ‘__mutex’ was not declared in this scope | |
__gthread_mutex_init_function (__gthread_mutex_t *__mutex) | |
^~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:729:51: note: suggested alternative: ‘__utoa’ | |
__gthread_mutex_init_function (__gthread_mutex_t *__mutex) | |
^~~~~~~ | |
__utoa | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:736:26: error: ‘__gthread_mutex_t’ was not declared in this scope | |
__gthread_mutex_destroy (__gthread_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:736:26: note: suggested alternative: ‘mp_thread_mutex_t’ | |
__gthread_mutex_destroy (__gthread_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~ | |
mp_thread_mutex_t | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:736:45: error: ‘__mutex’ was not declared in this scope | |
__gthread_mutex_destroy (__gthread_mutex_t *__mutex) | |
^~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:736:45: note: suggested alternative: ‘__utoa’ | |
__gthread_mutex_destroy (__gthread_mutex_t *__mutex) | |
^~~~~~~ | |
__utoa | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:745:23: error: ‘__gthread_mutex_t’ was not declared in this scope | |
__gthread_mutex_lock (__gthread_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:745:23: note: suggested alternative: ‘mp_thread_mutex_t’ | |
__gthread_mutex_lock (__gthread_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~ | |
mp_thread_mutex_t | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:745:42: error: ‘__mutex’ was not declared in this scope | |
__gthread_mutex_lock (__gthread_mutex_t *__mutex) | |
^~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:745:42: note: suggested alternative: ‘__utoa’ | |
__gthread_mutex_lock (__gthread_mutex_t *__mutex) | |
^~~~~~~ | |
__utoa | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:754:26: error: ‘__gthread_mutex_t’ was not declared in this scope | |
__gthread_mutex_trylock (__gthread_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:754:26: note: suggested alternative: ‘mp_thread_mutex_t’ | |
__gthread_mutex_trylock (__gthread_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~ | |
mp_thread_mutex_t | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:754:45: error: ‘__mutex’ was not declared in this scope | |
__gthread_mutex_trylock (__gthread_mutex_t *__mutex) | |
^~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:754:45: note: suggested alternative: ‘__utoa’ | |
__gthread_mutex_trylock (__gthread_mutex_t *__mutex) | |
^~~~~~~ | |
__utoa | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:764:28: error: ‘__gthread_mutex_t’ was not declared in this scope | |
__gthread_mutex_timedlock (__gthread_mutex_t *__mutex, | |
^~~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:764:28: note: suggested alternative: ‘mp_thread_mutex_t’ | |
__gthread_mutex_timedlock (__gthread_mutex_t *__mutex, | |
^~~~~~~~~~~~~~~~~ | |
mp_thread_mutex_t | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:764:47: error: ‘__mutex’ was not declared in this scope | |
__gthread_mutex_timedlock (__gthread_mutex_t *__mutex, | |
^~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:764:47: note: suggested alternative: ‘__utoa’ | |
__gthread_mutex_timedlock (__gthread_mutex_t *__mutex, | |
^~~~~~~ | |
__utoa | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:765:7: error: expected primary-expression before ‘const’ | |
const __gthread_time_t *__abs_timeout) | |
^~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:765:44: error: expression list treated as compound expression in initializer [-fpermissive] | |
const __gthread_time_t *__abs_timeout) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:775:25: error: ‘__gthread_mutex_t’ was not declared in this scope | |
__gthread_mutex_unlock (__gthread_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:775:25: note: suggested alternative: ‘mp_thread_mutex_t’ | |
__gthread_mutex_unlock (__gthread_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~ | |
mp_thread_mutex_t | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:775:44: error: ‘__mutex’ was not declared in this scope | |
__gthread_mutex_unlock (__gthread_mutex_t *__mutex) | |
^~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:775:44: note: suggested alternative: ‘__utoa’ | |
__gthread_mutex_unlock (__gthread_mutex_t *__mutex) | |
^~~~~~~ | |
__utoa | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:786:42: error: ‘__gthread_recursive_mutex_t’ was not declared in this scope | |
__gthread_recursive_mutex_init_function (__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:786:42: note: suggested alternative: ‘__gthread_recursive_mutex_init_function’ | |
__gthread_recursive_mutex_init_function (__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
__gthread_recursive_mutex_init_function | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:786:71: error: ‘__mutex’ was not declared in this scope | |
__gthread_recursive_mutex_init_function (__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:786:71: note: suggested alternative: ‘__utoa’ | |
__gthread_recursive_mutex_init_function (__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~ | |
__utoa | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:808:33: error: ‘__gthread_recursive_mutex_t’ was not declared in this scope | |
__gthread_recursive_mutex_lock (__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:808:33: note: suggested alternative: ‘__gthread_recursive_mutex_lock’ | |
__gthread_recursive_mutex_lock (__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
__gthread_recursive_mutex_lock | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:808:62: error: ‘__mutex’ was not declared in this scope | |
__gthread_recursive_mutex_lock (__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:808:62: note: suggested alternative: ‘__utoa’ | |
__gthread_recursive_mutex_lock (__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~ | |
__utoa | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:814:36: error: ‘__gthread_recursive_mutex_t’ was not declared in this scope | |
__gthread_recursive_mutex_trylock (__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:814:36: note: suggested alternative: ‘__gthread_recursive_mutex_lock’ | |
__gthread_recursive_mutex_trylock (__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
__gthread_recursive_mutex_lock | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:814:65: error: ‘__mutex’ was not declared in this scope | |
__gthread_recursive_mutex_trylock (__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:814:65: note: suggested alternative: ‘__utoa’ | |
__gthread_recursive_mutex_trylock (__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~ | |
__utoa | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:821:38: error: ‘__gthread_recursive_mutex_t’ was not declared in this scope | |
__gthread_recursive_mutex_timedlock (__gthread_recursive_mutex_t *__mutex, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:821:38: note: suggested alternative: ‘__gthread_recursive_mutex_lock’ | |
__gthread_recursive_mutex_timedlock (__gthread_recursive_mutex_t *__mutex, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
__gthread_recursive_mutex_lock | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:821:67: error: ‘__mutex’ was not declared in this scope | |
__gthread_recursive_mutex_timedlock (__gthread_recursive_mutex_t *__mutex, | |
^~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:821:67: note: suggested alternative: ‘__utoa’ | |
__gthread_recursive_mutex_timedlock (__gthread_recursive_mutex_t *__mutex, | |
^~~~~~~ | |
__utoa | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:822:10: error: expected primary-expression before ‘const’ | |
const __gthread_time_t *__abs_timeout) | |
^~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:822:47: error: expression list treated as compound expression in initializer [-fpermissive] | |
const __gthread_time_t *__abs_timeout) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:829:35: error: ‘__gthread_recursive_mutex_t’ was not declared in this scope | |
__gthread_recursive_mutex_unlock (__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:829:35: note: suggested alternative: ‘__gthread_recursive_mutex_lock’ | |
__gthread_recursive_mutex_unlock (__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
__gthread_recursive_mutex_lock | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:829:64: error: ‘__mutex’ was not declared in this scope | |
__gthread_recursive_mutex_unlock (__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:829:64: note: suggested alternative: ‘__utoa’ | |
__gthread_recursive_mutex_unlock (__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~ | |
__utoa | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:835:36: error: ‘__gthread_recursive_mutex_t’ was not declared in this scope | |
__gthread_recursive_mutex_destroy (__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:835:36: note: suggested alternative: ‘__gthread_recursive_mutex_lock’ | |
__gthread_recursive_mutex_destroy (__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
__gthread_recursive_mutex_lock | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:835:65: error: ‘__mutex’ was not declared in this scope | |
__gthread_recursive_mutex_destroy (__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:835:65: note: suggested alternative: ‘__utoa’ | |
__gthread_recursive_mutex_destroy (__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~ | |
__utoa | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:850:27: error: ‘__gthread_cond_t’ was not declared in this scope | |
__gthread_cond_broadcast (__gthread_cond_t *__cond) | |
^~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:850:27: note: suggested alternative: ‘__gthread_once’ | |
__gthread_cond_broadcast (__gthread_cond_t *__cond) | |
^~~~~~~~~~~~~~~~ | |
__gthread_once | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:850:45: error: ‘__cond’ was not declared in this scope | |
__gthread_cond_broadcast (__gthread_cond_t *__cond) | |
^~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:850:45: note: suggested alternative: ‘__cosl’ | |
__gthread_cond_broadcast (__gthread_cond_t *__cond) | |
^~~~~~ | |
__cosl | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:856:24: error: ‘__gthread_cond_t’ was not declared in this scope | |
__gthread_cond_signal (__gthread_cond_t *__cond) | |
^~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:856:24: note: suggested alternative: ‘__gthread_once’ | |
__gthread_cond_signal (__gthread_cond_t *__cond) | |
^~~~~~~~~~~~~~~~ | |
__gthread_once | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:856:42: error: ‘__cond’ was not declared in this scope | |
__gthread_cond_signal (__gthread_cond_t *__cond) | |
^~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:856:42: note: suggested alternative: ‘__cosl’ | |
__gthread_cond_signal (__gthread_cond_t *__cond) | |
^~~~~~ | |
__cosl | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:862:22: error: ‘__gthread_cond_t’ was not declared in this scope | |
__gthread_cond_wait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:862:22: note: suggested alternative: ‘__gthread_cond_wait’ | |
__gthread_cond_wait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~ | |
__gthread_cond_wait | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:862:40: error: ‘__cond’ was not declared in this scope | |
__gthread_cond_wait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex) | |
^~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:862:40: note: suggested alternative: ‘__cosl’ | |
__gthread_cond_wait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex) | |
^~~~~~ | |
__cosl | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:862:48: error: ‘__gthread_mutex_t’ was not declared in this scope | |
__gthread_cond_wait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:862:48: note: suggested alternative: ‘mp_thread_mutex_t’ | |
__gthread_cond_wait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~ | |
mp_thread_mutex_t | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:862:67: error: ‘__mutex’ was not declared in this scope | |
__gthread_cond_wait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex) | |
^~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:862:67: note: suggested alternative: ‘__utoa’ | |
__gthread_cond_wait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex) | |
^~~~~~~ | |
__utoa | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:862:74: error: expression list treated as compound expression in initializer [-fpermissive] | |
__gthread_cond_wait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:868:27: error: ‘__gthread_cond_t’ was not declared in this scope | |
__gthread_cond_timedwait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex, | |
^~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:868:27: note: suggested alternative: ‘__gthread_cond_wait’ | |
__gthread_cond_timedwait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex, | |
^~~~~~~~~~~~~~~~ | |
__gthread_cond_wait | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:868:45: error: ‘__cond’ was not declared in this scope | |
__gthread_cond_timedwait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex, | |
^~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:868:45: note: suggested alternative: ‘__cosl’ | |
__gthread_cond_timedwait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex, | |
^~~~~~ | |
__cosl | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:868:53: error: ‘__gthread_mutex_t’ was not declared in this scope | |
__gthread_cond_timedwait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex, | |
^~~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:868:53: note: suggested alternative: ‘mp_thread_mutex_t’ | |
__gthread_cond_timedwait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex, | |
^~~~~~~~~~~~~~~~~ | |
mp_thread_mutex_t | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:868:72: error: ‘__mutex’ was not declared in this scope | |
__gthread_cond_timedwait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex, | |
^~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:868:72: note: suggested alternative: ‘__utoa’ | |
__gthread_cond_timedwait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex, | |
^~~~~~~ | |
__utoa | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:869:6: error: expected primary-expression before ‘const’ | |
const __gthread_time_t *__abs_timeout) | |
^~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:869:43: error: expression list treated as compound expression in initializer [-fpermissive] | |
const __gthread_time_t *__abs_timeout) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:875:32: error: ‘__gthread_cond_t’ was not declared in this scope | |
__gthread_cond_wait_recursive (__gthread_cond_t *__cond, | |
^~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:875:32: note: suggested alternative: ‘__gthread_cond_wait’ | |
__gthread_cond_wait_recursive (__gthread_cond_t *__cond, | |
^~~~~~~~~~~~~~~~ | |
__gthread_cond_wait | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:875:50: error: ‘__cond’ was not declared in this scope | |
__gthread_cond_wait_recursive (__gthread_cond_t *__cond, | |
^~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:875:50: note: suggested alternative: ‘__cosl’ | |
__gthread_cond_wait_recursive (__gthread_cond_t *__cond, | |
^~~~~~ | |
__cosl | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:876:11: error: ‘__gthread_recursive_mutex_t’ was not declared in this scope | |
__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:876:11: note: suggested alternative: ‘__gthread_recursive_mutex_lock’ | |
__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
__gthread_recursive_mutex_lock | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:876:40: error: ‘__mutex’ was not declared in this scope | |
__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:876:40: note: suggested alternative: ‘__utoa’ | |
__gthread_recursive_mutex_t *__mutex) | |
^~~~~~~ | |
__utoa | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:876:47: error: expression list treated as compound expression in initializer [-fpermissive] | |
__gthread_recursive_mutex_t *__mutex) | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:882:25: error: ‘__gthread_cond_t’ was not declared in this scope | |
__gthread_cond_destroy (__gthread_cond_t* __cond) | |
^~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:882:25: note: suggested alternative: ‘__gthread_cond_wait’ | |
__gthread_cond_destroy (__gthread_cond_t* __cond) | |
^~~~~~~~~~~~~~~~ | |
__gthread_cond_wait | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:882:43: error: ‘__cond’ was not declared in this scope | |
__gthread_cond_destroy (__gthread_cond_t* __cond) | |
^~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:882:43: note: suggested alternative: ‘__cosl’ | |
__gthread_cond_destroy (__gthread_cond_t* __cond) | |
^~~~~~ | |
__cosl | |
In file included from /usr/include/c++/7/memory:74:0, | |
from tests/../detail/micropython.h:28, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/usr/include/c++/7/ext/concurrence.h:122:5: error: ‘__gthread_mutex_t’ does not name a type; did you mean ‘mp_thread_mutex_t’? | |
__gthread_mutex_t _M_mutex = __GTHREAD_MUTEX_INIT; | |
^~~~~~~~~~~~~~~~~ | |
mp_thread_mutex_t | |
/usr/include/c++/7/ext/concurrence.h:169:5: error: ‘__gthread_mutex_t’ does not name a type; did you mean ‘mp_thread_mutex_t’? | |
__gthread_mutex_t* gthread_mutex(void) | |
^~~~~~~~~~~~~~~~~ | |
mp_thread_mutex_t | |
/usr/include/c++/7/ext/concurrence.h: In member function ‘void __gnu_cxx::__mutex::lock()’: | |
/usr/include/c++/7/ext/concurrence.h:152:30: error: ‘_M_mutex’ was not declared in this scope | |
if (__gthread_mutex_lock(&_M_mutex) != 0) | |
^~~~~~~~ | |
/usr/include/c++/7/ext/concurrence.h:152:30: note: suggested alternative: ‘__mutex’ | |
if (__gthread_mutex_lock(&_M_mutex) != 0) | |
^~~~~~~~ | |
__mutex | |
/usr/include/c++/7/ext/concurrence.h:152:38: error: ‘__gthread_mutex_lock’ cannot be used as a function | |
if (__gthread_mutex_lock(&_M_mutex) != 0) | |
^ | |
/usr/include/c++/7/ext/concurrence.h: In member function ‘void __gnu_cxx::__mutex::unlock()’: | |
/usr/include/c++/7/ext/concurrence.h:163:32: error: ‘_M_mutex’ was not declared in this scope | |
if (__gthread_mutex_unlock(&_M_mutex) != 0) | |
^~~~~~~~ | |
/usr/include/c++/7/ext/concurrence.h:163:32: note: suggested alternative: ‘__mutex’ | |
if (__gthread_mutex_unlock(&_M_mutex) != 0) | |
^~~~~~~~ | |
__mutex | |
/usr/include/c++/7/ext/concurrence.h:163:40: error: ‘__gthread_mutex_unlock’ cannot be used as a function | |
if (__gthread_mutex_unlock(&_M_mutex) != 0) | |
^ | |
/usr/include/c++/7/ext/concurrence.h: At global scope: | |
/usr/include/c++/7/ext/concurrence.h:179:5: error: ‘__gthread_recursive_mutex_t’ does not name a type; did you mean ‘__gthread_recursive_mutex_lock’? | |
__gthread_recursive_mutex_t _M_mutex; | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
__gthread_recursive_mutex_lock | |
/usr/include/c++/7/ext/concurrence.h:224:5: error: ‘__gthread_recursive_mutex_t’ does not name a type; did you mean ‘__gthread_recursive_mutex_lock’? | |
__gthread_recursive_mutex_t* gthread_recursive_mutex(void) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
__gthread_recursive_mutex_lock | |
/usr/include/c++/7/ext/concurrence.h: In constructor ‘__gnu_cxx::__recursive_mutex::__recursive_mutex()’: | |
/usr/include/c++/7/ext/concurrence.h:190:43: error: ‘_M_mutex’ was not declared in this scope | |
__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION(&_M_mutex); | |
^~~~~~~~ | |
/usr/include/c++/7/ext/concurrence.h:190:43: note: suggested alternative: ‘__mutex’ | |
__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION(&_M_mutex); | |
^~~~~~~~ | |
__mutex | |
/usr/include/c++/7/ext/concurrence.h:190:51: error: ‘__gthread_recursive_mutex_init_function’ cannot be used as a function | |
__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION(&_M_mutex); | |
^ | |
/usr/include/c++/7/ext/concurrence.h: In destructor ‘__gnu_cxx::__recursive_mutex::~__recursive_mutex()’: | |
/usr/include/c++/7/ext/concurrence.h:198:37: error: ‘_M_mutex’ was not declared in this scope | |
__gthread_recursive_mutex_destroy(&_M_mutex); | |
^~~~~~~~ | |
/usr/include/c++/7/ext/concurrence.h:198:37: note: suggested alternative: ‘__mutex’ | |
__gthread_recursive_mutex_destroy(&_M_mutex); | |
^~~~~~~~ | |
__mutex | |
/usr/include/c++/7/ext/concurrence.h:198:45: error: ‘__gthread_recursive_mutex_destroy’ cannot be used as a function | |
__gthread_recursive_mutex_destroy(&_M_mutex); | |
^ | |
/usr/include/c++/7/ext/concurrence.h: In member function ‘void __gnu_cxx::__recursive_mutex::lock()’: | |
/usr/include/c++/7/ext/concurrence.h:207:40: error: ‘_M_mutex’ was not declared in this scope | |
if (__gthread_recursive_mutex_lock(&_M_mutex) != 0) | |
^~~~~~~~ | |
/usr/include/c++/7/ext/concurrence.h:207:40: note: suggested alternative: ‘__mutex’ | |
if (__gthread_recursive_mutex_lock(&_M_mutex) != 0) | |
^~~~~~~~ | |
__mutex | |
/usr/include/c++/7/ext/concurrence.h:207:48: error: ‘__gthread_recursive_mutex_lock’ cannot be used as a function | |
if (__gthread_recursive_mutex_lock(&_M_mutex) != 0) | |
^ | |
/usr/include/c++/7/ext/concurrence.h: In member function ‘void __gnu_cxx::__recursive_mutex::unlock()’: | |
/usr/include/c++/7/ext/concurrence.h:218:42: error: ‘_M_mutex’ was not declared in this scope | |
if (__gthread_recursive_mutex_unlock(&_M_mutex) != 0) | |
^~~~~~~~ | |
/usr/include/c++/7/ext/concurrence.h:218:42: note: suggested alternative: ‘__mutex’ | |
if (__gthread_recursive_mutex_unlock(&_M_mutex) != 0) | |
^~~~~~~~ | |
__mutex | |
/usr/include/c++/7/ext/concurrence.h:218:50: error: ‘__gthread_recursive_mutex_unlock’ cannot be used as a function | |
if (__gthread_recursive_mutex_unlock(&_M_mutex) != 0) | |
^ | |
/usr/include/c++/7/ext/concurrence.h: At global scope: | |
/usr/include/c++/7/ext/concurrence.h:255:5: error: ‘__gthread_cond_t’ does not name a type; did you mean ‘__gthread_cond_wait’? | |
__gthread_cond_t _M_cond = __GTHREAD_COND_INIT; | |
^~~~~~~~~~~~~~~~ | |
__gthread_cond_wait | |
/usr/include/c++/7/ext/concurrence.h: In member function ‘void __gnu_cxx::__cond::broadcast()’: | |
/usr/include/c++/7/ext/concurrence.h:285:34: error: ‘_M_cond’ was not declared in this scope | |
if (__gthread_cond_broadcast(&_M_cond) != 0) | |
^~~~~~~ | |
/usr/include/c++/7/ext/concurrence.h:285:34: note: suggested alternative: ‘__cond’ | |
if (__gthread_cond_broadcast(&_M_cond) != 0) | |
^~~~~~~ | |
__cond | |
/usr/include/c++/7/ext/concurrence.h:285:41: error: ‘__gthread_cond_broadcast’ cannot be used as a function | |
if (__gthread_cond_broadcast(&_M_cond) != 0) | |
^ | |
/usr/include/c++/7/ext/concurrence.h: In member function ‘void __gnu_cxx::__cond::wait(__gnu_cxx::__mutex*)’: | |
/usr/include/c++/7/ext/concurrence.h:295:29: error: ‘_M_cond’ was not declared in this scope | |
if (__gthread_cond_wait(&_M_cond, mutex->gthread_mutex()) != 0) | |
^~~~~~~ | |
/usr/include/c++/7/ext/concurrence.h:295:29: note: suggested alternative: ‘__cond’ | |
if (__gthread_cond_wait(&_M_cond, mutex->gthread_mutex()) != 0) | |
^~~~~~~ | |
__cond | |
/usr/include/c++/7/ext/concurrence.h:295:45: error: ‘class __gnu_cxx::__mutex’ has no member named ‘gthread_mutex’ | |
if (__gthread_cond_wait(&_M_cond, mutex->gthread_mutex()) != 0) | |
^~~~~~~~~~~~~ | |
/usr/include/c++/7/ext/concurrence.h:295:60: error: ‘__gthread_cond_wait’ cannot be used as a function | |
if (__gthread_cond_wait(&_M_cond, mutex->gthread_mutex()) != 0) | |
^ | |
/usr/include/c++/7/ext/concurrence.h: In member function ‘void __gnu_cxx::__cond::wait_recursive(__gnu_cxx::__recursive_mutex*)’: | |
/usr/include/c++/7/ext/concurrence.h:305:39: error: ‘_M_cond’ was not declared in this scope | |
if (__gthread_cond_wait_recursive(&_M_cond, | |
^~~~~~~ | |
/usr/include/c++/7/ext/concurrence.h:305:39: note: suggested alternative: ‘__cond’ | |
if (__gthread_cond_wait_recursive(&_M_cond, | |
^~~~~~~ | |
__cond | |
/usr/include/c++/7/ext/concurrence.h:306:17: error: ‘class __gnu_cxx::__recursive_mutex’ has no member named ‘gthread_recursive_mutex’; did you mean ‘__recursive_mutex’? | |
mutex->gthread_recursive_mutex()) | |
^~~~~~~~~~~~~~~~~~~~~~~ | |
__recursive_mutex | |
/usr/include/c++/7/ext/concurrence.h:306:42: error: ‘__gthread_cond_wait_recursive’ cannot be used as a function | |
mutex->gthread_recursive_mutex()) | |
^ | |
In file included from /usr/include/c++/7/bits/localefwd.h:40:0, | |
from /usr/include/c++/7/string:43, | |
from /usr/include/c++/7/stdexcept:39, | |
from /usr/include/c++/7/array:39, | |
from /usr/include/c++/7/tuple:39, | |
from /usr/include/c++/7/bits/unique_ptr.h:37, | |
from /usr/include/c++/7/memory:80, | |
from tests/../detail/micropython.h:28, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/usr/include/x86_64-linux-gnu/c++/7/bits/c++locale.h: At global scope: | |
/usr/include/x86_64-linux-gnu/c++/7/bits/c++locale.h:52:23: error: ‘uselocale’ was not declared in this scope | |
extern "C" __typeof(uselocale) __uselocale; | |
^~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/c++locale.h:52:23: note: suggested alternative: ‘setlocale’ | |
extern "C" __typeof(uselocale) __uselocale; | |
^~~~~~~~~ | |
setlocale | |
/usr/include/x86_64-linux-gnu/c++/7/bits/c++locale.h: In function ‘int std::__convert_from_v(__locale_struct* const&, char*, int, const char*, ...)’: | |
/usr/include/x86_64-linux-gnu/c++/7/bits/c++locale.h:75:53: error: ‘__gnu_cxx::__uselocale’ cannot be used as a function | |
__c_locale __old = __gnu_cxx::__uselocale(__cloc); | |
^ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/c++locale.h:100:33: error: ‘__gnu_cxx::__uselocale’ cannot be used as a function | |
__gnu_cxx::__uselocale(__old); | |
^ | |
In file included from /usr/include/c++/7/ext/string_conversions.h:41:0, | |
from /usr/include/c++/7/bits/basic_string.h:6361, | |
from /usr/include/c++/7/string:52, | |
from /usr/include/c++/7/stdexcept:39, | |
from /usr/include/c++/7/array:39, | |
from /usr/include/c++/7/tuple:39, | |
from /usr/include/c++/7/bits/unique_ptr.h:37, | |
from /usr/include/c++/7/memory:80, | |
from tests/../detail/micropython.h:28, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
/usr/include/c++/7/cstdlib: At global scope: | |
/usr/include/c++/7/cstdlib:132:11: error: ‘::aligned_alloc’ has not been declared | |
using ::aligned_alloc; | |
^~~~~~~~~~~~~ | |
In file included from ../micropython/py/objfun.h:29:0, | |
from tests/../detail/micropython.h:9, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
tests/../detail/micropython.h: In function ‘void* upywrap::new_qstr(qstr)’: | |
../micropython/py/obj.h:96:71: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] | |
#define MP_OBJ_NEW_QSTR(qst) ((mp_obj_t)((((mp_uint_t)(qst)) << 3) | 2)) | |
^ | |
tests/../detail/micropython.h:35:12: note: in expansion of macro ‘MP_OBJ_NEW_QSTR’ | |
return MP_OBJ_NEW_QSTR( what ); | |
^~~~~~~~~~~~~~~ | |
In file included from tests/../detail/frompyobj.h:4:0, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
tests/../detail/micropython.h: In function ‘void* upywrap::MakeFunction(mp_uint_t, void* (*)(mp_uint_t, void* const*))’: | |
tests/../detail/micropython.h:80:18: error: invalid conversion from ‘void* (*)(mp_uint_t, void* const*) {aka void* (*)(unsigned int, void* const*)}’ to ‘mp_fun_var_t {aka void* (*)(long unsigned int, void* const*)}’ [-fpermissive] | |
o->fun.var = fun; | |
^~~ | |
tests/../detail/micropython.h: In function ‘void* upywrap::MakeFunction(mp_uint_t, mp_uint_t, void* (*)(mp_uint_t, void* const*))’: | |
tests/../detail/micropython.h:89:18: error: invalid conversion from ‘void* (*)(mp_uint_t, void* const*) {aka void* (*)(unsigned int, void* const*)}’ to ‘mp_fun_var_t {aka void* (*)(long unsigned int, void* const*)}’ [-fpermissive] | |
o->fun.var = fun; | |
^~~ | |
In file included from tests/../detail/frompyobj.h:5:0, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
tests/../detail/topyobj.h: At global scope: | |
tests/../detail/topyobj.h:93:3: error: static assertion failed: unsupported integer type | |
static_assert( std::is_same< mp_int_t, std::int64_t >::value, "unsupported integer type" ); | |
^~~~~~~~~~~~~ | |
tests/../detail/topyobj.h:94:3: error: static assertion failed: unsupported integer type | |
static_assert( std::is_same< mp_uint_t, std::uint64_t >::value, "unsupported integer type" ); | |
^~~~~~~~~~~~~ | |
tests/../detail/topyobj.h:97:10: error: redefinition of ‘struct upywrap::ToPyObj<int>’ | |
struct ToPyObj< std::int32_t > : std::true_type | |
^~~~~~~~~~~~~~~~~~~~~~~ | |
tests/../detail/topyobj.h:47:10: note: previous definition of ‘struct upywrap::ToPyObj<int>’ | |
struct ToPyObj< mp_int_t > : std::true_type | |
^~~~~~~~~~~~~~~~~~~ | |
tests/../detail/topyobj.h:106:10: error: redefinition of ‘struct upywrap::ToPyObj<unsigned int>’ | |
struct ToPyObj< std::uint32_t > : std::true_type | |
^~~~~~~~~~~~~~~~~~~~~~~~ | |
tests/../detail/topyobj.h:56:10: note: previous definition of ‘struct upywrap::ToPyObj<unsigned int>’ | |
struct ToPyObj< mp_uint_t > : std::true_type | |
^~~~~~~~~~~~~~~~~~~~ | |
In file included from tests/../detail/callreturn.h:4:0, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
tests/../detail/frompyobj.h:136:10: error: redefinition of ‘struct upywrap::FromPyObj<int>’ | |
struct FromPyObj< int > : std::true_type | |
^~~~~~~~~~~~~~~~ | |
In file included from tests/../detail/callreturn.h:4:0, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
tests/../detail/frompyobj.h:37:10: note: previous definition of ‘struct upywrap::FromPyObj<int>’ | |
struct FromPyObj< mp_int_t > : std::true_type | |
^~~~~~~~~~~~~~~~~~~~~ | |
In file included from tests/../detail/callreturn.h:4:0, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
tests/../detail/frompyobj.h:145:10: error: redefinition of ‘struct upywrap::FromPyObj<unsigned int>’ | |
struct FromPyObj< unsigned > : std::true_type | |
^~~~~~~~~~~~~~~~~~~~~ | |
tests/../detail/frompyobj.h:97:10: note: previous definition of ‘struct upywrap::FromPyObj<unsigned int>’ | |
struct FromPyObj< mp_uint_t > : std::true_type | |
^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/include/c++/7/bits/ios_base.h:41:0, | |
from /usr/include/c++/7/ios:42, | |
from /usr/include/c++/7/ostream:38, | |
from /usr/include/c++/7/iostream:39, | |
from tests/map.h:5, | |
from tests/module.cpp:5: | |
/usr/include/c++/7/bits/locale_classes.h:336:12: error: ‘__gthread_once_t’ does not name a type; did you mean ‘__gthread_once’? | |
static __gthread_once_t _S_once; | |
^~~~~~~~~~~~~~~~ | |
__gthread_once | |
/usr/include/c++/7/bits/locale_classes.h:386:12: error: ‘__gthread_once_t’ does not name a type; did you mean ‘__gthread_once’? | |
static __gthread_once_t _S_once; | |
^~~~~~~~~~~~~~~~ | |
__gthread_once | |
In file included from /usr/include/c++/7/bits/locale_facets.h:41:0, | |
from /usr/include/c++/7/bits/basic_ios.h:37, | |
from /usr/include/c++/7/ios:44, | |
from /usr/include/c++/7/ostream:38, | |
from /usr/include/c++/7/iostream:39, | |
from tests/map.h:5, | |
from tests/module.cpp:5: | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:49:35: error: ‘_ISupper’ was not declared in this scope | |
static const mask upper = _ISupper; | |
^~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:49:35: note: suggested alternative: ‘toupper’ | |
static const mask upper = _ISupper; | |
^~~~~~~~ | |
toupper | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:50:32: error: ‘_ISlower’ was not declared in this scope | |
static const mask lower = _ISlower; | |
^~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:50:32: note: suggested alternative: ‘tolower’ | |
static const mask lower = _ISlower; | |
^~~~~~~~ | |
tolower | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:51:32: error: ‘_ISalpha’ was not declared in this scope | |
static const mask alpha = _ISalpha; | |
^~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:51:32: note: suggested alternative: ‘isalpha’ | |
static const mask alpha = _ISalpha; | |
^~~~~~~~ | |
isalpha | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:52:32: error: ‘_ISdigit’ was not declared in this scope | |
static const mask digit = _ISdigit; | |
^~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:52:32: note: suggested alternative: ‘isxdigit’ | |
static const mask digit = _ISdigit; | |
^~~~~~~~ | |
isxdigit | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:53:33: error: ‘_ISxdigit’ was not declared in this scope | |
static const mask xdigit = _ISxdigit; | |
^~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:53:33: note: suggested alternative: ‘isxdigit’ | |
static const mask xdigit = _ISxdigit; | |
^~~~~~~~~ | |
isxdigit | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:54:32: error: ‘_ISspace’ was not declared in this scope | |
static const mask space = _ISspace; | |
^~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:54:32: note: suggested alternative: ‘isspace’ | |
static const mask space = _ISspace; | |
^~~~~~~~ | |
isspace | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:55:32: error: ‘_ISprint’ was not declared in this scope | |
static const mask print = _ISprint; | |
^~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:55:32: note: suggested alternative: ‘isprint’ | |
static const mask print = _ISprint; | |
^~~~~~~~ | |
isprint | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:56:32: error: ‘_ISalpha’ was not declared in this scope | |
static const mask graph = _ISalpha | _ISdigit | _ISpunct; | |
^~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:56:32: note: suggested alternative: ‘alpha’ | |
static const mask graph = _ISalpha | _ISdigit | _ISpunct; | |
^~~~~~~~ | |
alpha | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:56:43: error: ‘_ISdigit’ was not declared in this scope | |
static const mask graph = _ISalpha | _ISdigit | _ISpunct; | |
^~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:56:43: note: suggested alternative: ‘xdigit’ | |
static const mask graph = _ISalpha | _ISdigit | _ISpunct; | |
^~~~~~~~ | |
xdigit | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:56:54: error: ‘_ISpunct’ was not declared in this scope | |
static const mask graph = _ISalpha | _ISdigit | _ISpunct; | |
^~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:56:54: note: suggested alternative: ‘ispunct’ | |
static const mask graph = _ISalpha | _ISdigit | _ISpunct; | |
^~~~~~~~ | |
ispunct | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:57:32: error: ‘_IScntrl’ was not declared in this scope | |
static const mask cntrl = _IScntrl; | |
^~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:57:32: note: suggested alternative: ‘iscntrl’ | |
static const mask cntrl = _IScntrl; | |
^~~~~~~~ | |
iscntrl | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:58:32: error: ‘_ISpunct’ was not declared in this scope | |
static const mask punct = _ISpunct; | |
^~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:58:32: note: suggested alternative: ‘ispunct’ | |
static const mask punct = _ISpunct; | |
^~~~~~~~ | |
ispunct | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:59:32: error: ‘_ISalpha’ was not declared in this scope | |
static const mask alnum = _ISalpha | _ISdigit; | |
^~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:59:32: note: suggested alternative: ‘alpha’ | |
static const mask alnum = _ISalpha | _ISdigit; | |
^~~~~~~~ | |
alpha | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:59:43: error: ‘_ISdigit’ was not declared in this scope | |
static const mask alnum = _ISalpha | _ISdigit; | |
^~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:59:43: note: suggested alternative: ‘xdigit’ | |
static const mask alnum = _ISalpha | _ISdigit; | |
^~~~~~~~ | |
xdigit | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:61:31: error: ‘_ISblank’ was not declared in this scope | |
static const mask blank = _ISblank; | |
^~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h:61:31: note: suggested alternative: ‘_S_black’ | |
static const mask blank = _ISblank; | |
^~~~~~~~ | |
_S_black | |
In file included from ../micropython/py/objfun.h:29:0, | |
from tests/../detail/micropython.h:9, | |
from tests/../detail/frompyobj.h:4, | |
from tests/../detail/callreturn.h:4, | |
from tests/../classwrapper.h:36, | |
from tests/module.cpp:1: | |
tests/../detail/frompyobj.h: In instantiation of ‘typename std::result_of<decltype (largeIntConv)(_mp_obj_int_t*)>::type upywrap::detail::mp_obj_get_uint(mp_const_obj_t, LargeIntToT) [with LargeIntToT = unsigned int (*)(const _mp_obj_int_t*); typename std::result_of<decltype (largeIntConv)(_mp_obj_int_t*)>::type = unsigned int; mp_const_obj_t = const void*]’: | |
tests/../detail/frompyobj.h:101:64: required from here | |
../micropython/py/obj.h:89:37: error: cast from ‘mp_const_obj_t {aka const void*}’ to ‘mp_int_t {aka int}’ loses precision [-fpermissive] | |
#define MP_OBJ_SMALL_INT_VALUE(o) (((mp_int_t)(o)) >> 1) | |
~^~~~~~~~~~~~~~ | |
tests/../detail/frompyobj.h:66:47: note: in expansion of macro ‘MP_OBJ_SMALL_INT_VALUE’ | |
return safe_integer_cast< return_t >( MP_OBJ_SMALL_INT_VALUE( arg ) ); | |
^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from tests/module.cpp:1:0: | |
tests/../classwrapper.h: In instantiation of ‘void upywrap::ClassWrapper<T>::InitImpl(Fun) [with const char* (* name)() = upywrap::ClassWrapper<upywrap::NewSimple>::FixedFuncNames::Init; Fun = upywrap::NewSimple* (*)(int); Ret = upywrap::NewSimple*; A = {int}; T = upywrap::NewSimple]’: | |
tests/../classwrapper.h:203:64: required from ‘void upywrap::ClassWrapper<T>::DefInit(T* (*)(A ...)) [with A = {int}; T = upywrap::NewSimple]’ | |
tests/module.cpp:129:47: required from here | |
tests/../classwrapper.h:519:21: error: invalid conversion from ‘void* (*)(const mp_obj_type_t*, mp_uint_t, mp_uint_t, void* const*) {aka void* (*)(const _mp_obj_type_t*, unsigned int, unsigned int, void* const*)}’ to ‘mp_make_new_fun_t {aka void* (*)(const _mp_obj_type_t*, long unsigned int, long unsigned int, void* const*)}’ [-fpermissive] | |
type.make_new = call_type::MakeNew; | |
~~~~~~~~~~~~~~^~~~~~~~~~~ | |
tests/../classwrapper.h: In instantiation of ‘void upywrap::ClassWrapper<T>::InitImpl(Fun) [with const char* (* name)() = upywrap::ClassWrapper<upywrap::SharedSimple>::FixedFuncNames::Init; Fun = std::shared_ptr<upywrap::SharedSimple> (*)(int); Ret = std::shared_ptr<upywrap::SharedSimple>; A = {int}; T = upywrap::SharedSimple]’: | |
tests/../classwrapper.h:210:82: required from ‘void upywrap::ClassWrapper<T>::DefInit(std::shared_ptr<_Tp> (*)(A ...)) [with A = {int}; T = upywrap::SharedSimple]’ | |
tests/module.cpp:133:53: required from here | |
tests/../classwrapper.h:519:21: error: invalid conversion from ‘void* (*)(const mp_obj_type_t*, mp_uint_t, mp_uint_t, void* const*) {aka void* (*)(const _mp_obj_type_t*, unsigned int, unsigned int, void* const*)}’ to ‘mp_make_new_fun_t {aka void* (*)(const _mp_obj_type_t*, long unsigned int, long unsigned int, void* const*)}’ [-fpermissive] | |
tests/../classwrapper.h: In instantiation of ‘void upywrap::ClassWrapper<T>::InitImpl(Fun) [with const char* (* name)() = upywrap::ClassWrapper<upywrap::Simple>::FixedFuncNames::Init; Fun = std::shared_ptr<upywrap::Simple> (*)(int); Ret = std::shared_ptr<upywrap::Simple>; A = {int}; T = upywrap::Simple]’: | |
tests/../classwrapper.h:210:82: required from ‘void upywrap::ClassWrapper<T>::DefInit(std::shared_ptr<_Tp> (*)(A ...)) [with A = {int}; T = upywrap::Simple]’ | |
tests/../classwrapper.h:197:14: required from ‘void upywrap::ClassWrapper<T>::DefInit() [with A = {int}; T = upywrap::Simple]’ | |
tests/module.cpp:117:26: required from here | |
tests/../classwrapper.h:519:21: error: invalid conversion from ‘void* (*)(const mp_obj_type_t*, mp_uint_t, mp_uint_t, void* const*) {aka void* (*)(const _mp_obj_type_t*, unsigned int, unsigned int, void* const*)}’ to ‘mp_make_new_fun_t {aka void* (*)(const _mp_obj_type_t*, long unsigned int, long unsigned int, void* const*)}’ [-fpermissive] | |
tests/../classwrapper.h: In instantiation of ‘void upywrap::ClassWrapper<T>::InitImpl(Fun) [with const char* (* name)() = upywrap::ClassWrapper<upywrap::Context>::FixedFuncNames::Init; Fun = std::shared_ptr<upywrap::Context> (*)(); Ret = std::shared_ptr<upywrap::Context>; A = {}; T = upywrap::Context]’: | |
tests/../classwrapper.h:210:82: required from ‘void upywrap::ClassWrapper<T>::DefInit(std::shared_ptr<_Tp> (*)(A ...)) [with A = {}; T = upywrap::Context]’ | |
tests/../classwrapper.h:197:14: required from ‘void upywrap::ClassWrapper<T>::DefInit() [with A = {}; T = upywrap::Context]’ | |
tests/module.cpp:137:21: required from here | |
tests/../classwrapper.h:519:21: error: invalid conversion from ‘void* (*)(const mp_obj_type_t*, mp_uint_t, mp_uint_t, void* const*) {aka void* (*)(const _mp_obj_type_t*, unsigned int, unsigned int, void* const*)}’ to ‘mp_make_new_fun_t {aka void* (*)(const _mp_obj_type_t*, long unsigned int, long unsigned int, void* const*)}’ [-fpermissive] | |
tests/../classwrapper.h: In instantiation of ‘void upywrap::ClassWrapper<T>::InitImpl(Fun) [with const char* (* name)() = upywrap::ClassWrapper<upywrap::Q>::FixedFuncNames::Init; Fun = std::shared_ptr<upywrap::Q> (*)(); Ret = std::shared_ptr<upywrap::Q>; A = {}; T = upywrap::Q]’: | |
tests/../classwrapper.h:210:82: required from ‘void upywrap::ClassWrapper<T>::DefInit(std::shared_ptr<_Tp> (*)(A ...)) [with A = {}; T = upywrap::Q]’ | |
tests/../classwrapper.h:197:14: required from ‘void upywrap::ClassWrapper<T>::DefInit() [with A = {}; T = upywrap::Q]’ | |
tests/module.cpp:141:21: required from here | |
tests/../classwrapper.h:519:21: error: invalid conversion from ‘void* (*)(const mp_obj_type_t*, mp_uint_t, mp_uint_t, void* const*) {aka void* (*)(const _mp_obj_type_t*, unsigned int, unsigned int, void* const*)}’ to ‘mp_make_new_fun_t {aka void* (*)(const _mp_obj_type_t*, long unsigned int, long unsigned int, void* const*)}’ [-fpermissive] | |
tests/../classwrapper.h: In instantiation of ‘void upywrap::ClassWrapper<T>::InitImpl(Fun) [with const char* (* name)() = upywrap::ClassWrapper<upywrap::NargsTest>::FixedFuncNames::Init; Fun = std::shared_ptr<upywrap::NargsTest> (*)(); Ret = std::shared_ptr<upywrap::NargsTest>; A = {}; T = upywrap::NargsTest]’: | |
tests/../classwrapper.h:210:82: required from ‘void upywrap::ClassWrapper<T>::DefInit(std::shared_ptr<_Tp> (*)(A ...)) [with A = {}; T = upywrap::NargsTest]’ | |
tests/../classwrapper.h:197:14: required from ‘void upywrap::ClassWrapper<T>::DefInit() [with A = {}; T = upywrap::NargsTest]’ | |
tests/../classwrapper.h:191:16: required from ‘void upywrap::ClassWrapper<T>::DefInit() [with T = upywrap::NargsTest]’ | |
tests/module.cpp:146:19: required from here | |
tests/../classwrapper.h:519:21: error: invalid conversion from ‘void* (*)(const mp_obj_type_t*, mp_uint_t, mp_uint_t, void* const*) {aka void* (*)(const _mp_obj_type_t*, unsigned int, unsigned int, void* const*)}’ to ‘mp_make_new_fun_t {aka void* (*)(const _mp_obj_type_t*, long unsigned int, long unsigned int, void* const*)}’ [-fpermissive] | |
In file included from tests/module.cpp:1:0: | |
tests/../classwrapper.h: In instantiation of ‘class upywrap::ClassWrapper<long long int>’: | |
tests/../classwrapper.h:769:52: required from ‘static T upywrap::ClassFromPyObj<T>::Convert(mp_obj_t) [with T = long long int; mp_obj_t = void*]’ | |
tests/../detail/frompyobj.h:500:47: required from ‘decltype (typename upywrap::SelectFromPyObj<T>::type:: Convert(arg)) upywrap::FromPy(mp_obj_t) [with T = long long int; decltype (typename upywrap::SelectFromPyObj<T>::type:: Convert(arg)) = long long int; typename upywrap::SelectFromPyObj<T>::type = upywrap::ClassFromPyObj<long long int>; mp_obj_t = void*]’ | |
tests/../detail/callreturn.h:33:55: required from ‘static void* upywrap::CallReturn<Ret, A>::Call(Fun, typename upywrap::project2nd<Args, void*>::type ...) [with Fun = upywrap::FunctionCall<long long int, long long int>*; Ret = long long int; A = {long long int}; mp_obj_t = void*]’ | |
tests/../functionwrapper.h:84:45: required from ‘static void* upywrap::FunctionWrapper::NativeCall<index, Ret, A>::Call(typename upywrap::project2nd<A, void*>::type ...) [with const char* (* index)() = F::Int64; Ret = long long int; A = {long long int}; mp_obj_t = void*]’ | |
tests/../functionwrapper.h:78:46: required from ‘static void* upywrap::FunctionWrapper::NativeCall<index, Ret, A>::CreateUPyFunction() [with const char* (* index)() = F::Int64; Ret = long long int; A = {long long int}; mp_obj_t = void*]’ | |
tests/../functionwrapper.h:60:83: required from ‘void upywrap::FunctionWrapper::Def(Ret (*)(A ...), typename upywrap::SelectRetvalConverter<Ret>::type) [with const char* (* name)() = F::Int64; Ret = long long int; A = {long long int}; typename upywrap::SelectRetvalConverter<Ret>::type = void* (*)(long long int)]’ | |
tests/module.cpp:199:31: required from here | |
tests/../classwrapper.h:128:10: error: creating pointer to member function of non-class type ‘long long int’ | |
void Def( Ret( T::*f ) ( A... ), typename SelectRetvalConverter< Ret >::type conv = nullptr ) | |
^~~ | |
tests/../classwrapper.h:134:10: error: creating pointer to member function of non-class type ‘const long long int’ | |
void Def( Ret( T::*f ) ( A... ) const, typename SelectRetvalConverter< Ret >::type conv = nullptr ) | |
^~~ | |
In file included from tests/module.cpp:1:0: | |
tests/../classwrapper.h:158:10: error: creating pointer to member function of non-class type ‘long long int’ | |
void Setter( const char* name, void( T::*f )( A ) ) | |
^~~~~~ | |
tests/../classwrapper.h:170:10: error: creating pointer to member function of non-class type ‘const long long int’ | |
void Getter( const char* name, A( T::*f )() const ) | |
^~~~~~ | |
tests/../classwrapper.h:183:10: error: creating pointer to member function of non-class type ‘const long long int’ | |
void Property( const char* name, void( T::*fset )( A ), A( T::*fget )() const ) | |
^~~~~~~~ | |
tests/../classwrapper.h:214:10: error: creating pointer to member function of non-class type ‘long long int’ | |
void DefExit( void( T::*f ) () ) | |
^~~~~~~ | |
tests/../classwrapper.h: In instantiation of ‘static void* upywrap::ClassToPyObj<T>::Convert(T) [with T = long long int; mp_obj_t = void*]’: | |
tests/../detail/topyobj.h:322:45: required from ‘void* upywrap::ToPy(const T&) [with T = long long int; mp_obj_t = void*]’ | |
tests/../detail/callreturn.h:35:18: required from ‘static void* upywrap::CallReturn<Ret, A>::Call(Fun, typename upywrap::project2nd<Args, void*>::type ...) [with Fun = upywrap::FunctionCall<long long int, long long int>*; Ret = long long int; A = {long long int}; mp_obj_t = void*]’ | |
tests/../functionwrapper.h:84:45: required from ‘static void* upywrap::FunctionWrapper::NativeCall<index, Ret, A>::Call(typename upywrap::project2nd<A, void*>::type ...) [with const char* (* index)() = F::Int64; Ret = long long int; A = {long long int}; mp_obj_t = void*]’ | |
tests/../functionwrapper.h:78:46: required from ‘static void* upywrap::FunctionWrapper::NativeCall<index, Ret, A>::CreateUPyFunction() [with const char* (* index)() = F::Int64; Ret = long long int; A = {long long int}; mp_obj_t = void*]’ | |
tests/../functionwrapper.h:60:83: required from ‘void upywrap::FunctionWrapper::Def(Ret (*)(A ...), typename upywrap::SelectRetvalConverter<Ret>::type) [with const char* (* name)() = F::Int64; Ret = long long int; A = {long long int}; typename upywrap::SelectRetvalConverter<Ret>::type = void* (*)(long long int)]’ | |
tests/module.cpp:199:31: required from here | |
tests/../classwrapper.h:784:7: error: static assertion failed: Conversion from value to ClassWrapper is not allowed, pass a reference or shared_ptr instead | |
static_assert( False< T >::value, "Conversion from value to ClassWrapper is not allowed, pass a reference or shared_ptr instead" ); | |
^~~~~~~~~~~~~ | |
In file included from tests/module.cpp:1:0: | |
tests/../classwrapper.h: In instantiation of ‘class upywrap::ClassWrapper<long long unsigned int>’: | |
tests/../classwrapper.h:769:52: required from ‘static T upywrap::ClassFromPyObj<T>::Convert(mp_obj_t) [with T = long long unsigned int; mp_obj_t = void*]’ | |
tests/../detail/frompyobj.h:500:47: required from ‘decltype (typename upywrap::SelectFromPyObj<T>::type:: Convert(arg)) upywrap::FromPy(mp_obj_t) [with T = long long unsigned int; decltype (typename upywrap::SelectFromPyObj<T>::type:: Convert(arg)) = long long unsigned int; typename upywrap::SelectFromPyObj<T>::type = upywrap::ClassFromPyObj<long long unsigned int>; mp_obj_t = void*]’ | |
tests/../detail/callreturn.h:33:55: required from ‘static void* upywrap::CallReturn<Ret, A>::Call(Fun, typename upywrap::project2nd<Args, void*>::type ...) [with Fun = upywrap::FunctionCall<long long unsigned int, long long unsigned int>*; Ret = long long unsigned int; A = {long long unsigned int}; mp_obj_t = void*]’ | |
tests/../functionwrapper.h:84:45: required from ‘static void* upywrap::FunctionWrapper::NativeCall<index, Ret, A>::Call(typename upywrap::project2nd<A, void*>::type ...) [with const char* (* index)() = F::Unsigned64; Ret = long long unsigned int; A = {long long unsigned int}; mp_obj_t = void*]’ | |
tests/../functionwrapper.h:78:46: required from ‘static void* upywrap::FunctionWrapper::NativeCall<index, Ret, A>::CreateUPyFunction() [with const char* (* index)() = F::Unsigned64; Ret = long long unsigned int; A = {long long unsigned int}; mp_obj_t = void*]’ | |
tests/../functionwrapper.h:60:83: required from ‘void upywrap::FunctionWrapper::Def(Ret (*)(A ...), typename upywrap::SelectRetvalConverter<Ret>::type) [with const char* (* name)() = F::Unsigned64; Ret = long long unsigned int; A = {long long unsigned int}; typename upywrap::SelectRetvalConverter<Ret>::type = void* (*)(long long unsigned int)]’ | |
tests/module.cpp:202:41: required from here | |
tests/../classwrapper.h:128:10: error: creating pointer to member function of non-class type ‘long long unsigned int’ | |
void Def( Ret( T::*f ) ( A... ), typename SelectRetvalConverter< Ret >::type conv = nullptr ) | |
^~~ | |
tests/../classwrapper.h:134:10: error: creating pointer to member function of non-class type ‘const long long unsigned int’ | |
void Def( Ret( T::*f ) ( A... ) const, typename SelectRetvalConverter< Ret >::type conv = nullptr ) | |
^~~ | |
In file included from tests/module.cpp:1:0: | |
tests/../classwrapper.h:158:10: error: creating pointer to member function of non-class type ‘long long unsigned int’ | |
void Setter( const char* name, void( T::*f )( A ) ) | |
^~~~~~ | |
tests/../classwrapper.h:170:10: error: creating pointer to member function of non-class type ‘const long long unsigned int’ | |
void Getter( const char* name, A( T::*f )() const ) | |
^~~~~~ | |
tests/../classwrapper.h:183:10: error: creating pointer to member function of non-class type ‘const long long unsigned int’ | |
void Property( const char* name, void( T::*fset )( A ), A( T::*fget )() const ) | |
^~~~~~~~ | |
tests/../classwrapper.h:214:10: error: creating pointer to member function of non-class type ‘long long unsigned int’ | |
void DefExit( void( T::*f ) () ) | |
^~~~~~~ | |
tests/../classwrapper.h: In instantiation of ‘static void* upywrap::ClassToPyObj<T>::Convert(T) [with T = long long unsigned int; mp_obj_t = void*]’: | |
tests/../detail/topyobj.h:322:45: required from ‘void* upywrap::ToPy(const T&) [with T = long long unsigned int; mp_obj_t = void*]’ | |
tests/../detail/callreturn.h:35:18: required from ‘static void* upywrap::CallReturn<Ret, A>::Call(Fun, typename upywrap::project2nd<Args, void*>::type ...) [with Fun = upywrap::FunctionCall<long long unsigned int, long long unsigned int>*; Ret = long long unsigned int; A = {long long unsigned int}; mp_obj_t = void*]’ | |
tests/../functionwrapper.h:84:45: required from ‘static void* upywrap::FunctionWrapper::NativeCall<index, Ret, A>::Call(typename upywrap::project2nd<A, void*>::type ...) [with const char* (* index)() = F::Unsigned64; Ret = long long unsigned int; A = {long long unsigned int}; mp_obj_t = void*]’ | |
tests/../functionwrapper.h:78:46: required from ‘static void* upywrap::FunctionWrapper::NativeCall<index, Ret, A>::CreateUPyFunction() [with const char* (* index)() = F::Unsigned64; Ret = long long unsigned int; A = {long long unsigned int}; mp_obj_t = void*]’ | |
tests/../functionwrapper.h:60:83: required from ‘void upywrap::FunctionWrapper::Def(Ret (*)(A ...), typename upywrap::SelectRetvalConverter<Ret>::type) [with const char* (* name)() = F::Unsigned64; Ret = long long unsigned int; A = {long long unsigned int}; typename upywrap::SelectRetvalConverter<Ret>::type = void* (*)(long long unsigned int)]’ | |
tests/module.cpp:202:41: required from here | |
tests/../classwrapper.h:784:7: error: static assertion failed: Conversion from value to ClassWrapper is not allowed, pass a reference or shared_ptr instead | |
static_assert( False< T >::value, "Conversion from value to ClassWrapper is not allowed, pass a reference or shared_ptr instead" ); | |
^~~~~~~~~~~~~ | |
cc1plus: all warnings being treated as errors | |
make: *** [sharedlib] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment