Skip to content

Instantly share code, notes, and snippets.

@selalipop
Created June 28, 2021 21:02
Show Gist options
  • Save selalipop/67f690157e7014ee57d141da9e90cb48 to your computer and use it in GitHub Desktop.
Save selalipop/67f690157e7014ee57d141da9e90cb48 to your computer and use it in GitHub Desktop.
In file included from /Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/deque:64,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:37,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:16,
from /Users/oak/Development/erou-firmware-esp32/main/motion.cpp:10:
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h: In instantiation of 'void std::deque<_Tp, _Alloc>::_M_destroy_data(std::deque<_Tp, _Alloc>::iterator, std::deque<_Tp, _Alloc>::iterator, const std::allocator<_Tp>&) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>; std::deque<_Tp, _Alloc>::iterator = std::_Deque_iterator<AsyncWebSocketControl, AsyncWebSocketControl&, AsyncWebSocketControl*>]':
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:1055:9: required from 'std::deque<_Tp, _Alloc>::~deque() [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:108:7: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits<std::allocator<_Tp> >::construct(std::allocator_traits<std::allocator<_Tp> >::allocator_type&, _Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>; std::allocator_traits<std::allocator<_Tp> >::allocator_type = std::allocator<std::_List_node<AsyncWebSocketClient> >]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:645:33: required from 'std::__cxx11::list<_Tp, _Alloc>::_Node* std::__cxx11::list<_Tp, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::_Node = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1903:10: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_insert(std::__cxx11::list<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::iterator = std::_List_iterator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1235:4: required from 'void std::__cxx11::list<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1832:6: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_initialize_dispatch(_InputIterator, _InputIterator, std::__false_type) [with _InputIterator = std::_List_const_iterator<AsyncWebSocketClient>; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:746:9: required from 'std::__cxx11::list<_Tp, _Alloc>::list(const std::__cxx11::list<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:202:7: required from here
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:2081:6: error: invalid use of incomplete type 'std::deque<AsyncWebSocketControl>::value_type' {aka 'class AsyncWebSocketControl'}
if (!__has_trivial_destructor(value_type))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:16,
from /Users/oak/Development/erou-firmware-esp32/main/motion.cpp:10:
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:56:7: note: forward declaration of 'std::deque<AsyncWebSocketControl>::value_type' {aka 'class AsyncWebSocketControl'}
class AsyncWebSocketControl;
^~~~~~~~~~~~~~~~~~~~~
In file included from /Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/deque:64,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:37,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:16,
from /Users/oak/Development/erou-firmware-esp32/main/motion.cpp:10:
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h: In instantiation of 'typename std::_Deque_iterator<_Tp, _Ref, _Ptr>::difference_type std::operator-(const std::_Deque_iterator<_Tp, _Ref, _Ptr>&, const std::_Deque_iterator<_Tp, _Ref, _Ptr>&) [with _Tp = AsyncWebSocketControl; _Ref = AsyncWebSocketControl&; _Ptr = AsyncWebSocketControl*; typename std::_Deque_iterator<_Tp, _Ref, _Ptr>::difference_type = int]':
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:1282:40: required from 'std::deque<_Tp, _Alloc>::size_type std::deque<_Tp, _Alloc>::size() const [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>; std::deque<_Tp, _Alloc>::size_type = unsigned int]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:959:12: required from 'std::deque<_Tp, _Alloc>::deque(const std::deque<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:108:7: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits<std::allocator<_Tp> >::construct(std::allocator_traits<std::allocator<_Tp> >::allocator_type&, _Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>; std::allocator_traits<std::allocator<_Tp> >::allocator_type = std::allocator<std::_List_node<AsyncWebSocketClient> >]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:645:33: required from 'std::__cxx11::list<_Tp, _Alloc>::_Node* std::__cxx11::list<_Tp, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::_Node = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1903:10: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_insert(std::__cxx11::list<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::iterator = std::_List_iterator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1235:4: required from 'void std::__cxx11::list<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1832:6: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_initialize_dispatch(_InputIterator, _InputIterator, std::__false_type) [with _InputIterator = std::_List_const_iterator<AsyncWebSocketClient>; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:746:9: required from 'std::__cxx11::list<_Tp, _Alloc>::list(const std::__cxx11::list<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:202:7: required from here
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:357:50: error: invalid use of incomplete type 'class AsyncWebSocketControl'
* (__x._M_node - __y._M_node - 1) + (__x._M_cur - __x._M_first)
~~~~~~~~~~~~^~~~~~~~~~~~~~~
In file included from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:16,
from /Users/oak/Development/erou-firmware-esp32/main/motion.cpp:10:
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:56:7: note: forward declaration of 'class AsyncWebSocketControl'
class AsyncWebSocketControl;
^~~~~~~~~~~~~~~~~~~~~
In file included from /Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/deque:64,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:37,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:16,
from /Users/oak/Development/erou-firmware-esp32/main/motion.cpp:10:
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:358:17: error: invalid use of incomplete type 'class AsyncWebSocketControl'
+ (__y._M_last - __y._M_cur);
~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:16,
from /Users/oak/Development/erou-firmware-esp32/main/motion.cpp:10:
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:56:7: note: forward declaration of 'class AsyncWebSocketControl'
class AsyncWebSocketControl;
^~~~~~~~~~~~~~~~~~~~~
In file included from /Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/deque:64,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:37,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:16,
from /Users/oak/Development/erou-firmware-esp32/main/motion.cpp:10:
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h: In instantiation of 'void std::_Deque_base<_Tp, _Alloc>::_M_initialize_map(std::size_t) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>; std::size_t = unsigned int]':
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:501:9: required from 'std::_Deque_base<_Tp, _Alloc>::_Deque_base(const allocator_type&, std::size_t) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>; std::_Deque_base<_Tp, _Alloc>::allocator_type = std::allocator<AsyncWebSocketControl>; std::size_t = unsigned int]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:959:18: required from 'std::deque<_Tp, _Alloc>::deque(const std::deque<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:108:7: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits<std::allocator<_Tp> >::construct(std::allocator_traits<std::allocator<_Tp> >::allocator_type&, _Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>; std::allocator_traits<std::allocator<_Tp> >::allocator_type = std::allocator<std::_List_node<AsyncWebSocketClient> >]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:645:33: required from 'std::__cxx11::list<_Tp, _Alloc>::_Node* std::__cxx11::list<_Tp, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::_Node = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1903:10: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_insert(std::__cxx11::list<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::iterator = std::_List_iterator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1235:4: required from 'void std::__cxx11::list<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1832:6: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_initialize_dispatch(_InputIterator, _InputIterator, std::__false_type) [with _InputIterator = std::_List_const_iterator<AsyncWebSocketClient>; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:746:9: required from 'std::__cxx11::list<_Tp, _Alloc>::list(const std::__cxx11::list<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:202:7: required from here
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:685:68: error: invalid application of 'sizeof' to incomplete type 'AsyncWebSocketControl'
const size_t __num_nodes = (__num_elements/ __deque_buf_size(sizeof(_Tp))
^~~~~~~~~~~
In file included from /Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/deque:64,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:37,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:16,
from /Users/oak/Development/erou-firmware-esp32/main/motionHoming.cpp:10:
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h: In instantiation of 'void std::deque<_Tp, _Alloc>::_M_destroy_data(std::deque<_Tp, _Alloc>::iterator, std::deque<_Tp, _Alloc>::iterator, const std::allocator<_Tp>&) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>; std::deque<_Tp, _Alloc>::iterator = std::_Deque_iterator<AsyncWebSocketControl, AsyncWebSocketControl&, AsyncWebSocketControl*>]':
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:1055:9: required from 'std::deque<_Tp, _Alloc>::~deque() [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:108:7: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits<std::allocator<_Tp> >::construct(std::allocator_traits<std::allocator<_Tp> >::allocator_type&, _Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>; std::allocator_traits<std::allocator<_Tp> >::allocator_type = std::allocator<std::_List_node<AsyncWebSocketClient> >]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:645:33: required from 'std::__cxx11::list<_Tp, _Alloc>::_Node* std::__cxx11::list<_Tp, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::_Node = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1903:10: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_insert(std::__cxx11::list<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::iterator = std::_List_iterator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1235:4: required from 'void std::__cxx11::list<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1832:6: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_initialize_dispatch(_InputIterator, _InputIterator, std::__false_type) [with _InputIterator = std::_List_const_ite/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:716:25: error: invalid application of 'sizeof' to incomplete type 'AsyncWebSocketControl'
% __deque_buf_size(sizeof(_Tp)));
^~~~~~~~~~~
rator<AsyncWebSocketClient>; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:746:9: required from 'std::__cxx11::list<_Tp, _Alloc>::list(const std::__cxx11::list<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:202:7: required from here
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:2081:6: error: invalid use of incomplete type 'std::deque<AsyncWebSocketControl>::value_type' {aka 'class AsyncWebSocketControl'}
if (!__has_trivial_destructor(value_type))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/memory:65,
from /Users/oak/Development/erou-firmware-esp32/components/arduino/libraries/WiFi/src/WiFiClient.h:26,
from /Users/oak/Development/erou-firmware-esp32/components/arduino/libraries/WiFi/src/WiFiServer.h:24,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:3,
from /Users/oak/Development/erou-firmware-esp32/main/motion.cpp:10:
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_uninitialized.h: In instantiation of '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = std::_Deque_iterator<AsyncWebSocketControl, const AsyncWebSocketControl&, const AsyncWebSocketControl*>; _ForwardIterator = std::_Deque_iterator<AsyncWebSocketControl, AsyncWebSocketControl&, AsyncWebSocketControl*>]':
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_uninitialized.h:289:37: required from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>&) [with _InputIterator = std::_Deque_iterator<AsyncWebSocketControl, const AsyncWebSocketControl&, const AsyncWebSocketControl*>; _ForwardIterator = std::_Deque_iterator<AsyncWebSocketControl, AsyncWebSocketControl&, AsyncWebSocketControl*>; _Tp = AsyncWebSocketControl]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:960:36: required from 'std::deque<_Tp, _Alloc>::deque(const std::deque<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>]'
n file included from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:16,
from /Users/oak/Development/erou-firmware-esp32/main/motionHoming.cpp:10:
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:56:7: note: forward declaration of 'std::deque<AsyncWebSocketControl>::value_type' {aka 'class AsyncWebSocketControl'}
class AsyncWebSocketControl;
^~~~~~~~~~~~~~~~~~~~~
K/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:108:7: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits<std::allocator<_Tp> >::construct(std::allocator_traits<std::allocator<_Tp> >::allocator_type&, _Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>; std::allocator_traits<std::allocator<_Tp> >::allocator_type = std::allocator<std::_List_node<AsyncWebSocketClient> >]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:645:33: required from 'std::__cxx11::list<_Tp, _Alloc>::_Node* std::__cxx11::list<_Tp, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::_Node = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1903:10: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_insert(std::__cxx11::list<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::iterator = std::_List_iterator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1235:4: required from 'void std::__cxx11::list<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1832:6: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_initialize_dispatch(_InputIterator, _InputIterator, std::__false_type) [with _InputIterator = std::_List_const_iterator<AsyncWebSocketClient>; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:746:9: required from 'std::__cxx11::list<_Tp, _Alloc>::list(const std::__cxx11::list<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:202:7: required from here
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_uninitialized.h:132:12: error: invalid use of incomplete type 'std::__iterator_traits<std::_Deque_iterator<AsyncWebSocketControl, const AsyncWebSocketControl&, const AsyncWebSocketControl*>, void>::value_type' {aka 'class AsyncWebSocketControl'}
return std::__uninitialized_copy<__is_trivial(_ValueType1)
~~~~~~~~~~~~~~~~~~~~~~~~~
&& __is_trivial(_ValueType2)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:16,
from /Users/oak/Development/erou-firmware-esp32/main/motion.cpp:10:
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:56:7: note: forward declaration of 'std::__iterator_traits<std::_Deque_iterator<AsyncWebSocketControl, const AsyncWebSocketControl&, const AsyncWebSocketControl*>, void>::value_type' {aka 'class AsyncWebSocketControl'}
class AsyncWebSocketControl;
^~~~~~~~~~~~~~~~~~~~~
In file included from /Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/memory:65,
from /Users/oak/Development/erou-firmware-esp32/components/arduino/libraries/WiFi/src/WiFiClient.h:26,
from /Users/oak/Development/erou-firmware-esp32/components/arduino/libraries/WiFi/src/WiFiServer.h:24,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:3,
from /Users/oak/Development/erou-firmware-esp32/main/motion.cpp:10:
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_uninitialized.h:132:12: error: invalid use of incomplete type 'std::__iterator_traits<std::_Deque_iterator<AsyncWebSocketControl, AsyncWebSocketControl&, AsyncWebSocketControl*>, void>::value_type' {aka 'class AsyncWebSocketControl'}
return std::__uninitialized_copy<__is_trivial(_ValueType1)
~~~~~~~~~~~~~~~~~~~~~~~~~
&& __is_trivial(_ValueType2)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/deque:64,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:37,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:16,
from /Users/oak/Development/erou-firmware-esp32/main/motionHoming.cpp:10:
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h: In instantiation of 'typename std::_Deque_iterator<_Tp, _Ref, _Ptr>::difference_type std::operator-(const std::_Deque_iterator<_Tp, _Ref, _Ptr>&, const std::_Deque_iterator<_Tp, _Ref, _Ptr>&) [with _Tp = AsyncWebSocketControl; _Ref = AsyncWebSocketControl&; _Ptr = AsyncWebSocketControl*; typename std::_Deque_iterator<_Tp, _Ref, _Ptr>::difference_type = int]':
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:1282:40: required from 'std::deque<_Tp, _Alloc>::size_type std::deque<_Tp, _Alloc>::size() const [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>; std::deque<_Tp, _Alloc>::size_type = unsigned int]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:959:12: required In file included from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:16,
from /Users/oak/Development/erou-firmware-esp32/main/motion.cpp:10:
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:56:7: note: forward declaration of 'std::__iterator_traits<std::_Deque_iterator<AsyncWebSocketControl, AsyncWebSocketControl&, AsyncWebSocketControl*>, void>::value_type' {aka 'class AsyncWebSocketControl'}
class AsyncWebSocketControl;
^~~~~~~~~~~~~~~~~~~~~
from 'std::deque<_Tp, _Alloc>::deque(const std::deque<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:108:7: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits<std::allocator<_Tp> >::construct(std::allocator_traits<std::allocator<_Tp> >::allocator_type&, _Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>; std::allocator_traits<std::allocator<_Tp> >::allocator_type = std::allocator<std::_List_node<AsyncWebSocketClient> >]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:645:33: required from 'std::__cxx11::list<_Tp, _Alloc>::_Node* std::__cxx11::list<_Tp, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::_Node = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1903:10: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_insert(std::__cxx11::list<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::iterator = std::_List_iterator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1235:4: required from 'void std::__cxx11::list<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1832:6: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_initialize_dispatch(_InputIterator, _InputIterator, std::__false_type) [with _InputIterator = std::_List_const_iterator<AsyncWebSocketClient>; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:746:9: required from 'std::__cxx11::list<_Tp, _Alloc>::list(const std::__cxx11::list<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:202:7: required from here
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:357:50: error: invalid use of incomplete type 'class AsyncWebSocketControl'
* (__x._M_node - __y._M_node - 1) + (__x._M_cur - __x._M_first)
~~~~~~~~~~~~^~~~~~~~~~~~~~~
In file included from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:16,
from /Users/oak/Development/erou-firmware-esp32/main/motionHoming.cpp:10:
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:56:7: note: forward declaration of 'class AsyncWebSocketControl'
class AsyncWebSocketControl;
^~~~~~~~~~~~~~~~~~~~~
In file included from /Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/deque:64,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:37,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:16,
from /Users/oak/Development/erou-firmware-esp32/main/motionHoming.cpp:10:
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:358:17: error: invalid use of incomplete type 'class AsyncWebSocketControl'
+ (__y._M_last - __y._M_cur);
~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:16,
from /Users/oak/Development/erou-firmware-esp32/main/motionHoming.cpp:10:
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:56:7: note: forward declaration of 'class AsyncWebSocketControl'
class AsyncWebSocketControl;
^~~~~~~~~~~~~~~~~~~~~
In file included from /Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/deque:64,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:37,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:16,
from /Users/oak/Development/erou-firmware-esp32/main/motionHoming.cpp:10:
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h: In instantiation of 'void std::_Deque_base<_Tp, _Alloc>::_M_initialize_map(std::size_t) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>; std::size_t = unsigned int]':
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:501:9: required from 'std::_Deque_base<_Tp, _Alloc>::_Deque_base(const allocator_type&, std::size_t) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>; std::_Deque_base<_Tp, _Alloc>::allocator_type = std::allocator<AsyncWebSocketControl>; std::size_t = unsigned int]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:959:18: required from 'std::deque<_Tp, _Alloc>::deque(const std::deque<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:108:7: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits<std::allocator<_Tp> >::construct(std::allocator_traits<std::allocator<_Tp> >::allocator_type&, _Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>; std::allocator_traits<std::allocator<_Tp> >::allocator_type = std::allocator<std::_List_node<AsyncWebSocketClient> >]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:645:33: required from 'std::__cxx11::list<_Tp, _Alloc>::_Node* std::__cxx11::list<_Tp, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::_Node = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1903:10: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_insert(std::__cxx11::list<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::iterator = std::_List_iterator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1235:4: required from 'void std::__cxx11::list<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1832:6: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_initialize_dispatch(_InputIterator, _InputIterator, std::__false_type) [with _InputIterator = std::_List_const_iterator<AsyncWebSocketClient>; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:746:9: required from 'std::__cxx11::list<_Tp, _Alloc>::list(const std::__cxx11::list<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:202:7: required from here
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:685:68: error: invalid application of 'sizeof' to incomplete type 'AsyncWebSocketControl'
const size_t __num_nodes = (__num_elements/ __deque_buf_size(sizeof(_Tp))
^~~~~~~~~~~
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:716:25: error: invalid application of 'sizeof' to incomplete type 'AsyncWebSocketControl'
% __deque_buf_size(sizeof(_Tp)));
^~~~~~~~~~~
In file included from /Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/deque:64,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:37,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:16,
from /Users/oak/Development/erou-firmware-esp32/main/motion.cpp:10:
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h: In instantiation of 'static std::size_t std::_Deque_iterator<_Tp, _Ref, _Ptr>::_S_buffer_size() [with _Tp = AsyncWebSocketControl; _Ref = AsyncWebSocketControl&; _Ptr = AsyncWebSocketControl*; std::size_t = unsigned int]':
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:356:51: required from 'typename std::_Deque_iterator<_Tp, _Ref, _Ptr>::difference_type std::operator-(const std::_Deque_iterator<_Tp, _Ref, _Ptr>&, const std::_Deque_iterator<_Tp, _Ref, _Ptr>&) [with _Tp = AsyncWebSocketControl; _Ref = AsyncWebSocketControl&; _Ptr = AsyncWebSocketControl*; typename std::_Deque_iterator<_Tp, _Ref, _Ptr>::difference_type = int]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:1282:40: required from 'std::deque<_Tp, _Alloc>::size_type std::deque<_Tp, _Alloc>::size() const [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>; std::deque<_Tp, _Alloc>::size_type = unsigned int]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:959:12: required from 'std::deque<_Tp, _Alloc>::deque(const std::deque<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:108:7: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits<std::allocator<_Tp> >::construct(std::allocator_traits<std::allocator<_Tp> >::allocator_type&, _Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>In file included from /Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/deque:64,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:37,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/main.cpp:9:
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h: In instantiation of 'void std::deque<_Tp, _Alloc>::_M_destroy_data(std::deque<_Tp, _Alloc>::iterator, std::deque<_Tp, _Alloc>::iterator, const std::allocator<_CharT>&) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>; std::deque<_Tp, _Alloc>::iterator = std::_Deque_iterator<AsyncWebSock; std::allocator_traits<std::allocator<_Tp> >::allocator_type = std::allocator<std::_List_node<AsyncWebSocketClient> >]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:645:33: required from 'std::__cxx11::list<_Tp, _Alloc>::_Node* std::__cxx11::list<_Tp, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::_Node = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1903:10: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_insert(std::__cxx11::list<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxxetControl, AsyncWebSocketControl&, AsyncWebSocketControl*>]':
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:1055:9: required from 'std::deque<_Tp, _Alloc>::~deque() [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:108:7: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits<std::allocator<_CharT> >::construct(std::allocator_traits<std::allocator<_CharT> >::allocato11::list<_Tp, _Alloc>::iterator = std::_List_iterator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1235:4: required from 'void std::__cxx11::list<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1832:6: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_initialize_dispatch(_InputIterator, _InputIterator, std::__false_type) [with _InputIterator = std::_List_const_iterator<AsyncWebSocketClient>; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/str_type&, _Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>; std::allocator_traits<std::allocator<_CharT> >::allocator_type = std::allocator<std::_List_node<AsyncWebSocketClient> >]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:645:33: required from 'std::__cxx11::list<_Tp, _Alloc>::_Node* std::__cxx11::list<_Tp, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::_Node = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1903:10: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_insert(std::__cxx11::list<_Tp, _Alloc>::iteratl_list.h:746:9: required from 'std::__cxx11::list<_Tp, _Alloc>::list(const std::__cxx11::list<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:202:7: required from here
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:130:33: error: invalid application of 'sizeof' to incomplete type 'AsyncWebSocketControl'
{ return __deque_buf_size(sizeof(_Tp)); }
^~~~~~~~~~~
or, _Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::iterator = std::_List_iterator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1235:4: required from 'void std::__cxx11::list<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1832:6: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_initialize_dispatch(_InputIterator, _InputIterator, std::__false_type) [with _InputIterator = std::_List_const_iterator<AsyncWebSocketClient>; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:746:9: required from 'std::__cxx11::list<_Tp, _Alloc>::list(const std::__cxx11::list<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:202:7: required from here
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:2081:6: error: invalid use of incomplete type 'std::deque<AsyncWebSocketControl>::value_type' {aka 'class AsyncWebSocketControl'}
if (!__has_trivial_destructor(value_type))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/memory:65,
from /Users/oak/Development/erou-firmware-esp32/components/arduino/libraries/WiFi/src/WiFiClient.h:26,
from /Users/oak/Development/erou-firmware-esp32/components/arduino/libraries/WiFi/src/WiFiServer.h:24,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:3,
from /Users/oak/Development/erou-firmware-esp32/main/motionHoming.cpp:10:
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_uninitialized.h: In instantiation of '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = std::_Deque_iterator<AsyncWebSocketControl, const AsyncWebSocketControl&, const AsyncWebSocketControl*>; _ForwardIterator = std::_Deque_iterator<AsyncWebSocketControl, AsyncWebSocketControl&, AsyncWebSocketControl*>]':
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_uninitialized.h:289:37: required from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>&) [with _InputIterator = std::_Deque_iterator<AsyncWebSocketControl, const AsyncWebSocketControl&, const AsyncWebSocketControl*>; _ForwardIterator = std::_Deque_iterator<AsyncWebSocketControl, AsyncWebSocketControl&, AsyncWebSocketControl*>; _Tp = AsyncWebSocketControl]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:960:36: required from 'std::deque<_Tp, _Alloc>::deque(const std::deque<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:108:7: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits<std::allocator<_Tp> >::construct(std::allocator_traits<std::allocator<_Tp> >::allocator_type&, _Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>; std::allocator_traits<std::allocator<_Tp> >::allocator_type = std::allocator<std::_List_node<AsyncWebSocketClient> >]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-es/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h: In instantiation of 'void std::_Deque_base<_Tp, _Alloc>::_M_deallocate_node(std::_Deque_base<_Tp, _Alloc>::_Ptr) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>; std::_Deque_base<_Tp, _Alloc>::_Ptr = AsyncWebSocketControl*]':
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:744:2: required from 'void std::_Deque_base<_Tp, _Alloc>::_M_destroy_nodes(std::_Deque_base<_Tp, _Alloc>::_Map_pointer, std::_Deque_base<_Tp, _Alloc>::_Map_pointer) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>; std::_Deque_base<_Tp, _Alloc>::_Map_pointer = AsyncWebSocketControl**]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.p32-elf/include/c++/8.4.0/bits/stl_list.h:645:33: required from 'std::__cxx11::list<_Tp, _Alloc>::_Node* std::__cxx11::list<_Tp, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::_Node = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1903:10: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_insert(std::__cxx11::list<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::iterator = std::_List_iterator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1235:4:h:666:4: required from 'std::_Deque_base<_Tp, _Alloc>::~_Deque_base() [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:959:18: required from 'std::deque<_Tp, _Alloc>::deque(const std::deque<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:108:7: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits<std::allocator<_Tp> >::construct(std::allocator_traits<std::allocator<_Tp> >::allocator_type&, _Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>; std::allocator_traits<std::allocator<_Tp> >::allocator_type = std::allocator<std::_List_node<AsyncWebSocketClient> >]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:645:33: required from 'std::__cxx11::list<_Tp, _Alloc>::_Node* std::__cxx11::list<_Tp, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::_Node = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.[K required from 'void std::__cxx11::list<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1832:6: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_initialize_dispatch(_InputIterator, _InputIterator, std::__false_type) [with _InputIterator = std::_List_const_iterator<AsyncWebSocketClient>; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:746:9: required from 'std::__cxx11::list<_Tp, _Alloc>::list(const std::__cxx11::list<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/D4.0/bits/stl_list.hevelopment/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:202:7: required from here
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_uninitialized.h:132:12: error: invalid use of incomplete type 'std::__iterator_traits<std::_Deque_iterator<AsyncWebSocketControl, const AsyncWebSocketControl&, const AsyncWebSocketControl*>, void>::value_type' {aka 'class AsyncWebSocketControl'}
return std::__uninitialized_copy<__is_trivial(_ValueType1)
~~~~~~~~~~~~~~~~~~~~~~~~~
&& __is_trivial(_ValueType2)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
:1903:10: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_insert(std::__cxx11::list<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::iterator = std::_List_iterator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1235:4: required from 'void std::__cxx11::list<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1832:6: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_initialize_dispatch(_InputIterator, _InputIterator, std::__false_type) [with _InputIterator = std::_List_const_iterator<AsyncWebSocketClient>; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:746:9: required from 'std::__cxx11::list<_Tp, _Alloc>::list(const std::__cxx11::list<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:202:7: required from here
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:610:53: error: invalid application of 'sizeof' to incomplete type 'AsyncWebSocketControl'
_Traits::deallocate(_M_impl, __p, __deque_buf_size(sizeof(_Tp)));
In file included from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:16,
from /Users/oak/Development/erou-firmware-esp32/main/motionHoming.cpp:10:
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:56:7: note: forward declaration of 'std::__iterator_traits<std::_Deque_iterator<AsyncWebSocketControl, const AsyncWebSocketControl&, const AsyncWebSocketControl*>, void>::value_type' {aka 'class AsyncWebSocketControl'}
class AsyncWebSocketControl;
^~~~~~~~~~~~~~~~~~~~~
^~~~~~~~~~~
In file included from /Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/memory:65,
from /Users/oak/Development/erou-firmware-esp32/components/arduino/libraries/WiFi/src/WiFiClient.h:26,
from /Users/oak/Development/erou-firmware-esp32/components/arduino/libraries/WiFi/src/WiFiServer.h:24,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:3,
from /Users/oak/Development/erou-firmware-esp32/main/motionHoming.cpp:10:
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_uninitialized.h:132:12: error: invalid use of incomplete type 'std::__iterator_traits<std::_Deque_iterator<AsyncWebSocketControl, AsyncWebSocketControl&, AsyncWebSocketControl*>, void>::value_type' {aka 'class AsyncWebSocketControl'}
return std::__uninitialized_copy<__is_trivial(_ValueType1)
~~~~~~~~~~~~~~~~~~~~~~~~~
&& __is_trivial(_ValueType2)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/main.cpp:9:
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:56:7: note: forward declaration of 'std::deque<AsyncWebSocketControl>::value_type' {aka 'class AsyncWebSocketControl'}
class AsyncWebSocketControl;
^~~~~~~~~~~~~~~~~~~~~
In file included from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:16,
from /Users/oak/Development/erou-firmware-esp32/main/motionHoming.cpp:10:
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:56:7: note: forward declaration of 'std::__iterator_traits<std::_Deque_iterator<AsyncWebSocketControl, AsyncWebSocketControl&, AsyncWebSocketControl*>, void>::value_type' {aka 'class AsyncWebSocketControl'}
class AsyncWebSocketControl;
^~~~~~~~~~~~~~~~~~~~~
In file included from /Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/deque:64,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:37,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/main.cpp:9:
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h: In instantiation of 'typename std::_Deque_iterator<_Tp, _Ref, _Ptr>::difference_type std::operator-(const std::_Deque_iterator<_Tp, _Ref, _Ptr>&, const std::_Deque_iterator<_Tp, _Ref, _Ptr>&) [with _Tp = AsyncWebSocketControl; _Ref = AsyncWebSocketControl&; _Ptr = AsyncWebSocketControl*; typename std::_Deque_iterator<_Tp, _Ref, _Ptr>::difference_type = int]':
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:1282:40: required from 'std::deque<_Tp, _Alloc>::size_type std::deque<_Tp, _Alloc>::size() const [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>; std::deque<_Tp, _Alloc>::size_type = unsigned int]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:959:12: required from 'std::deque<_Tp, _Alloc>::deque(const std::deque<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:108:7: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits<std::allocator<_CharT> >::construct(std::allocator_traits<std::allocator<_CharT> >::allocator_type&, _Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>; std::allocator_traits<std::allocator<_CharT> >::allocator_type = std::allocator<std::_List_node<AsyncWebSocketClient> >]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:645:33: required from 'std::__cxx11::list<_Tp, _Alloc>::_Node* std::__cxx11::list<_Tp, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::_Node = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1903:10: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_insert(std::__cxx11::list<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::iterator = std::_List_iterator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1235:4: required from 'void std::__cxx11::list<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1832:6: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_initialize_dispatch(_InputIterator, _InputIterator, std::__false_type) [with _InputIterator = std::_List_const_iterator<AsyncWebSocketClient>; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:746:9: required from 'std::__cxx11::list<_Tp, _Alloc>::list(const std::__cxx11::list<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:202:7: required from here
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:357:50: error: invalid use of incomplete type 'class AsyncWebSocketControl'
* (__x._M_node - __y._M_node - 1) + (__x._M_cur - __x._M_first)
~~~~~~~~~~~~^~~~~~~~~~~~~~~
In file included from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/main.cpp:9:
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:56:7: note: forward declaration of 'class AsyncWebSocketControl'
class AsyncWebSocketControl;
^~~~~~~~~~~~~~~~~~~~~
In file included from /Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/deque:64,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:37,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/main.cpp:9:
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:358:17: error: invalid use of incomplete type 'class AsyncWebSocketControl'
+ (__y._M_last - __y._M_cur);
~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/main.cpp:9:
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:56:7: note: forward declaration of 'class AsyncWebSocketControl'
class AsyncWebSocketControl;
^~~~~~~~~~~~~~~~~~~~~
In file included from /Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/deque:64,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:37,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:16,
from /Users/oak/Development/erou-firmware-esp32/main/ota.cpp:3:
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h: In instantiation of 'void std::deque<_Tp, _Alloc>::_M_destroy_data(std::deque<_Tp, _Alloc>::iterator, std::deque<_Tp, _Alloc>::iterator, const std::allocator<_CharT>&) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>; std::deque<_Tp, _Alloc>::iterator = std::_Deque_iterator<AsyncWebSocketControl, AsyncWebSocketControl&, AsyncWebSocketControl*>]':
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:1055:9: required from 'std::deque<_Tp, _Alloc>::~deque() [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:108:7: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits<std::allocator<_CharT> >::construct(std::allocator_traits<std::allocator<_CharT> >::allocator_type&, _Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>; std::allocator_traits<std::allocator<_CharT> >::allocator_type = std::allocator<std::_List_node<AsyncWebSocketClient> >]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:645:33: required from 'std::__cxx11::list<_Tp, _Alloc>::_Node* std::__cxx11::list<_Tp, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::_Node = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1903:10: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_insert(std::__cxx11::list<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::iterator = std::_List_iterator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1235:4: required from 'void std::__cxx11::list<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1832:6: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_initialize_dispatch(_InputIterator, _InputIterator, std::__false_type) [with _InputIterator = std::_List_const_iterator<AsyncWebSocketClient>; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:746:9: required from 'std::__cxx11::list<_Tp, _Alloc>::list(const std::__cxx11::list<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:202:7: required from here
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:2081:6: error: invalid use of incomplete type 'std::deque<AsyncWebSocketControl>::value_type' {aka 'class AsyncWebSocketControl'}
if (!__has_trivial_destructor(value_type))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/deque:64,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:37,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/main.cpp:9:
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h: In instantiation of 'void std::_Deque_base<_Tp, _Alloc>::_M_initialize_map(std::size_t) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>; std::size_t = unsigned int]':
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:501:9: required from 'std::_Deque_base<_Tp, _Alloc>::_Deque_base(const allocator_type&, std::size_t) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>; std::_Deque_base<_Tp, _Alloc>::allocator_type = std::allocator<AsyncWebSocketControl>; std::size_t = unsigned int]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:959:18: required from 'std::deque<_Tp, _Alloc>::deque(const std::deque<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:108:7: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits<std::allocator<_CharT> >::construct(std::allocator_traits<std::allocator<_CharT> >::allocator_type&, _Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>; std::allocator_traits<std::allocator<_CharT> >::allocator_type = std::allocator<std::_List_node<AsyncWebSocketClient> >]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:645:33: required from 'std::__cxx11::list<_Tp, _Alloc>::_Node* std::__cxx11::list<_Tp, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::_Node = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1903:10: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_insert(std::__cxx11::list<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::iterator = std::_List_iterator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1235:4: required from 'void std::__cxx11::list<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1832:6: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_initialize_dispatch(_InputIterator, _InputIterator, std::__false_type) [with _InputIterator = std::_List_const_iterator<AsyncWebSocketClient>; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:746:9: required from 'std::__cxx11::list<_Tp, _Alloc>::list(const std::__cxx11::list<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:202:7: required from here
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:685:68: error: invalid application of 'In file included from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:16,
from /Users/oak/Development/erou-firmware-esp32/main/ota.cpp:3:
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:56:7: note: forward declaration of 'std::deque<AsyncWebSocketControl>::value_type' {aka 'class AsyncWebSocketControl'}
class AsyncWebSocketControl;
^~~~~~~~~~~~~~~~~~~~~
sizeof' to incomplete type 'AsyncWebSocketControl'
const size_t __num_nodes = (__num_elements/ __deque_buf_size(sizeof(_Tp))
^~~~~~~~~~~
In file included from /Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/deque:64,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:37,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:16,
from /Users/oak/Development/erou-firmware-esp32/main/motionHoming.cpp:10:
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h: In instantiation of 'static std::size_t std::_Deque_iterator<_Tp, _Ref, _Ptr>::_S_buffer_size() [with _Tp = AsyncWebSocketControl; _Ref = AsyncWebSocketControl&; _Ptr = AsyncWebSocketControl*; std::size_t = unsigned int]':
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:356:51: required from 'typename std::_Deque_iterator<_Tp, _Ref, _Ptr>::difference_type std::operator-(const std::_Deque_iterator<_Tp, _Ref, _Ptr>&, const std::_Deque_iterator<_Tp, _Ref, _Ptr>&) [with _Tp = AsyncWebSocketControl; _Ref = AsyncWebSocketControl&; _Ptr = AsyncWebSocketControl*; typename std::_Deque_iterator<_Tp, _Ref, _Ptr>::difference_type = int]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:1282:40: required from 'std::deque<_Tp, _Alloc>::size_type std::deque<_Tp, _Alloc>::size() const [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>; std::deque<_Tp, _Alloc>::size_type = unsigned int]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:959:12: required from 'std::deque<_Tp, _Alloc>::deque(const std::deque<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:108:7: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits<std::allocator<_Tp> >::construct(std::allocator_traits<std::allocator<_Tp> >::allocator_type&, _Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketC/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:716:25: error: invalid application of 'sizeof' to incomplete type 'AsyncWebSocketControl'
% __deque_buf_size(sizeof(_Tp)));
^~~~~~~~~~~
lient>; std::allocator_traits<std::allocator<_Tp> >::allocator_type = std::allocator<std::_List_node<AsyncWebSocketClient> >]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:645:33: required from 'std::__cxx11::list<_Tp, _Alloc>::_Node* std::__cxx11::list<_Tp, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::_Node = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1903:10: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_insert(std::__cxx11::list<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::iterator = std::_List_iterator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1235:4: required from 'void std::__cxx11::list<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1832:6: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_initialize_dispatch(_InputIterator, _InputIterator, std::__false_type) [with _InputIterator = std::_List_const_iterator<AsyncWebSocketClient>; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:746:9: required from 'std::__cxx11::list<_Tp, _Alloc>::list(const std::__cxx11::list<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:202:7: required from here
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:130:33: error: invalid application of 'sizeof' to incomplete type 'AsyncWebSocketControl'
{ return __deque_buf_size(sizeof(_Tp)); }
^~~~~~~~~~~
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h: In instantiation of 'void std::_Deque_base<_Tp, _Alloc>::_M_deallocate_node(std::_Deque_base<_Tp, _Alloc>::_Ptr) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>; std::_Deque_base<_Tp, _Alloc>::_Ptr = AsyncWebSocketControl*]':
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:744:2: required from 'void std::_Deque_base<_Tp, _Alloc>::_M_destroy_nodes(std::_Deque_base<_Tp, _Alloc>::_Map_pointer, std::_Deque_base<_Tp, _Alloc>::_Map_pointer) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>; std::_Deque_base<_Tp, _Alloc>::_Map_pointer = AsyncWebSocketControl**]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:666:4: required from 'std::_Deque_base<_Tp, _Alloc>::~_Deque_base() [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:959:18: required from 'std::deque<_Tp, _Alloc>::deque(const std::deque<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:108:7: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits<std::allocator<_Tp> >::construct(std::allocator_traits<std::allocator<_Tp> >::allocator_type&, _Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>; std::allocator_traits<std::allocator<_Tp> >::allocator_type = std::allocator<std::_List_node<AsyncWebSocketClient> >]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:645:33: required from 'std::__cxx11::list<_Tp, _Alloc>::_Node* std::__cxx11::list<_Tp, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::_Node = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1903:10: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_insert(std::__cxx11::list<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::iterator = std::_List_iterator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1235:4: required from 'void std::__cxx11::list<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1832:6: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_initialize_dispatch(_InputIterator, _InputIterator, std::__false_type) [with _InputIterator = std::_List_const_iterator<AsyncWebSocketClient>; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:746:9: required from 'std::__cxx11::list<_Tp, _Alloc>::list(const std::__cxx11::list<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:202:7: required from here
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:610:53: error: invalid application of 'sizeof' to incomplete type 'AsyncWebSocketControl'
_Traits::deallocate(_M_impl, __p, __deque_buf_size(sizeof(_Tp)));
^~~~~~~~~~~
In file included from /Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/deque:64,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:37,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:16,
from /Users/oak/Development/erou-firmware-esp32/main/ota.cpp:3:
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h: In instantiation of 'typename std::_Deque_iterator<_Tp, _Ref, _Ptr>::difference_type std::operator-(const std::_Deque_iterator<_Tp, _Ref, _Ptr>&, const std::_Deque_iterator<_Tp, _Ref, _Ptr>&) [with _Tp = AsyncWebSocketControl; _Ref = AsyncWebSocketControl&; _Ptr = AsyncWebSocketControl*; typename std::_Deque_iterator<_Tp, _Ref, _Ptr>::difference_type = int]':
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:1282:40: required from 'std::deque<_Tp, _Alloc>::size_type std::deque<_Tp, _Alloc>::size() const [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>; std::deque<_Tp, _Alloc>::size_type = unsigned int]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:959:12: required from 'std::deque<_Tp, _Alloc>::deque(const std::deque<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:108:7: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits<std::allocator<_CharT> >::construct(std::allocator_traits<std::allocator<_CharT> >::allocator_type&, _Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>; std::allocator_traits<std::allocator<_CharT> >::allocator_type = std::allocator<std::_List_node<AsyncWebSocketClient> >]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:645:33: required from 'std::__cxx11::list<_Tp, _Alloc>::_Node* std::__cxx11::list<_Tp, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::_Node = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1903:10: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_insert(std::__cxx11::list<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::iterator = std::_List_iterator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1235:4: required from 'void std::__cxx11::list<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1832:6: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_initialize_dispatch(_InputIterator, _InputIterator, std::__false_type) [with _InputIterator = std::_List_const_iterator<AsyncWebSocketClient>; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:746:9: required from 'std::__cxx11::list<_Tp, _Alloc>::list(const std::__cxx11::list<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:202:7: required from here
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:357:50: error: invalid use of incomplete type 'class AsyncWebSocketControl'
* (__x._M_node - __y._M_node - 1) + (__x._M_cur - __x._M_first)
~~~~~~~~~~~~^~~~~~~~~~~~~~~
In file included from /Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/vector:63,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:28,
from /Users/oak/Development/erou-firmware-esp32/main/main.cpp:9:
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_uninitialized.h: In instantiation of '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = std::_Deque_iterator<AsyncWebSocketControl, const AsyncWebSocketControl&, const AsyncWebSocketControl*>; _ForwardIterator = std::_Deque_iterator<AsyncWebSocketControl, AsyncWebSocketControl&, AsyncWebSocketControl*>]':
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_uninitialized.h:289:37: required from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>&) [with _InputIterator = std::_Deque_iterator<AsyncWebSocketControl, const AsyncWebSocketControl&, const AsyncWebSocketControl*>; _ForwardIterator = std::_Deque_iterator<AsyncWebSocketControl, AsyncWebSocketControl&, AsyncWebSocketControl*>; _Tp = AsyncWebSocketControl]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:960:36: required from 'std::deque<_Tp, _Alloc>::deque(const std::deque<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:108:7: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits<std::allocator<_CharT> >::construct(std::allocator_traits<std::allocator<_CharT> >::allocator_type&, _Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>; std::allocator_traits<std::allocator<_CharT> >::allocator_type = std::allocator<std::_List_node<AsyncWebSocketClient> >]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:645:33: required from 'std::__cxx11::list<_Tp, _Alloc>::_Node* std::__cxx11::list<_Tp, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::_Node = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1903:10: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_insert(std::__cxx11::list<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::iterator = std::_List_iterator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1235:4: required from 'void std::__cxx11::list<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1832:6: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_initialize_dispatch(_InputIterator, _InputIterator, std::__false_type) [with _InputIterator = std::_List_const_iterator<AsyncWebSocketClient>; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:746:9: required from 'std::__cxx11::list<_Tp, _Alloc>::list(const std::__cxx11::list<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:202:7: required from here
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_uninitialized.h:132:12: error: invalid use of incomplete type 'std::__iterator_traits<std::_Deque_iterator<AsyncWebSocketControl, const AsyncWebSocketControl&, const AsyncWebSocketControl*>, void>::value_type' {aka 'class AsyncWebSocketControl'}
return std::__uninitialized_copy<__is_trivial(_ValueType1)
~~~~~~~~~~~~~~~~~~~~~~~~~
&& __is_trivial(_ValueType2)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:16,
from /Users/oak/Development/erou-firmware-esp32/main/ota.cpp:3:
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:56:7: note: forward declaration of 'class AsyncWebSocketControl'
class AsyncWebSocketControl;
^~~~~~~~~~~~~~~~~~~~~
In file included from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/main.cpp:9:
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:56:7: note: forward declaration of 'std::__iterator_traits<std::_Deque_iterator<AsyncWebSocketControl, const AsyncWebSocketControl&, const AsyncWebSocketControl*>, void>::value_type' {aka 'class AsyncWebSocketControl'}
class AsyncWebSocketControl;
^~~~~~~~~~~~~~~~~~~~~
In file included from /Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/vector:63,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:28,
from /Users/oak/Development/erou-firmware-esp32/main/main.cpp:9:
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_uninitialized.h:132:12: error: invalid use of incomplete type 'std::__iterator_traits<std::_Deque_iterator<AsyncWebSocketControl, AsyncWebSocketControl&, AsyncWebSocketControl*>, void>::value_type' {aka 'class AsyncWebSocketControl'}
return std::__uninitialized_copy<__is_trivial(_ValueType1)
~~~~~~~~~~~~~~~~~~~~~~~~~
&& __is_trivial(_ValueType2)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/main.cpp:9:
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:56:7: note: forward declaration of 'std::__iterator_traits<std::_Deque_iterator<AsyncWebSocketControl, AsyncWebSocketControl&, AsyncWebSocketControl*>, void>::value_type' {aka 'class AsyncWebSocketControl'}
class AsyncWebSocketControl;
^~~~~~~~~~~~~~~~~~~~~
In file included from /Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/deque:64,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:37,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:16,
from /Users/oak/Development/erou-firmware-esp32/main/ota.cpp:3:
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:358:17: error: invalid use of incomplete type 'class AsyncWebSocketControl'
+ (__y._M_last - __y._M_cur);
~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:16,
from /Users/oak/Development/erou-firmware-esp32/main/ota.cpp:3:
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:56:7: note: forward declaration of 'class AsyncWebSocketControl'
class AsyncWebSocketControl;
^~~~~~~~~~~~~~~~~~~~~
In file included from /Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/deque:64,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:37,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:16,
from /Users/oak/Development/erou-firmware-esp32/main/ota.cpp:3:
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h: In instantiation of 'void std::_Deque_base<_Tp, _Alloc>::_M_initialize_map(std::size_t) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>; std::size_t = unsigned int]':
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:501:9: required from 'std::_Deque_base<_Tp, _Alloc>::_Deque_base(const allocator_type&, std::size_t) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>; std::_Deque_base<_Tp, _Alloc>::allocator_type = std::allocator<AsyncWebSocketControl>; std::size_t = unsigned int]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:959:18: required from 'std::deque<_Tp, _Alloc>::deque(const std::deque<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:108:7: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits<std::allocator<_CharT> >::construct(std::allocator_traits<std::allocator<_CharT> >::allocator_type&, _Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>; std::allocator_traits<std::allocator<_CharT> >::allocator_type = std::allocator<std::_List_node<AsyncWebSocketClient> >]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:645:33: required from 'std::__cxx11::list<_Tp, _Alloc>::_Node* std::__cxx11::list<_Tp, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::_Node = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1903:10: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_insert(std::__cxx11::list<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::iterator = std::_List_iterator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1235:4: required from 'void std::__cxx11::list<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1832:6: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_initialize_dispatch(_InputIterator, _InputIterator, std::__false_type) [with _InputIterator = std::_List_const_iterator<AsyncWebSocketClient>; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:746:9: required from 'std::__cxx11::list<_Tp, _Alloc>::list(const std::__cxx11::list<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:202:7: required from here
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:685:68: error: invalid application of 'sizeof' to incomplete type 'AsyncWebSocketControl'
const size_t __num_nodes = (__num_elements/ __deque_buf_size(sizeof(_Tp))
^~~~~~~~~~~
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:716:25: error: invalid application of 'sizeof' to incomplete type 'AsyncWebSocketControl'
% __deque_buf_size(sizeof(_Tp)));
^~~~~~~~~~~
In file included from /Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/memory:65,
from /Users/oak/Development/erou-firmware-esp32/components/arduino/libraries/WiFi/src/WiFiClient.h:26,
from /Users/oak/Development/erou-firmware-esp32/components/arduino/libraries/WiFi/src/WiFi.h:37,
from /Users/oak/Development/erou-firmware-esp32/components/arduino/libraries/ArduinoOTA/src/ArduinoOTA.h:4,
from /Users/oak/Development/erou-firmware-esp32/main/ota.h:3,
from /Users/oak/Development/erou-firmware-esp32/main/ota.cpp:1:
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_uninitialized.h: In instantiation of '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = std::_Deque_iterator<AsyncWebSocketControl, const AsyncWebSocketControl&, const AsyncWebSocketControl*>; _ForwardIterator = std::_Deque_iterator<AsyncWebSocketControl, AsyncWebSocketControl&, AsyncWebSocketControl*>]':
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_uninitialized.h:289:37: required from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>&) [with _InputIterator = std::_Deque_iterator<AsyncWebSocketControl, const AsyncWebSocketControl&, const AsyncWebSocketControl*>; _ForwardIterator = std::_Deque_iterator<AsyncWebSocketControl, AsyncWebSocketControl&, AsyncWebSocketControl*>; _Tp = AsyncWebSocketControl]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:960:36: required from 'std::deque<_Tp, _Alloc>::deque(const std::deque<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:108:7: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits<std::allocator<_CharT> >::construct(std::allocator_traits<std::allocator<_CharT> >::allocator_type&, _Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>; std::allocator_traits<std::allocator<_CharT> >::allocator_type = std::allocator<std::_List_node<AsyncWebSocketClient> >]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:645:33: required from 'std::__cxx11::list<_Tp, _Alloc>::_Node* std::__cxx11::list<_Tp, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::_Node = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1903:10: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_insert(std::__cxx11::list<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::iterator = std::_List_iterator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1235:4: required from 'void std::__cxx11::list<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1832:6: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_initialize_dispatch(_InputIterator, _InputIterator, std::__false_type) [with _InputIterator = std::_List_const_iterator<AsyncWebSocketClient>; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:746:9: required from 'std::__cxx11::list<_Tp, _Alloc>::list(const std::__cxx11::list<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:202:7: required from here
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_uninitialized.h:132:12: error: invalid use of incomplete type 'std::__iterator_traits<std::_Deque_iterator<AsyncWebSocketControl, const AsyncWebSocketControl&, const AsyncWebSocketControl*>, void>::value_type' {aka 'class AsyncWebSocketControl'}
return std::__uninitialized_copy<__is_trivial(_ValueType1)
~~~~~~~~~~~~~~~~~~~~~~~~~
&& __is_trivial(_ValueType2)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:16,
from /Users/oak/Development/erou-firmware-esp32/main/ota.cpp:3:
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:56:7: note: forward declaration of 'std::__iterator_traits<std::_Deque_iterator<AsyncWebSocketControl, const AsyncWebSocketControl&, const AsyncWebSocketControl*>, void>::value_type' {aka 'class AsyncWebSocketControl'}
class AsyncWebSocketControl;
^~~~~~~~~~~~~~~~~~~~~
In file included from /Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/memory:65,
from /Users/oak/Development/erou-firmware-esp32/components/arduino/libraries/WiFi/src/WiFiClient.h:26,
from /Users/oak/Development/erou-firmware-esp32/components/arduino/libraries/WiFi/src/WiFi.h:37,
from /Users/oak/Development/erou-firmware-esp32/components/arduino/libraries/ArduinoOTA/src/ArduinoOTA.h:4,
from /Users/oak/Development/erou-firmware-esp32/main/ota.h:3,
from /Users/oak/Development/erou-firmware-esp32/main/ota.cpp:1:
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_uninitialized.h:132:12: error: invalid use of incomplete type 'std::__iterator_traits<std::_Deque_iterator<AsyncWebSocketControl, AsyncWebSocketControl&, AsyncWebSocketControl*>, void>::value_type' {aka 'class AsyncWebSocketControl'}
return std::__uninitialized_copy<__is_trivial(_ValueType1)
~~~~~~~~~~~~~~~~~~~~~~~~~
&& __is_trivial(_ValueType2)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:16,
from /Users/oak/Development/erou-firmware-esp32/main/ota.cpp:3:
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:56:7: note: forward declaration of 'std::__iterator_traits<std::_Deque_iterator<AsyncWebSocketControl, AsyncWebSocketControl&, AsyncWebSocketControl*>, void>::value_type' {aka 'class AsyncWebSocketControl'}
class AsyncWebSocketControl;
^~~~~~~~~~~~~~~~~~~~~
In file included from /Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/deque:64,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:37,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:16,
from /Users/oak/Development/erou-firmware-esp32/main/ota.cpp:3:
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h: In instantiation of 'static std::size_t std::_Deque_iterator<_Tp, _Ref, _Ptr>::_S_buffer_size() [with _Tp = AsyncWebSocketControl; _Ref = AsyncWebSocketControl&; _Ptr = AsyncWebSocketControl*; std::size_t = unsigned int]':
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:356:51: required from 'typename std::_Deque_iterator<_Tp, _Ref, _Ptr>::difference_type std::operator-(const std::_Deque_iterator<_Tp, _Ref, _Ptr>&, const std::_Deque_iterator<_Tp, _Ref, _Ptr>&) [with _Tp = AsyncWebSocketControl; _Ref = AsyncWebSocketControl&; _Ptr = AsyncWebSocketControl*; typename std::_Deque_iterator<_Tp, _Ref, _Ptr>::difference_type = int]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:1282:40: required from 'std::deque<_Tp, _Alloc>::size_type std::deque<_Tp, _Alloc>::size() const [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>; std::deque<_Tp, _Alloc>::size_type = unsigned int]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:959:12: required from 'std::deque<_Tp, _Alloc>::deque(const std::deque<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:108:7: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits<std::allocator<_CharT> >::construct(std::allocator_traits<std::allocator<_CharT> >::allocator_type&, _Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>; std::allocator_traits<std::allocator<_CharT> >::allocator_type = std::allocator<std::_List_node<AsyncWebSocketClient> >]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:645:33: required from 'std::__cxx11::list<_Tp, _Alloc>::_Node* std::__cxx11::list<_Tp, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::_Node = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1903:10: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_insert(std::__cxx11::list<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::iterator = std::_List_iterator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1235:4: required from 'void std::__cxx11::list<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1832:6: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_initialize_dispatch(_InputIterator, _InputIterator, std::__false_type) [with _InputIterator = std::_List_const_iterator<AsyncWebSocketClient>; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:746:9: required from 'std::__cxx11::list<_Tp, _Alloc>::list(const std::__cxx11::list<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:202:7: required from here
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:130:33: error: invalid application of 'sizeof' to incomplete type 'AsyncWebSocketControl'
{ return __deque_buf_size(sizeof(_Tp)); }
^~~~~~~~~~~
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h: In instantiation of 'void std::_Deque_base<_Tp, _Alloc>::_M_deallocate_node(std::_Deque_base<_Tp, _Alloc>::_Ptr) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>; std::_Deque_base<_Tp, _Alloc>::_Ptr = AsyncWebSocketControl*]':
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:744:2: required from 'void std::_Deque_base<_Tp, _Alloc>::_M_destroy_nodes(std::_Deque_base<_Tp, _Alloc>::_Map_pointer, std::_Deque_base<_Tp, _Alloc>::_Map_pointer) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>; std::_Deque_base<_Tp, _Alloc>::_Map_pointer = AsyncWebSocketControl**]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:666:4: required from 'std::_Deque_base<_Tp, _Alloc>::~_Deque_base() [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:959:18: required from 'std::deque<_Tp, _Alloc>::deque(const std::deque<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:108:7: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits<std::allocator<_CharT> >::construct(std::allocator_traits<std::allocator<_CharT> >::allocator_type&, _Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>; std::allocator_traits<std::allocator<_CharT> >::allocator_type = std::allocator<std::_List_node<AsyncWebSocketClient> >]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:645:33: required from 'std::__cxx11::list<_Tp, _Alloc>::_Node* std::__cxx11::list<_Tp, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::_Node = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1903:10: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_insert(std::__cxx11::list<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::iterator = std::_List_iterator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1235:4: required from 'void std::__cxx11::list<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1832:6: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_initialize_dispatch(_InputIterator, _InputIterator, std::__false_type) [with _InputIterator = std::_List_const_iterator<AsyncWebSocketClient>; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:746:9: required from 'std::__cxx11::list<_Tp, _Alloc>::list(const std::__cxx11::list<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:202:7: required from here
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:610:53: error: invalid application of 'sizeof' to incomplete type 'AsyncWebSocketControl'
_Traits::deallocate(_M_impl, __p, __deque_buf_size(sizeof(_Tp)));
^~~~~~~~~~~
In file included from /Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/deque:64,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:37,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/main.cpp:9:
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h: In instantiation of 'static std::size_t std::_Deque_iterator<_Tp, _Ref, _Ptr>::_S_buffer_size() [with _Tp = AsyncWebSocketControl; _Ref = AsyncWebSocketControl&; _Ptr = AsyncWebSocketControl*; std::size_t = unsigned int]':
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:356:51: required from 'typename std::_Deque_iterator<_Tp, _Ref, _Ptr>::difference_type std::operator-(const std::_Deque_iterator<_Tp, _Ref, _Ptr>&, const std::_Deque_iterator<_Tp, _Ref, _Ptr>&) [with _Tp = AsyncWebSocketControl; _Ref = AsyncWebSocketControl&; _Ptr = AsyncWebSocketControl*; typename std::_Deque_iterator<_Tp, _Ref, _Ptr>::difference_type = int]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:1282:40: required from 'std::deque<_Tp, _Alloc>::size_type std::deque<_Tp, _Alloc>::size() const [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>; std::deque<_Tp, _Alloc>::size_type = unsigned int]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:959:12: required from 'std::deque<_Tp, _Alloc>::deque(const std::deque<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:108:7: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits<std::allocator<_CharT> >::construct(std::allocator_traits<std::allocator<_CharT> >::allocator_type&, _Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>; std::allocator_traits<std::allocator<_CharT> >::allocator_type = std::allocator<std::_List_node<AsyncWebSocketClient> >]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:645:33: required from 'std::__cxx11::list<_Tp, _Alloc>::_Node* std::__cxx11::list<_Tp, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::_Node = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1903:10: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_insert(std::__cxx11::list<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::iterator = std::_List_iterator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1235:4: required from 'void std::__cxx11::list<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1832:6: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_initialize_dispatch(_InputIterator, _InputIterator, std::__false_type) [with _InputIterator = std::_List_const_iterator<AsyncWebSocketClient>; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:746:9: required from 'std::__cxx11::list<_Tp, _Alloc>::list(const std::__cxx11::list<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:202:7: required from here
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:130:33: error: invalid application of 'sizeof' to incomplete type 'AsyncWebSocketControl'
{ return __deque_buf_size(sizeof(_Tp)); }
^~~~~~~~~~~
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h: In instantiation of 'void std::_Deque_base<_Tp, _Alloc>::_M_deallocate_node(std::_Deque_base<_Tp, _Alloc>::_Ptr) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>; std::_Deque_base<_Tp, _Alloc>::_Ptr = AsyncWebSocketControl*]':
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:744:2: required from 'void std::_Deque_base<_Tp, _Alloc>::_M_destroy_nodes(std::_Deque_base<_Tp, _Alloc>::_Map_pointer, std::_Deque_base<_Tp, _Alloc>::_Map_pointer) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>; std::_Deque_base<_Tp, _Alloc>::_Map_pointer = AsyncWebSocketControl**]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:666:4: required from 'std::_Deque_base<_Tp, _Alloc>::~_Deque_base() [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:959:18: required from 'std::deque<_Tp, _Alloc>::deque(const std::deque<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:108:7: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits<std::allocator<_CharT> >::construct(std::allocator_traits<std::allocator<_CharT> >::allocator_type&, _Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>; std::allocator_traits<std::allocator<_CharT> >::allocator_type = std::allocator<std::_List_node<AsyncWebSocketClient> >]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:645:33: required from 'std::__cxx11::list<_Tp, _Alloc>::_Node* std::__cxx11::list<_Tp, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::_Node = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1903:10: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_insert(std::__cxx11::list<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::iterator = std::_List_iterator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1235:4: required from 'void std::__cxx11::list<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1832:6: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_initialize_dispatch(_InputIterator, _InputIterator, std::__false_type) [with _InputIterator = std::_List_const_iterator<AsyncWebSocketClient>; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:746:9: required from 'std::__cxx11::list<_Tp, _Alloc>::list(const std::__cxx11::list<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:202:7: required from here
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:610:53: error: invalid application of 'sizeof' to incomplete type 'AsyncWebSocketControl'
_Traits::deallocate(_M_impl, __p, __deque_buf_size(sizeof(_Tp)));
^~~~~~~~~~~
make[2]: *** [esp-idf/main/CMakeFiles/__idf_main.dir/motion.cpp.obj] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [esp-idf/main/CMakeFiles/__idf_main.dir/motionHoming.cpp.obj] Error 1
make[2]: *** [esp-idf/main/CMakeFiles/__idf_main.dir/ota.cpp.obj] Error 1
make[2]: *** [esp-idf/main/CMakeFiles/__idf_main.dir/main.cpp.obj] Error 1
In file included from /Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/deque:64,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:37,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:16,
from /Users/oak/Development/erou-firmware-esp32/main/debug.cpp:1:
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h: In instantiation of 'void std::deque<_Tp, _Alloc>::_M_destroy_data(std::deque<_Tp, _Alloc>::iterator, std::deque<_Tp, _Alloc>::iterator, const std::allocator<_Tp>&) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>; std::deque<_Tp, _Alloc>::iterator = std::_Deque_iterator<AsyncWebSocketControl, AsyncWebSocketControl&, AsyncWebSocketControl*>]':
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:1055:9: required from 'std::deque<_Tp, _Alloc>::~deque() [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:108:7: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits<std::allocator<_Tp> >::construct(std::allocator_traits<std::allocator<_Tp> >::allocator_type&, _Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>; std::allocator_traits<std::allocator<_Tp> >::allocator_type = std::allocator<std::_List_node<AsyncWebSocketClient> >]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:645:33: required from 'std::__cxx11::list<_Tp, _Alloc>::_Node* std::__cxx11::list<_Tp, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::_Node = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1903:10: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_insert(std::__cxx11::list<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::iterator = std::_List_iterator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1235:4: required from 'void std::__cxx11::list<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1832:6: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_initialize_dispatch(_InputIterator, _InputIterator, std::__false_type) [with _InputIterator = std::_List_const_iterator<AsyncWebSocketClient>; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:746:9: required from 'std::__cxx11::list<_Tp, _Alloc>::list(const std::__cxx11::list<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:202:7: required from here
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:2081:6: error: invalid use of incomplete type 'std::deque<AsyncWebSocketControl>::value_type' {aka 'class AsyncWebSocketControl'}
if (!__has_trivial_destructor(value_type))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:16,
from /Users/oak/Development/erou-firmware-esp32/main/debug.cpp:1:
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:56:7: note: forward declaration of 'std::deque<AsyncWebSocketControl>::value_type' {aka 'class AsyncWebSocketControl'}
class AsyncWebSocketControl;
^~~~~~~~~~~~~~~~~~~~~
In file included from /Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/deque:64,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:37,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:16,
from /Users/oak/Development/erou-firmware-esp32/main/debug.cpp:1:
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h: In instantiation of 'typename std::_Deque_iterator<_Tp, _Ref, _Ptr>::difference_type std::operator-(const std::_Deque_iterator<_Tp, _Ref, _Ptr>&, const std::_Deque_iterator<_Tp, _Ref, _Ptr>&) [with _Tp = AsyncWebSocketControl; _Ref = AsyncWebSocketControl&; _Ptr = AsyncWebSocketControl*; typename std::_Deque_iterator<_Tp, _Ref, _Ptr>::difference_type = int]':
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:1282:40: required from 'std::deque<_Tp, _Alloc>::size_type std::deque<_Tp, _Alloc>::size() const [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>; std::deque<_Tp, _Alloc>::size_type = unsigned int]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:959:12: required from 'std::deque<_Tp, _Alloc>::deque(const std::deque<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:108:7: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits<std::allocator<_Tp> >::construct(std::allocator_traits<std::allocator<_Tp> >::allocator_type&, _Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>; std::allocator_traits<std::allocator<_Tp> >::allocator_type = std::allocator<std::_List_node<AsyncWebSocketClient> >]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:645:33: required from 'std::__cxx11::list<_Tp, _Alloc>::_Node* std::__cxx11::list<_Tp, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::_Node = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1903:10: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_insert(std::__cxx11::list<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::iterator = std::_List_iterator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1235:4: required from 'void std::__cxx11::list<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1832:6: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_initialize_dispatch(_InputIterator, _InputIterator, std::__false_type) [with _InputIterator = std::_List_const_iterator<AsyncWebSocketClient>; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:746:9: required from 'std::__cxx11::list<_Tp, _Alloc>::list(const std::__cxx11::list<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:202:7: required from here
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:357:50: error: invalid use of incomplete type 'class AsyncWebSocketControl'
* (__x._M_node - __y._M_node - 1) + (__x._M_cur - __x._M_first)
~~~~~~~~~~~~^~~~~~~~~~~~~~~
In file included from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:16,
from /Users/oak/Development/erou-firmware-esp32/main/debug.cpp:1:
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:56:7: note: forward declaration of 'class AsyncWebSocketControl'
class AsyncWebSocketControl;
^~~~~~~~~~~~~~~~~~~~~
In file included from /Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/deque:64,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:37,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:16,
from /Users/oak/Development/erou-firmware-esp32/main/debug.cpp:1:
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:358:17: error: invalid use of incomplete type 'class AsyncWebSocketControl'
+ (__y._M_last - __y._M_cur);
~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:16,
from /Users/oak/Development/erou-firmware-esp32/main/debug.cpp:1:
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:56:7: note: forward declaration of 'class AsyncWebSocketControl'
class AsyncWebSocketControl;
^~~~~~~~~~~~~~~~~~~~~
In file included from /Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/deque:64,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:37,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:16,
from /Users/oak/Development/erou-firmware-esp32/main/debug.cpp:1:
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h: In instantiation of 'void std::_Deque_base<_Tp, _Alloc>::_M_initialize_map(std::size_t) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>; std::size_t = unsigned int]':
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:501:9: required from 'std::_Deque_base<_Tp, _Alloc>::_Deque_base(const allocator_type&, std::size_t) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>; std::_Deque_base<_Tp, _Alloc>::allocator_type = std::allocator<AsyncWebSocketControl>; std::size_t = unsigned int]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:959:18: required from 'std::deque<_Tp, _Alloc>::deque(const std::deque<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:108:7: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits<std::allocator<_Tp> >::construct(std::allocator_traits<std::allocator<_Tp> >::allocator_type&, _Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>; std::allocator_traits<std::allocator<_Tp> >::allocator_type = std::allocator<std::_List_node<AsyncWebSocketClient> >]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:645:33: required from 'std::__cxx11::list<_Tp, _Alloc>::_Node* std::__cxx11::list<_Tp, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::_Node = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1903:10: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_insert(std::__cxx11::list<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::iterator = std::_List_iterator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1235:4: required from 'void std::__cxx11::list<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1832:6: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_initialize_dispatch(_InputIterator, _InputIterator, std::__false_type) [with _InputIterator = std::_List_const_iterator<AsyncWebSocketClient>; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:746:9: required from 'std::__cxx11::list<_Tp, _Alloc>::list(const std::__cxx11::list<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:202:7: required from here
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:685:68: error: invalid application of 'sizeof' to incomplete type 'AsyncWebSocketControl'
const size_t __num_nodes = (__num_elements/ __deque_buf_size(sizeof(_Tp))
^~~~~~~~~~~
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:716:25: error: invalid application of 'sizeof' to incomplete type 'AsyncWebSocketControl'
% __deque_buf_size(sizeof(_Tp)));
^~~~~~~~~~~
In file included from /Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/memory:65,
from /Users/oak/Development/erou-firmware-esp32/components/arduino/libraries/WiFi/src/WiFiClient.h:26,
from /Users/oak/Development/erou-firmware-esp32/components/arduino/libraries/WiFi/src/WiFiServer.h:24,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:3,
from /Users/oak/Development/erou-firmware-esp32/main/debug.cpp:1:
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_uninitialized.h: In instantiation of '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = std::_Deque_iterator<AsyncWebSocketControl, const AsyncWebSocketControl&, const AsyncWebSocketControl*>; _ForwardIterator = std::_Deque_iterator<AsyncWebSocketControl, AsyncWebSocketControl&, AsyncWebSocketControl*>]':
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_uninitialized.h:289:37: required from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>&) [with _InputIterator = std::_Deque_iterator<AsyncWebSocketControl, const AsyncWebSocketControl&, const AsyncWebSocketControl*>; _ForwardIterator = std::_Deque_iterator<AsyncWebSocketControl, AsyncWebSocketControl&, AsyncWebSocketControl*>; _Tp = AsyncWebSocketControl]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:960:36: required from 'std::deque<_Tp, _Alloc>::deque(const std::deque<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:108:7: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits<std::allocator<_Tp> >::construct(std::allocator_traits<std::allocator<_Tp> >::allocator_type&, _Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>; std::allocator_traits<std::allocator<_Tp> >::allocator_type = std::allocator<std::_List_node<AsyncWebSocketClient> >]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:645:33: required from 'std::__cxx11::list<_Tp, _Alloc>::_Node* std::__cxx11::list<_Tp, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::_Node = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1903:10: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_insert(std::__cxx11::list<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::iterator = std::_List_iterator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1235:4: required from 'void std::__cxx11::list<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1832:6: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_initialize_dispatch(_InputIterator, _InputIterator, std::__false_type) [with _InputIterator = std::_List_const_iterator<AsyncWebSocketClient>; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:746:9: required from 'std::__cxx11::list<_Tp, _Alloc>::list(const std::__cxx11::list<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:202:7: required from here
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_uninitialized.h:132:12: error: invalid use of incomplete type 'std::__iterator_traits<std::_Deque_iterator<AsyncWebSocketControl, const AsyncWebSocketControl&, const AsyncWebSocketControl*>, void>::value_type' {aka 'class AsyncWebSocketControl'}
return std::__uninitialized_copy<__is_trivial(_ValueType1)
~~~~~~~~~~~~~~~~~~~~~~~~~
&& __is_trivial(_ValueType2)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:16,
from /Users/oak/Development/erou-firmware-esp32/main/debug.cpp:1:
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:56:7: note: forward declaration of 'std::__iterator_traits<std::_Deque_iterator<AsyncWebSocketControl, const AsyncWebSocketControl&, const AsyncWebSocketControl*>, void>::value_type' {aka 'class AsyncWebSocketControl'}
class AsyncWebSocketControl;
^~~~~~~~~~~~~~~~~~~~~
In file included from /Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/memory:65,
from /Users/oak/Development/erou-firmware-esp32/components/arduino/libraries/WiFi/src/WiFiClient.h:26,
from /Users/oak/Development/erou-firmware-esp32/components/arduino/libraries/WiFi/src/WiFiServer.h:24,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:3,
from /Users/oak/Development/erou-firmware-esp32/main/debug.cpp:1:
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_uninitialized.h:132:12: error: invalid use of incomplete type 'std::__iterator_traits<std::_Deque_iterator<AsyncWebSocketControl, AsyncWebSocketControl&, AsyncWebSocketControl*>, void>::value_type' {aka 'class AsyncWebSocketControl'}
return std::__uninitialized_copy<__is_trivial(_ValueType1)
~~~~~~~~~~~~~~~~~~~~~~~~~
&& __is_trivial(_ValueType2)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:16,
from /Users/oak/Development/erou-firmware-esp32/main/debug.cpp:1:
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:56:7: note: forward declaration of 'std::__iterator_traits<std::_Deque_iterator<AsyncWebSocketControl, AsyncWebSocketControl&, AsyncWebSocketControl*>, void>::value_type' {aka 'class AsyncWebSocketControl'}
class AsyncWebSocketControl;
^~~~~~~~~~~~~~~~~~~~~
In file included from /Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/deque:64,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:37,
from /Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:493,
from /Users/oak/Development/erou-firmware-esp32/main/debug.h:16,
from /Users/oak/Development/erou-firmware-esp32/main/debug.cpp:1:
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h: In instantiation of 'static std::size_t std::_Deque_iterator<_Tp, _Ref, _Ptr>::_S_buffer_size() [with _Tp = AsyncWebSocketControl; _Ref = AsyncWebSocketControl&; _Ptr = AsyncWebSocketControl*; std::size_t = unsigned int]':
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:356:51: required from 'typename std::_Deque_iterator<_Tp, _Ref, _Ptr>::difference_type std::operator-(const std::_Deque_iterator<_Tp, _Ref, _Ptr>&, const std::_Deque_iterator<_Tp, _Ref, _Ptr>&) [with _Tp = AsyncWebSocketControl; _Ref = AsyncWebSocketControl&; _Ptr = AsyncWebSocketControl*; typename std::_Deque_iterator<_Tp, _Ref, _Ptr>::difference_type = int]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:1282:40: required from 'std::deque<_Tp, _Alloc>::size_type std::deque<_Tp, _Alloc>::size() const [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>; std::deque<_Tp, _Alloc>::size_type = unsigned int]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:959:12: required from 'std::deque<_Tp, _Alloc>::deque(const std::deque<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:108:7: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits<std::allocator<_Tp> >::construct(std::allocator_traits<std::allocator<_Tp> >::allocator_type&, _Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>; std::allocator_traits<std::allocator<_Tp> >::allocator_type = std::allocator<std::_List_node<AsyncWebSocketClient> >]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:645:33: required from 'std::__cxx11::list<_Tp, _Alloc>::_Node* std::__cxx11::list<_Tp, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::_Node = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1903:10: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_insert(std::__cxx11::list<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::iterator = std::_List_iterator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1235:4: required from 'void std::__cxx11::list<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1832:6: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_initialize_dispatch(_InputIterator, _InputIterator, std::__false_type) [with _InputIterator = std::_List_const_iterator<AsyncWebSocketClient>; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:746:9: required from 'std::__cxx11::list<_Tp, _Alloc>::list(const std::__cxx11::list<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:202:7: required from here
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:130:33: error: invalid application of 'sizeof' to incomplete type 'AsyncWebSocketControl'
{ return __deque_buf_size(sizeof(_Tp)); }
^~~~~~~~~~~
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h: In instantiation of 'void std::_Deque_base<_Tp, _Alloc>::_M_deallocate_node(std::_Deque_base<_Tp, _Alloc>::_Ptr) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>; std::_Deque_base<_Tp, _Alloc>::_Ptr = AsyncWebSocketControl*]':
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:744:2: required from 'void std::_Deque_base<_Tp, _Alloc>::_M_destroy_nodes(std::_Deque_base<_Tp, _Alloc>::_Map_pointer, std::_Deque_base<_Tp, _Alloc>::_Map_pointer) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>; std::_Deque_base<_Tp, _Alloc>::_Map_pointer = AsyncWebSocketControl**]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:666:4: required from 'std::_Deque_base<_Tp, _Alloc>::~_Deque_base() [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:959:18: required from 'std::deque<_Tp, _Alloc>::deque(const std::deque<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketControl; _Alloc = std::allocator<AsyncWebSocketControl>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:108:7: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits<std::allocator<_Tp> >::construct(std::allocator_traits<std::allocator<_Tp> >::allocator_type&, _Up*, _Args&& ...) [with _Up = AsyncWebSocketClient; _Args = {const AsyncWebSocketClient&}; _Tp = std::_List_node<AsyncWebSocketClient>; std::allocator_traits<std::allocator<_Tp> >::allocator_type = std::allocator<std::_List_node<AsyncWebSocketClient> >]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:645:33: required from 'std::__cxx11::list<_Tp, _Alloc>::_Node* std::__cxx11::list<_Tp, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::_Node = std::_List_node<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1903:10: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_insert(std::__cxx11::list<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>; std::__cxx11::list<_Tp, _Alloc>::iterator = std::_List_iterator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1235:4: required from 'void std::__cxx11::list<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const AsyncWebSocketClient&}; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:1832:6: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_initialize_dispatch(_InputIterator, _InputIterator, std::__false_type) [with _InputIterator = std::_List_const_iterator<AsyncWebSocketClient>; _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_list.h:746:9: required from 'std::__cxx11::list<_Tp, _Alloc>::list(const std::__cxx11::list<_Tp, _Alloc>&) [with _Tp = AsyncWebSocketClient; _Alloc = std::allocator<AsyncWebSocketClient>]'
/Users/oak/Development/erou-firmware-esp32/components/external-libraries/ESPAsyncWebServer/src/AsyncWebSocket.h:202:7: required from here
/Users/oak/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/bits/stl_deque.h:610:53: error: invalid application of 'sizeof' to incomplete type 'AsyncWebSocketControl'
_Traits::deallocate(_M_impl, __p, __deque_buf_size(sizeof(_Tp)));
^~~~~~~~~~~
make[2]: *** [esp-idf/main/CMakeFiles/__idf_main.dir/debug.cpp.obj] Error 1
make[1]: *** [esp-idf/main/CMakeFiles/__idf_main.dir/all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment