You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lib/zenoh-pico/include/zenoh-pico/net/query.h:36:1: note: in expansion of macro '_Z_REFCOUNT_DEFINE'
_Z_REFCOUNT_DEFINE(_z_query, _z_query)
^~~~~~~~~~~~~~~~~~
lib/zenoh-pico/include/zenoh-pico/net/query.h: In function '_z_query_rc_t _z_query_rc_clone(_z_query_rc_t*)':
lib/zenoh-pico/include/zenoh-pico/collections/refcount.h:47:97: error: no matching function for call to 'atomic_fetch_add_explicit(std::atomic<unsigned int>*, int, std::memory_order)'
#define _ZP_RC_OP_INCR_CNT _z_atomic_fetch_add_explicit(&p->in->_cnt, 1, _z_memory_order_relaxed);
^
lib/zenoh-pico/include/zenoh-pico/collections/refcount.h:116:9: note: in expansion of macro '_ZP_RC_OP_INCR_CNT'
_ZP_RC_OP_INCR_CNT \
^~~~~~~~~~~~~~~~~~
lib/zenoh-pico/include/zenoh-pico/net/query.h:36:1: note: in expansion of macro '_Z_REFCOUNT_DEFINE'
_Z_REFCOUNT_DEFINE(_z_query, _z_query)
^~~~~~~~~~~~~~~~~~
In file included from lib/zenoh-pico/include/zenoh-pico/collections/refcount.h:34,
from lib/zenoh-pico/include/zenoh-pico/session/session.h:23,
from lib/zenoh-pico/include/zenoh-pico/net/session.h:24,
from lib/zenoh-pico/include/zenoh-pico/net/publish.h:18,
from lib/zenoh-pico/include/zenoh-pico/api/types.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/primitives.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/macros.h:17,
from lib/zenoh-pico/include/zenoh-pico.h:25,
from src/main.cpp:16:
/home/lieven/.platformio/packages/toolchain-xtensa-esp32/xtensa-esp32-elf/include/c++/8.4.0/atomic:1214:5: note: candidate: 'template<class _ITp> _ITp std::atomic_fetch_add_explicit(std::__atomic_base<_ITp>*, _ITp, std::memory_order)'
atomic_fetch_add_explicit(__atomic_base<_ITp>* __a, _ITp __i,
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/lieven/.platformio/packages/toolchain-xtensa-esp32/xtensa-esp32-elf/include/c++/8.4.0/atomic:1214:5: note: template argument deduction/substitution failed:
In file included from lib/zenoh-pico/include/zenoh-pico/session/session.h:23,
from lib/zenoh-pico/include/zenoh-pico/net/session.h:24,
from lib/zenoh-pico/include/zenoh-pico/net/publish.h:18,
from lib/zenoh-pico/include/zenoh-pico/api/types.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/primitives.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/macros.h:17,
from lib/zenoh-pico/include/zenoh-pico.h:25,
from src/main.cpp:16:
lib/zenoh-pico/include/zenoh-pico/collections/refcount.h:47:97: note: deduced conflicting types for parameter '_ITp' ('unsigned int' and 'int')
#define _ZP_RC_OP_INCR_CNT _z_atomic_fetch_add_explicit(&p->in->_cnt, 1, _z_memory_order_relaxed);
^
lib/zenoh-pico/include/zenoh-pico/collections/refcount.h:116:9: note: in expansion of macro '_ZP_RC_OP_INCR_CNT'
_ZP_RC_OP_INCR_CNT \
^~~~~~~~~~~~~~~~~~
lib/zenoh-pico/include/zenoh-pico/net/query.h:36:1: note: in expansion of macro '_Z_REFCOUNT_DEFINE'
_Z_REFCOUNT_DEFINE(_z_query, _z_query)
^~~~~~~~~~~~~~~~~~
In file included from lib/zenoh-pico/include/zenoh-pico/collections/refcount.h:34,
from lib/zenoh-pico/include/zenoh-pico/session/session.h:23,
from lib/zenoh-pico/include/zenoh-pico/net/session.h:24,
from lib/zenoh-pico/include/zenoh-pico/net/publish.h:18,
from lib/zenoh-pico/include/zenoh-pico/api/types.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/primitives.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/macros.h:17,
from lib/zenoh-pico/include/zenoh-pico.h:25,
from src/main.cpp:16:
/home/lieven/.platformio/packages/toolchain-xtensa-esp32/xtensa-esp32-elf/include/c++/8.4.0/atomic:1220:5: note: candidate: 'template<class _ITp> _ITp std::atomic_fetch_add_explicit(volatile std::__atomic_base<_ITp>*, _ITp, std::memory_order)'
atomic_fetch_add_explicit(volatile __atomic_base<_ITp>* __a, _ITp __i,
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/lieven/.platformio/packages/toolchain-xtensa-esp32/xtensa-esp32-elf/include/c++/8.4.0/atomic:1220:5: note: template argument deduction/substitution failed:
In file included from lib/zenoh-pico/include/zenoh-pico/session/session.h:23,
from lib/zenoh-pico/include/zenoh-pico/net/session.h:24,
from lib/zenoh-pico/include/zenoh-pico/net/publish.h:18,
from lib/zenoh-pico/include/zenoh-pico/api/types.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/primitives.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/macros.h:17,
from lib/zenoh-pico/include/zenoh-pico.h:25,
from src/main.cpp:16:
lib/zenoh-pico/include/zenoh-pico/collections/refcount.h:47:97: note: deduced conflicting types for parameter '_ITp' ('unsigned int' and 'int')
#define _ZP_RC_OP_INCR_CNT _z_atomic_fetch_add_explicit(&p->in->_cnt, 1, _z_memory_order_relaxed);
^
lib/zenoh-pico/include/zenoh-pico/collections/refcount.h:116:9: note: in expansion of macro '_ZP_RC_OP_INCR_CNT'
_ZP_RC_OP_INCR_CNT \
^~~~~~~~~~~~~~~~~~
lib/zenoh-pico/include/zenoh-pico/net/query.h:36:1: note: in expansion of macro '_Z_REFCOUNT_DEFINE'
_Z_REFCOUNT_DEFINE(_z_query, _z_query)
^~~~~~~~~~~~~~~~~~
In file included from lib/zenoh-pico/include/zenoh-pico/collections/refcount.h:34,
from lib/zenoh-pico/include/zenoh-pico/session/session.h:23,
from lib/zenoh-pico/include/zenoh-pico/net/session.h:24,
from lib/zenoh-pico/include/zenoh-pico/net/publish.h:18,
from lib/zenoh-pico/include/zenoh-pico/api/types.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/primitives.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/macros.h:17,
from lib/zenoh-pico/include/zenoh-pico.h:25,
from src/main.cpp:16:
/home/lieven/.platformio/packages/toolchain-xtensa-esp32/xtensa-esp32-elf/include/c++/8.4.0/atomic:1326:5: note: candidate: 'template<class _ITp> _ITp* std::atomic_fetch_add_explicit(std::atomic<_Tp*>*, std::ptrdiff_t, std::memory_order)'
atomic_fetch_add_explicit(atomic<_ITp*>* __a, ptrdiff_t __d,
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/lieven/.platformio/packages/toolchain-xtensa-esp32/xtensa-esp32-elf/include/c++/8.4.0/atomic:1326:5: note: template argument deduction/substitution failed:
In file included from lib/zenoh-pico/include/zenoh-pico/session/session.h:23,
from lib/zenoh-pico/include/zenoh-pico/net/session.h:24,
from lib/zenoh-pico/include/zenoh-pico/net/publish.h:18,
from lib/zenoh-pico/include/zenoh-pico/api/types.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/primitives.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/macros.h:17,
from lib/zenoh-pico/include/zenoh-pico.h:25,
from src/main.cpp:16:
lib/zenoh-pico/include/zenoh-pico/collections/refcount.h:47:97: note: mismatched types '_Tp*' and 'unsigned int'
#define _ZP_RC_OP_INCR_CNT _z_atomic_fetch_add_explicit(&p->in->_cnt, 1, _z_memory_order_relaxed);
^
lib/zenoh-pico/include/zenoh-pico/collections/refcount.h:116:9: note: in expansion of macro '_ZP_RC_OP_INCR_CNT'
_ZP_RC_OP_INCR_CNT \
^~~~~~~~~~~~~~~~~~
lib/zenoh-pico/include/zenoh-pico/net/query.h:36:1: note: in expansion of macro '_Z_REFCOUNT_DEFINE'
_Z_REFCOUNT_DEFINE(_z_query, _z_query)
^~~~~~~~~~~~~~~~~~
In file included from lib/zenoh-pico/include/zenoh-pico/collections/refcount.h:34,
from lib/zenoh-pico/include/zenoh-pico/session/session.h:23,
from lib/zenoh-pico/include/zenoh-pico/net/session.h:24,
from lib/zenoh-pico/include/zenoh-pico/net/publish.h:18,
from lib/zenoh-pico/include/zenoh-pico/api/types.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/primitives.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/macros.h:17,
from lib/zenoh-pico/include/zenoh-pico.h:25,
from src/main.cpp:16:
/home/lieven/.platformio/packages/toolchain-xtensa-esp32/xtensa-esp32-elf/include/c++/8.4.0/atomic:1332:5: note: candidate: 'template<class _ITp> _ITp* std::atomic_fetch_add_explicit(volatile std::atomic<_Tp*>*, std::ptrdiff_t, std::memory_order)'
atomic_fetch_add_explicit(volatile atomic<_ITp*>* __a, ptrdiff_t __d,
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/lieven/.platformio/packages/toolchain-xtensa-esp32/xtensa-esp32-elf/include/c++/8.4.0/atomic:1332:5: note: template argument deduction/substitution failed:
In file included from lib/zenoh-pico/include/zenoh-pico/session/session.h:23,
from lib/zenoh-pico/include/zenoh-pico/net/session.h:24,
from lib/zenoh-pico/include/zenoh-pico/net/publish.h:18,
from lib/zenoh-pico/include/zenoh-pico/api/types.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/primitives.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/macros.h:17,
from lib/zenoh-pico/include/zenoh-pico.h:25,
from src/main.cpp:16:
lib/zenoh-pico/include/zenoh-pico/collections/refcount.h:47:97: note: mismatched types '_Tp*' and 'unsigned int'
#define _ZP_RC_OP_INCR_CNT _z_atomic_fetch_add_explicit(&p->in->_cnt, 1, _z_memory_order_relaxed);
^
lib/zenoh-pico/include/zenoh-pico/collections/refcount.h:116:9: note: in expansion of macro '_ZP_RC_OP_INCR_CNT'
_ZP_RC_OP_INCR_CNT \
^~~~~~~~~~~~~~~~~~
lib/zenoh-pico/include/zenoh-pico/net/query.h:36:1: note: in expansion of macro '_Z_REFCOUNT_DEFINE'
_Z_REFCOUNT_DEFINE(_z_query, _z_query)
^~~~~~~~~~~~~~~~~~
lib/zenoh-pico/include/zenoh-pico/net/query.h: In function '_z_query_rc_t* _z_query_rc_clone_as_ptr(_z_query_rc_t*)':
lib/zenoh-pico/include/zenoh-pico/collections/refcount.h:47:97: error: no matching function for call to 'atomic_fetch_add_explicit(std::atomic<unsigned int>*, int, std::memory_order)'
#define _ZP_RC_OP_INCR_CNT _z_atomic_fetch_add_explicit(&p->in->_cnt, 1, _z_memory_order_relaxed);
^
lib/zenoh-pico/include/zenoh-pico/collections/refcount.h:123:13: note: in expansion of macro '_ZP_RC_OP_INCR_CNT'
_ZP_RC_OP_INCR_CNT \
^~~~~~~~~~~~~~~~~~
lib/zenoh-pico/include/zenoh-pico/net/query.h:36:1: note: in expansion of macro '_Z_REFCOUNT_DEFINE'
_Z_REFCOUNT_DEFINE(_z_query, _z_query)
^~~~~~~~~~~~~~~~~~
In file included from lib/zenoh-pico/include/zenoh-pico/collections/refcount.h:34,
from lib/zenoh-pico/include/zenoh-pico/session/session.h:23,
from lib/zenoh-pico/include/zenoh-pico/net/session.h:24,
from lib/zenoh-pico/include/zenoh-pico/net/publish.h:18,
from lib/zenoh-pico/include/zenoh-pico/api/types.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/primitives.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/macros.h:17,
from lib/zenoh-pico/include/zenoh-pico.h:25,
from src/main.cpp:16:
/home/lieven/.platformio/packages/toolchain-xtensa-esp32/xtensa-esp32-elf/include/c++/8.4.0/atomic:1214:5: note: candidate: 'template<class _ITp> _ITp std::atomic_fetch_add_explicit(std::__atomic_base<_ITp>*, _ITp, std::memory_order)'
atomic_fetch_add_explicit(__atomic_base<_ITp>* __a, _ITp __i,
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/lieven/.platformio/packages/toolchain-xtensa-esp32/xtensa-esp32-elf/include/c++/8.4.0/atomic:1214:5: note: template argument deduction/substitution failed:
In file included from lib/zenoh-pico/include/zenoh-pico/session/session.h:23,
from lib/zenoh-pico/include/zenoh-pico/net/session.h:24,
from lib/zenoh-pico/include/zenoh-pico/net/publish.h:18,
from lib/zenoh-pico/include/zenoh-pico/api/types.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/primitives.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/macros.h:17,
from lib/zenoh-pico/include/zenoh-pico.h:25,
from src/main.cpp:16:
lib/zenoh-pico/include/zenoh-pico/collections/refcount.h:47:97: note: deduced conflicting types for parameter '_ITp' ('unsigned int' and 'int')
#define _ZP_RC_OP_INCR_CNT _z_atomic_fetch_add_explicit(&p->in->_cnt, 1, _z_memory_order_relaxed);
^
lib/zenoh-pico/include/zenoh-pico/collections/refcount.h:123:13: note: in expansion of macro '_ZP_RC_OP_INCR_CNT'
_ZP_RC_OP_INCR_CNT \
^~~~~~~~~~~~~~~~~~
lib/zenoh-pico/include/zenoh-pico/net/query.h:36:1: note: in expansion of macro '_Z_REFCOUNT_DEFINE'
_Z_REFCOUNT_DEFINE(_z_query, _z_query)
^~~~~~~~~~~~~~~~~~
In file included from lib/zenoh-pico/include/zenoh-pico/collections/refcount.h:34,
from lib/zenoh-pico/include/zenoh-pico/session/session.h:23,
from lib/zenoh-pico/include/zenoh-pico/net/session.h:24,
from lib/zenoh-pico/include/zenoh-pico/net/publish.h:18,
from lib/zenoh-pico/include/zenoh-pico/api/types.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/primitives.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/macros.h:17,
from lib/zenoh-pico/include/zenoh-pico.h:25,
from src/main.cpp:16:
/home/lieven/.platformio/packages/toolchain-xtensa-esp32/xtensa-esp32-elf/include/c++/8.4.0/atomic:1220:5: note: candidate: 'template<class _ITp> _ITp std::atomic_fetch_add_explicit(volatile std::__atomic_base<_ITp>*, _ITp, std::memory_order)'
atomic_fetch_add_explicit(volatile __atomic_base<_ITp>* __a, _ITp __i,
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/lieven/.platformio/packages/toolchain-xtensa-esp32/xtensa-esp32-elf/include/c++/8.4.0/atomic:1220:5: note: template argument deduction/substitution failed:
In file included from lib/zenoh-pico/include/zenoh-pico/session/session.h:23,
from lib/zenoh-pico/include/zenoh-pico/net/session.h:24,
from lib/zenoh-pico/include/zenoh-pico/net/publish.h:18,
from lib/zenoh-pico/include/zenoh-pico/api/types.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/primitives.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/macros.h:17,
from lib/zenoh-pico/include/zenoh-pico.h:25,
from src/main.cpp:16:
lib/zenoh-pico/include/zenoh-pico/collections/refcount.h:47:97: note: deduced conflicting types for parameter '_ITp' ('unsigned int' and 'int')
#define _ZP_RC_OP_INCR_CNT _z_atomic_fetch_add_explicit(&p->in->_cnt, 1, _z_memory_order_relaxed);
^
lib/zenoh-pico/include/zenoh-pico/collections/refcount.h:123:13: note: in expansion of macro '_ZP_RC_OP_INCR_CNT'
_ZP_RC_OP_INCR_CNT \
^~~~~~~~~~~~~~~~~~
lib/zenoh-pico/include/zenoh-pico/net/query.h:36:1: note: in expansion of macro '_Z_REFCOUNT_DEFINE'
_Z_REFCOUNT_DEFINE(_z_query, _z_query)
^~~~~~~~~~~~~~~~~~
In file included from lib/zenoh-pico/include/zenoh-pico/collections/refcount.h:34,
from lib/zenoh-pico/include/zenoh-pico/session/session.h:23,
from lib/zenoh-pico/include/zenoh-pico/net/session.h:24,
from lib/zenoh-pico/include/zenoh-pico/net/publish.h:18,
from lib/zenoh-pico/include/zenoh-pico/api/types.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/primitives.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/macros.h:17,
from lib/zenoh-pico/include/zenoh-pico.h:25,
from src/main.cpp:16:
/home/lieven/.platformio/packages/toolchain-xtensa-esp32/xtensa-esp32-elf/include/c++/8.4.0/atomic:1326:5: note: candidate: 'template<class _ITp> _ITp* std::atomic_fetch_add_explicit(std::atomic<_Tp*>*, std::ptrdiff_t, std::memory_order)'
atomic_fetch_add_explicit(atomic<_ITp*>* __a, ptrdiff_t __d,
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/lieven/.platformio/packages/toolchain-xtensa-esp32/xtensa-esp32-elf/include/c++/8.4.0/atomic:1326:5: note: template argument deduction/substitution failed:
In file included from lib/zenoh-pico/include/zenoh-pico/session/session.h:23,
from lib/zenoh-pico/include/zenoh-pico/net/session.h:24,
from lib/zenoh-pico/include/zenoh-pico/net/publish.h:18,
from lib/zenoh-pico/include/zenoh-pico/api/types.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/primitives.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/macros.h:17,
from lib/zenoh-pico/include/zenoh-pico.h:25,
from src/main.cpp:16:
lib/zenoh-pico/include/zenoh-pico/collections/refcount.h:47:97: note: mismatched types '_Tp*' and 'unsigned int'
#define _ZP_RC_OP_INCR_CNT _z_atomic_fetch_add_explicit(&p->in->_cnt, 1, _z_memory_order_relaxed);
^
lib/zenoh-pico/include/zenoh-pico/collections/refcount.h:123:13: note: in expansion of macro '_ZP_RC_OP_INCR_CNT'
_ZP_RC_OP_INCR_CNT \
^~~~~~~~~~~~~~~~~~
lib/zenoh-pico/include/zenoh-pico/net/query.h:36:1: note: in expansion of macro '_Z_REFCOUNT_DEFINE'
_Z_REFCOUNT_DEFINE(_z_query, _z_query)
^~~~~~~~~~~~~~~~~~
In file included from lib/zenoh-pico/include/zenoh-pico/collections/refcount.h:34,
from lib/zenoh-pico/include/zenoh-pico/session/session.h:23,
from lib/zenoh-pico/include/zenoh-pico/net/session.h:24,
from lib/zenoh-pico/include/zenoh-pico/net/publish.h:18,
from lib/zenoh-pico/include/zenoh-pico/api/types.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/primitives.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/macros.h:17,
from lib/zenoh-pico/include/zenoh-pico.h:25,
from src/main.cpp:16:
/home/lieven/.platformio/packages/toolchain-xtensa-esp32/xtensa-esp32-elf/include/c++/8.4.0/atomic:1332:5: note: candidate: 'template<class _ITp> _ITp* std::atomic_fetch_add_explicit(volatile std::atomic<_Tp*>*, std::ptrdiff_t, std::memory_order)'
atomic_fetch_add_explicit(volatile atomic<_ITp*>* __a, ptrdiff_t __d,
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/lieven/.platformio/packages/toolchain-xtensa-esp32/xtensa-esp32-elf/include/c++/8.4.0/atomic:1332:5: note: template argument deduction/substitution failed:
In file included from lib/zenoh-pico/include/zenoh-pico/session/session.h:23,
from lib/zenoh-pico/include/zenoh-pico/net/session.h:24,
from lib/zenoh-pico/include/zenoh-pico/net/publish.h:18,
from lib/zenoh-pico/include/zenoh-pico/api/types.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/primitives.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/macros.h:17,
from lib/zenoh-pico/include/zenoh-pico.h:25,
from src/main.cpp:16:
lib/zenoh-pico/include/zenoh-pico/collections/refcount.h:47:97: note: mismatched types '_Tp*' and 'unsigned int'
#define _ZP_RC_OP_INCR_CNT _z_atomic_fetch_add_explicit(&p->in->_cnt, 1, _z_memory_order_relaxed);
^
lib/zenoh-pico/include/zenoh-pico/collections/refcount.h:123:13: note: in expansion of macro '_ZP_RC_OP_INCR_CNT'
_ZP_RC_OP_INCR_CNT \
^~~~~~~~~~~~~~~~~~
lib/zenoh-pico/include/zenoh-pico/net/query.h:36:1: note: in expansion of macro '_Z_REFCOUNT_DEFINE'
_Z_REFCOUNT_DEFINE(_z_query, _z_query)
^~~~~~~~~~~~~~~~~~
lib/zenoh-pico/include/zenoh-pico/net/query.h: In function 'bool _z_query_rc_drop(_z_query_rc_t*)':
lib/zenoh-pico/include/zenoh-pico/collections/refcount.h:48:101: error: no matching function for call to 'atomic_fetch_sub_explicit(std::atomic<unsigned int>*, int, std::memory_order)'
#define _ZP_RC_OP_DECR_AND_CMP _z_atomic_fetch_sub_explicit(&p->in->_cnt, 1, _z_memory_order_release) > 1
^
lib/zenoh-pico/include/zenoh-pico/collections/refcount.h:134:13: note: in expansion of macro '_ZP_RC_OP_DECR_AND_CMP'
if (_ZP_RC_OP_DECR_AND_CMP) { \
^~~~~~~~~~~~~~~~~~~~~~
lib/zenoh-pico/include/zenoh-pico/net/query.h:36:1: note: in expansion of macro '_Z_REFCOUNT_DEFINE'
_Z_REFCOUNT_DEFINE(_z_query, _z_query)
^~~~~~~~~~~~~~~~~~
In file included from lib/zenoh-pico/include/zenoh-pico/collections/refcount.h:34,
from lib/zenoh-pico/include/zenoh-pico/session/session.h:23,
from lib/zenoh-pico/include/zenoh-pico/net/session.h:24,
from lib/zenoh-pico/include/zenoh-pico/net/publish.h:18,
from lib/zenoh-pico/include/zenoh-pico/api/types.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/primitives.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/macros.h:17,
from lib/zenoh-pico/include/zenoh-pico.h:25,
from src/main.cpp:16:
/home/lieven/.platformio/packages/toolchain-xtensa-esp32/xtensa-esp32-elf/include/c++/8.4.0/atomic:1226:5: note: candidate: 'template<class _ITp> _ITp std::atomic_fetch_sub_explicit(std::__atomic_base<_ITp>*, _ITp, std::memory_order)'
atomic_fetch_sub_explicit(__atomic_base<_ITp>* __a, _ITp __i,
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/lieven/.platformio/packages/toolchain-xtensa-esp32/xtensa-esp32-elf/include/c++/8.4.0/atomic:1226:5: note: template argument deduction/substitution failed:
In file included from lib/zenoh-pico/include/zenoh-pico/session/session.h:23,
from lib/zenoh-pico/include/zenoh-pico/net/session.h:24,
from lib/zenoh-pico/include/zenoh-pico/net/publish.h:18,
from lib/zenoh-pico/include/zenoh-pico/api/types.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/primitives.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/macros.h:17,
from lib/zenoh-pico/include/zenoh-pico.h:25,
from src/main.cpp:16:
lib/zenoh-pico/include/zenoh-pico/collections/refcount.h:48:101: note: deduced conflicting types for parameter '_ITp' ('unsigned int' and 'int')
#define _ZP_RC_OP_DECR_AND_CMP _z_atomic_fetch_sub_explicit(&p->in->_cnt, 1, _z_memory_order_release) > 1
^
lib/zenoh-pico/include/zenoh-pico/collections/refcount.h:134:13: note: in expansion of macro '_ZP_RC_OP_DECR_AND_CMP'
if (_ZP_RC_OP_DECR_AND_CMP) { \
^~~~~~~~~~~~~~~~~~~~~~
lib/zenoh-pico/include/zenoh-pico/net/query.h:36:1: note: in expansion of macro '_Z_REFCOUNT_DEFINE'
_Z_REFCOUNT_DEFINE(_z_query, _z_query)
^~~~~~~~~~~~~~~~~~
In file included from lib/zenoh-pico/include/zenoh-pico/collections/refcount.h:34,
from lib/zenoh-pico/include/zenoh-pico/session/session.h:23,
from lib/zenoh-pico/include/zenoh-pico/net/session.h:24,
from lib/zenoh-pico/include/zenoh-pico/net/publish.h:18,
from lib/zenoh-pico/include/zenoh-pico/api/types.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/primitives.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/macros.h:17,
from lib/zenoh-pico/include/zenoh-pico.h:25,
from src/main.cpp:16:
/home/lieven/.platformio/packages/toolchain-xtensa-esp32/xtensa-esp32-elf/include/c++/8.4.0/atomic:1232:5: note: candidate: 'template<class _ITp> _ITp std::atomic_fetch_sub_explicit(volatile std::__atomic_base<_ITp>*, _ITp, std::memory_order)'
atomic_fetch_sub_explicit(volatile __atomic_base<_ITp>* __a, _ITp __i,
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/lieven/.platformio/packages/toolchain-xtensa-esp32/xtensa-esp32-elf/include/c++/8.4.0/atomic:1232:5: note: template argument deduction/substitution failed:
In file included from lib/zenoh-pico/include/zenoh-pico/session/session.h:23,
from lib/zenoh-pico/include/zenoh-pico/net/session.h:24,
from lib/zenoh-pico/include/zenoh-pico/net/publish.h:18,
from lib/zenoh-pico/include/zenoh-pico/api/types.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/primitives.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/macros.h:17,
from lib/zenoh-pico/include/zenoh-pico.h:25,
from src/main.cpp:16:
lib/zenoh-pico/include/zenoh-pico/collections/refcount.h:48:101: note: deduced conflicting types for parameter '_ITp' ('unsigned int' and 'int')
#define _ZP_RC_OP_DECR_AND_CMP _z_atomic_fetch_sub_explicit(&p->in->_cnt, 1, _z_memory_order_release) > 1
^
lib/zenoh-pico/include/zenoh-pico/collections/refcount.h:134:13: note: in expansion of macro '_ZP_RC_OP_DECR_AND_CMP'
if (_ZP_RC_OP_DECR_AND_CMP) { \
^~~~~~~~~~~~~~~~~~~~~~
lib/zenoh-pico/include/zenoh-pico/net/query.h:36:1: note: in expansion of macro '_Z_REFCOUNT_DEFINE'
_Z_REFCOUNT_DEFINE(_z_query, _z_query)
^~~~~~~~~~~~~~~~~~
In file included from lib/zenoh-pico/include/zenoh-pico/collections/refcount.h:34,
from lib/zenoh-pico/include/zenoh-pico/session/session.h:23,
from lib/zenoh-pico/include/zenoh-pico/net/session.h:24,
from lib/zenoh-pico/include/zenoh-pico/net/publish.h:18,
from lib/zenoh-pico/include/zenoh-pico/api/types.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/primitives.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/macros.h:17,
from lib/zenoh-pico/include/zenoh-pico.h:25,
from src/main.cpp:16:
/home/lieven/.platformio/packages/toolchain-xtensa-esp32/xtensa-esp32-elf/include/c++/8.4.0/atomic:1348:5: note: candidate: 'template<class _ITp> _ITp* std::atomic_fetch_sub_explicit(volatile std::atomic<_Tp*>*, std::ptrdiff_t, std::memory_order)'
atomic_fetch_sub_explicit(volatile atomic<_ITp*>* __a,
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/lieven/.platformio/packages/toolchain-xtensa-esp32/xtensa-esp32-elf/include/c++/8.4.0/atomic:1348:5: note: template argument deduction/substitution failed:
In file included from lib/zenoh-pico/include/zenoh-pico/session/session.h:23,
from lib/zenoh-pico/include/zenoh-pico/net/session.h:24,
from lib/zenoh-pico/include/zenoh-pico/net/publish.h:18,
from lib/zenoh-pico/include/zenoh-pico/api/types.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/primitives.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/macros.h:17,
from lib/zenoh-pico/include/zenoh-pico.h:25,
from src/main.cpp:16:
lib/zenoh-pico/include/zenoh-pico/collections/refcount.h:48:101: note: mismatched types '_Tp*' and 'unsigned int'
#define _ZP_RC_OP_DECR_AND_CMP _z_atomic_fetch_sub_explicit(&p->in->_cnt, 1, _z_memory_order_release) > 1
^
lib/zenoh-pico/include/zenoh-pico/collections/refcount.h:134:13: note: in expansion of macro '_ZP_RC_OP_DECR_AND_CMP'
if (_ZP_RC_OP_DECR_AND_CMP) { \
^~~~~~~~~~~~~~~~~~~~~~
lib/zenoh-pico/include/zenoh-pico/net/query.h:36:1: note: in expansion of macro '_Z_REFCOUNT_DEFINE'
_Z_REFCOUNT_DEFINE(_z_query, _z_query)
^~~~~~~~~~~~~~~~~~
In file included from lib/zenoh-pico/include/zenoh-pico/collections/refcount.h:34,
from lib/zenoh-pico/include/zenoh-pico/session/session.h:23,
from lib/zenoh-pico/include/zenoh-pico/net/session.h:24,
from lib/zenoh-pico/include/zenoh-pico/net/publish.h:18,
from lib/zenoh-pico/include/zenoh-pico/api/types.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/primitives.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/macros.h:17,
from lib/zenoh-pico/include/zenoh-pico.h:25,
from src/main.cpp:16:
/home/lieven/.platformio/packages/toolchain-xtensa-esp32/xtensa-esp32-elf/include/c++/8.4.0/atomic:1354:5: note: candidate: 'template<class _ITp> _ITp* std::atomic_fetch_sub_explicit(std::atomic<_Tp*>*, std::ptrdiff_t, std::memory_order)'
atomic_fetch_sub_explicit(atomic<_ITp*>* __a, ptrdiff_t __d,
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/lieven/.platformio/packages/toolchain-xtensa-esp32/xtensa-esp32-elf/include/c++/8.4.0/atomic:1354:5: note: template argument deduction/substitution failed:
In file included from lib/zenoh-pico/include/zenoh-pico/session/session.h:23,
from lib/zenoh-pico/include/zenoh-pico/net/session.h:24,
from lib/zenoh-pico/include/zenoh-pico/net/publish.h:18,
from lib/zenoh-pico/include/zenoh-pico/api/types.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/primitives.h:21,
from lib/zenoh-pico/include/zenoh-pico/api/macros.h:17,
from lib/zenoh-pico/include/zenoh-pico.h:25,
from src/main.cpp:16:
lib/zenoh-pico/include/zenoh-pico/collections/refcount.h:48:101: note: mismatched types '_Tp*' and 'unsigned int'
#define _ZP_RC_OP_DECR_AND_CMP _z_atomic_fetch_sub_explicit(&p->in->_cnt, 1, _z_memory_order_release) > 1
^
lib/zenoh-pico/include/zenoh-pico/collections/refcount.h:134:13: note: in expansion of macro '_ZP_RC_OP_DECR_AND_CMP'
if (_ZP_RC_OP_DECR_AND_CMP) { \
^~~~~~~~~~~~~~~~~~~~~~
lib/zenoh-pico/include/zenoh-pico/net/query.h:36:1: note: in expansion of macro '_Z_REFCOUNT_DEFINE'
_Z_REFCOUNT_DEFINE(_z_query, _z_query)
^~~~~~~~~~~~~~~~~~
Compiling .pio/build/esp32doit-devkit-v1/lib6e1/zenoh-pico/link/multicast/bt.o
Compiling .pio/build/esp32doit-devkit-v1/lib6e1/zenoh-pico/link/multicast/udp.o
Compiling .pio/build/esp32doit-devkit-v1/lib6e1/zenoh-pico/link/unicast/serial.o
Compiling .pio/build/esp32doit-devkit-v1/lib6e1/zenoh-pico/link/unicast/tcp.o
Compiling .pio/build/esp32doit-devkit-v1/lib6e1/zenoh-pico/link/unicast/udp.o
Compiling .pio/build/esp32doit-devkit-v1/lib6e1/zenoh-pico/link/unicast/ws.o
*** [.pio/build/esp32doit-devkit-v1/src/main.o] Error 1
Compiling .pio/build/esp32doit-devkit-v1/lib6e1/zenoh-pico/net/config.o
===================================================== [FAILED] Took 15.22 seconds =====================================================
* The terminal process "platformio 'run'" terminated with exit code: 1.
Describe the bug
Latest version doesn´t compile any more for espidf and the below settings
To reproduce
Compiler error messages
System info
PRETTY_NAME="Ubuntu 22.04.4 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.4 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
The text was updated successfully, but these errors were encountered: