[1/122] cxx opt+bumproot '' _gen/cpp/build_stamp.cc _build/obj/cxx-opt+bumproot/_gen/cpp/build_stamp.o [2/122] cxx opt+bumproot '' _gen/bin/text_files.cc _build/obj/cxx-opt+bumproot/_gen/bin/text_files.o [3/122] cxx opt+bumproot '' cpp/fanos_shared.c _build/obj/cxx-opt+bumproot/cpp/fanos_shared.o [4/122] cxx opt+bumproot '' cpp/fanos.cc _build/obj/cxx-opt+bumproot/cpp/fanos.o [5/122] cxx opt+bumproot '' cpp/data_lang.cc _build/obj/cxx-opt+bumproot/cpp/data_lang.o [6/122] cxx opt+bumproot '' cpp/core.cc _build/obj/cxx-opt+bumproot/cpp/core.o [7/122] cxx opt+bumproot '' cpp/frontend_flag_spec.cc _build/obj/cxx-opt+bumproot/cpp/frontend_flag_spec.o [8/122] cxx opt+bumproot '' cpp/libc.cc _build/obj/cxx-opt+bumproot/cpp/libc.o [9/122] cxx opt+bumproot '' cpp/frontend_pyreadline.cc _build/obj/cxx-opt+bumproot/cpp/frontend_pyreadline.o [10/122] cxx opt+bumproot '' _gen/core/value.asdl.cc _build/obj/cxx-opt+bumproot/_gen/core/value.asdl.o [11/122] cxx opt+bumproot '' cpp/osh.cc _build/obj/cxx-opt+bumproot/cpp/osh.o [12/122] cxx opt+bumproot '' cpp/osh_tdop.cc _build/obj/cxx-opt+bumproot/cpp/osh_tdop.o [13/122] cxx opt+bumproot '' cpp/pylib.cc _build/obj/cxx-opt+bumproot/cpp/pylib.o [14/122] cxx opt+bumproot '' _gen/core/runtime.asdl.cc _build/obj/cxx-opt+bumproot/_gen/core/runtime.asdl.o [15/122] cxx opt+bumproot '' cpp/pgen2.cc _build/obj/cxx-opt+bumproot/cpp/pgen2.o [16/122] cxx opt+bumproot '' _gen/frontend/arg_types.cc _build/obj/cxx-opt+bumproot/_gen/frontend/arg_types.o [17/122] cxx opt+bumproot '' _gen/data_lang/nil8.asdl.cc _build/obj/cxx-opt+bumproot/_gen/data_lang/nil8.asdl.o [18/122] cxx opt+bumproot '' _gen/display/pretty.asdl.cc _build/obj/cxx-opt+bumproot/_gen/display/pretty.asdl.o [19/122] cxx opt+bumproot '' cpp/stdlib.cc _build/obj/cxx-opt+bumproot/cpp/stdlib.o [20/122] cxx opt+bumproot '' _gen/frontend/signal.cc _build/obj/cxx-opt+bumproot/_gen/frontend/signal.o [21/122] cxx opt+bumproot '' cpp/frontend_match.cc _build/obj/cxx-opt+bumproot/cpp/frontend_match.o [22/122] cxx opt+bumproot '' _gen/frontend/id_kind.asdl.cc _build/obj/cxx-opt+bumproot/_gen/frontend/id_kind.asdl.o [23/122] cxx opt+bumproot '' _gen/frontend/consts.cc _build/obj/cxx-opt+bumproot/_gen/frontend/consts.o [24/122] cxx opt+bumproot '' mycpp/bump_leak_heap.cc _build/obj/cxx-opt+bumproot/mycpp/bump_leak_heap.o [25/122] cxx opt+bumproot '' mycpp/gc_builtins.cc _build/obj/cxx-opt+bumproot/mycpp/gc_builtins.o [26/122] cxx opt+bumproot '' mycpp/gc_mops.cc _build/obj/cxx-opt+bumproot/mycpp/gc_mops.o [27/122] cxx opt+bumproot '' mycpp/hash.cc _build/obj/cxx-opt+bumproot/mycpp/hash.o [28/122] cxx opt+bumproot '' mycpp/mark_sweep_heap.cc _build/obj/cxx-opt+bumproot/mycpp/mark_sweep_heap.o [29/122] cxx opt+bumproot '' mycpp/gc_mylib.cc _build/obj/cxx-opt+bumproot/mycpp/gc_mylib.o [30/122] cxx opt+bumproot '' _gen/osh/arith_parse.cc _build/obj/cxx-opt+bumproot/_gen/osh/arith_parse.o [31/122] cxx opt+bumpsmall '' _gen/bin/text_files.cc _build/obj/cxx-opt+bumpsmall/_gen/bin/text_files.o [32/122] cxx opt+bumpsmall '' cpp/data_lang.cc _build/obj/cxx-opt+bumpsmall/cpp/data_lang.o [33/122] cxx opt+bumproot '' _gen/frontend/help_meta.cc _build/obj/cxx-opt+bumproot/_gen/frontend/help_meta.o [34/122] cxx opt+bumpsmall '' _gen/cpp/build_stamp.cc _build/obj/cxx-opt+bumpsmall/_gen/cpp/build_stamp.o [35/122] cxx opt+bumpsmall '' cpp/core.cc _build/obj/cxx-opt+bumpsmall/cpp/core.o [36/122] cxx opt+bumpsmall '' _gen/core/runtime.asdl.cc _build/obj/cxx-opt+bumpsmall/_gen/core/runtime.asdl.o [37/122] cxx opt+bumpsmall '' cpp/fanos_shared.c _build/obj/cxx-opt+bumpsmall/cpp/fanos_shared.o [38/122] cxx opt+bumpsmall '' cpp/fanos.cc _build/obj/cxx-opt+bumpsmall/cpp/fanos.o [39/122] cxx opt+bumpsmall '' _gen/core/value.asdl.cc _build/obj/cxx-opt+bumpsmall/_gen/core/value.asdl.o [40/122] cxx opt+bumpsmall '' cpp/frontend_flag_spec.cc _build/obj/cxx-opt+bumpsmall/cpp/frontend_flag_spec.o [41/122] cxx opt+bumpsmall '' cpp/frontend_pyreadline.cc _build/obj/cxx-opt+bumpsmall/cpp/frontend_pyreadline.o [42/122] cxx opt+bumproot '' _gen/frontend/syntax.asdl.cc _build/obj/cxx-opt+bumproot/_gen/frontend/syntax.asdl.o [43/122] cxx opt+bumproot '' _gen/ysh/grammar_tables.cc _build/obj/cxx-opt+bumproot/_gen/ysh/grammar_tables.o [44/122] cxx opt+bumpsmall '' cpp/libc.cc _build/obj/cxx-opt+bumpsmall/cpp/libc.o [45/122] cxx opt+bumpsmall '' cpp/osh.cc _build/obj/cxx-opt+bumpsmall/cpp/osh.o [46/122] cxx opt+bumpsmall '' cpp/osh_tdop.cc _build/obj/cxx-opt+bumpsmall/cpp/osh_tdop.o [47/122] cxx opt+bumpsmall '' cpp/pylib.cc _build/obj/cxx-opt+bumpsmall/cpp/pylib.o [48/122] cxx opt+bumpsmall '' cpp/pgen2.cc _build/obj/cxx-opt+bumpsmall/cpp/pgen2.o [49/122] cxx opt+bumpsmall '' cpp/stdlib.cc _build/obj/cxx-opt+bumpsmall/cpp/stdlib.o [50/122] cxx opt+bumpsmall '' _gen/frontend/arg_types.cc _build/obj/cxx-opt+bumpsmall/_gen/frontend/arg_types.o [51/122] cxx opt+bumpsmall '' _gen/data_lang/nil8.asdl.cc _build/obj/cxx-opt+bumpsmall/_gen/data_lang/nil8.asdl.o [52/122] cxx opt+bumpsmall '' _gen/display/pretty.asdl.cc _build/obj/cxx-opt+bumpsmall/_gen/display/pretty.asdl.o [53/122] cxx opt+bumpsmall '' cpp/frontend_match.cc _build/obj/cxx-opt+bumpsmall/cpp/frontend_match.o [54/122] cxx opt+bumpsmall '' _gen/frontend/id_kind.asdl.cc _build/obj/cxx-opt+bumpsmall/_gen/frontend/id_kind.asdl.o [55/122] cxx opt+bumpsmall '' _gen/frontend/signal.cc _build/obj/cxx-opt+bumpsmall/_gen/frontend/signal.o [56/122] cxx opt+bumpsmall '' mycpp/bump_leak_heap.cc _build/obj/cxx-opt+bumpsmall/mycpp/bump_leak_heap.o [57/122] cxx opt+bumpsmall '' _gen/frontend/consts.cc _build/obj/cxx-opt+bumpsmall/_gen/frontend/consts.o [58/122] cxx opt+bumpsmall '' mycpp/gc_mops.cc _build/obj/cxx-opt+bumpsmall/mycpp/gc_mops.o [59/122] cxx opt+bumpsmall '' mycpp/gc_builtins.cc _build/obj/cxx-opt+bumpsmall/mycpp/gc_builtins.o [60/122] cxx opt+bumpsmall '' mycpp/hash.cc _build/obj/cxx-opt+bumpsmall/mycpp/hash.o [61/122] cxx opt+bumpsmall '' mycpp/gc_mylib.cc _build/obj/cxx-opt+bumpsmall/mycpp/gc_mylib.o [62/122] cxx opt+bumproot '' mycpp/gc_str.cc _build/obj/cxx-opt+bumproot/mycpp/gc_str.o [63/122] cxx opt+bumpsmall '' _gen/osh/arith_parse.cc _build/obj/cxx-opt+bumpsmall/_gen/osh/arith_parse.o [64/122] cxx opt+bumpsmall '' mycpp/mark_sweep_heap.cc _build/obj/cxx-opt+bumpsmall/mycpp/mark_sweep_heap.o [65/122] cxx opt+nopool '' _gen/bin/text_files.cc _build/obj/cxx-opt+nopool/_gen/bin/text_files.o [66/122] cxx opt+bumpsmall '' _gen/frontend/help_meta.cc _build/obj/cxx-opt+bumpsmall/_gen/frontend/help_meta.o [67/122] cxx opt+nopool '' cpp/osh_tdop.cc _build/obj/cxx-opt+nopool/cpp/osh_tdop.o [68/122] cxx opt+nopool '' _gen/cpp/build_stamp.cc _build/obj/cxx-opt+nopool/_gen/cpp/build_stamp.o [69/122] cxx opt+nopool '' cpp/core.cc _build/obj/cxx-opt+nopool/cpp/core.o [70/122] cxx opt+nopool '' _gen/core/runtime.asdl.cc _build/obj/cxx-opt+nopool/_gen/core/runtime.asdl.o [71/122] cxx opt+nopool '' _gen/core/value.asdl.cc _build/obj/cxx-opt+nopool/_gen/core/value.asdl.o [72/122] cxx opt+nopool '' cpp/data_lang.cc _build/obj/cxx-opt+nopool/cpp/data_lang.o [73/122] cxx opt+nopool '' cpp/fanos.cc _build/obj/cxx-opt+nopool/cpp/fanos.o [74/122] cxx opt+nopool '' cpp/fanos_shared.c _build/obj/cxx-opt+nopool/cpp/fanos_shared.o [75/122] cxx opt+bumpsmall '' _gen/frontend/syntax.asdl.cc _build/obj/cxx-opt+bumpsmall/_gen/frontend/syntax.asdl.o [76/122] cxx opt+nopool '' cpp/frontend_flag_spec.cc _build/obj/cxx-opt+nopool/cpp/frontend_flag_spec.o [77/122] cxx opt+nopool '' cpp/frontend_pyreadline.cc _build/obj/cxx-opt+nopool/cpp/frontend_pyreadline.o [78/122] cxx opt+nopool '' cpp/libc.cc _build/obj/cxx-opt+nopool/cpp/libc.o [79/122] cxx opt+bumpsmall '' _gen/ysh/grammar_tables.cc _build/obj/cxx-opt+bumpsmall/_gen/ysh/grammar_tables.o [80/122] cxx opt+nopool '' cpp/osh.cc _build/obj/cxx-opt+nopool/cpp/osh.o [81/122] cxx opt+nopool '' cpp/pylib.cc _build/obj/cxx-opt+nopool/cpp/pylib.o [82/122] cxx opt+nopool '' cpp/pgen2.cc _build/obj/cxx-opt+nopool/cpp/pgen2.o [83/122] cxx opt+nopool '' _gen/data_lang/nil8.asdl.cc _build/obj/cxx-opt+nopool/_gen/data_lang/nil8.asdl.o [84/122] cxx opt+nopool '' _gen/frontend/arg_types.cc _build/obj/cxx-opt+nopool/_gen/frontend/arg_types.o [85/122] cxx opt+nopool '' cpp/stdlib.cc _build/obj/cxx-opt+nopool/cpp/stdlib.o [86/122] cxx opt+nopool '' _gen/display/pretty.asdl.cc _build/obj/cxx-opt+nopool/_gen/display/pretty.asdl.o [87/122] cxx opt+nopool '' cpp/frontend_match.cc _build/obj/cxx-opt+nopool/cpp/frontend_match.o [88/122] cxx opt+nopool '' _gen/frontend/id_kind.asdl.cc _build/obj/cxx-opt+nopool/_gen/frontend/id_kind.asdl.o [89/122] cxx opt+nopool '' _gen/frontend/signal.cc _build/obj/cxx-opt+nopool/_gen/frontend/signal.o [90/122] cxx opt+nopool '' mycpp/bump_leak_heap.cc _build/obj/cxx-opt+nopool/mycpp/bump_leak_heap.o [91/122] cxx opt+bumpsmall '' mycpp/gc_str.cc _build/obj/cxx-opt+bumpsmall/mycpp/gc_str.o [92/122] cxx opt+nopool '' mycpp/gc_mops.cc _build/obj/cxx-opt+nopool/mycpp/gc_mops.o [93/122] cxx opt+nopool '' _gen/frontend/consts.cc _build/obj/cxx-opt+nopool/_gen/frontend/consts.o [94/122] cxx opt+nopool '' mycpp/gc_builtins.cc _build/obj/cxx-opt+nopool/mycpp/gc_builtins.o [95/122] cxx opt+nopool '' mycpp/hash.cc _build/obj/cxx-opt+nopool/mycpp/hash.o [96/122] cxx opt+nopool '' mycpp/gc_mylib.cc _build/obj/cxx-opt+nopool/mycpp/gc_mylib.o [97/122] cxx opt+nopool '' mycpp/mark_sweep_heap.cc _build/obj/cxx-opt+nopool/mycpp/mark_sweep_heap.o [98/122] cxx opt+nopool '' _gen/osh/arith_parse.cc _build/obj/cxx-opt+nopool/_gen/osh/arith_parse.o [99/122] cxx opt+nopool '' _gen/frontend/help_meta.cc _build/obj/cxx-opt+nopool/_gen/frontend/help_meta.o [100/122] cxx opt '' _gen/bin/oils_for_unix.mycpp.cc _build/obj/cxx-opt/_gen/bin/oils_for_unix.mycpp.o FAILED: _build/obj/cxx-opt/_gen/bin/oils_for_unix.mycpp.o build/ninja-rules-cpp.sh compile_one cxx opt '' _gen/bin/oils_for_unix.mycpp.cc _build/obj/cxx-opt/_gen/bin/oils_for_unix.mycpp.o _build/obj/cxx-opt/_gen/bin/oils_for_unix.mycpp.o.d _gen/bin/oils_for_unix.mycpp.cc: In member function 'syntax_asdl::expr_t* expr_to_ast::Transformer::_Trailer(syntax_asdl::expr_t*, pnode::PNode*)': _gen/bin/oils_for_unix.mycpp.cc:54101:15: error: 'void*' is not a pointer-to-object type slices->append(this->_Subscript(p_args->GetChild(i))); ^~ In file included from /home/uke/oil/mycpp/runtime.h:13, from /home/uke/oil/_gen/core/optview.h:5, from /home/uke/oil/cpp/preamble.h:10, from _gen/bin/oils_for_unix.mycpp.cc:5: /home/uke/oil/mycpp/gc_list.h: In instantiation of 'class List': /home/uke/oil/mycpp/gc_alloc.h:119:40: required from 'T* Alloc(Args&& ...) [with T = List; Args = {}]' _gen/bin/oils_for_unix.mycpp.cc:54099:34: required from here /home/uke/oil/mycpp/gc_list.h:311:5: error: invalid parameter type 'void' int List::index(T value) { ^~~~~~~ /home/uke/oil/mycpp/gc_list.h:311:5: error: in declaration 'int List::index(T)' /home/uke/oil/mycpp/gc_list.h:281:6: error: invalid parameter type 'void' void List::set(int i, T item) { ^~~~~~~ /home/uke/oil/mycpp/gc_list.h:281:6: error: in declaration 'void List::set(int, T)' /home/uke/oil/mycpp/gc_list.h:358:6: error: invalid parameter type 'void' void List::remove(T x) { ^~~~~~~ /home/uke/oil/mycpp/gc_list.h:358:6: error: in declaration 'void List::remove(T)' /home/uke/oil/mycpp/gc_list.h:198:6: error: invalid parameter type 'void' void List::append(T item) { ^~~~~~~ /home/uke/oil/mycpp/gc_list.h:198:6: error: in declaration 'void List::append(T)' /home/uke/oil/mycpp/gc_list.h:99:37: warning: invalid application of 'sizeof' to a void type [-Wpointer-arith] static_assert(sizeof(ObjHeader) % sizeof(T) == 0, ^~~~~~~~~ /home/uke/oil/mycpp/gc_list.h:113:31: warning: invalid application of 'sizeof' to a void type [-Wpointer-arith] static_assert(kPoolBytes2 % sizeof(T) == 0, ^~~~~~~~~ In file included from /home/uke/oil/mycpp/runtime.h:8, from /home/uke/oil/_gen/core/optview.h:5, from /home/uke/oil/cpp/preamble.h:10, from _gen/bin/oils_for_unix.mycpp.cc:5: /home/uke/oil/mycpp/gc_alloc.h: In instantiation of 'T* Alloc(Args&& ...) [with T = syntax_asdl::expr__Tuple; Args = {syntax_asdl::Token*&, void*&, syntax_asdl::expr_context_e}]': _gen/bin/oils_for_unix.mycpp.cc:54104:78: required from here /home/uke/oil/mycpp/gc_alloc.h:144:10: error: invalid conversion from 'void*' to 'List*' [-fpermissive] return new (obj) T(std::forward(args)...); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/uke/oil/cpp/preamble.h:21, from _gen/bin/oils_for_unix.mycpp.cc:5: /home/uke/oil/_gen/frontend/syntax.asdl.h:3716:43: note: initializing argument 2 of 'syntax_asdl::expr__Tuple::expr__Tuple(syntax_asdl::Token*, List*, syntax_asdl::expr_context_t)' expr__Tuple(Token* left, List* elts, expr_context_t ctx) ~~~~~~~~~~~~~~~^~~~ [101/122] cxx opt+bumpleak '' _gen/bin/oils_for_unix.mycpp.cc _build/obj/cxx-opt+bumpleak/_gen/bin/oils_for_unix.mycpp.o FAILED: _build/obj/cxx-opt+bumpleak/_gen/bin/oils_for_unix.mycpp.o build/ninja-rules-cpp.sh compile_one cxx opt+bumpleak '' _gen/bin/oils_for_unix.mycpp.cc _build/obj/cxx-opt+bumpleak/_gen/bin/oils_for_unix.mycpp.o _build/obj/cxx-opt+bumpleak/_gen/bin/oils_for_unix.mycpp.o.d _gen/bin/oils_for_unix.mycpp.cc: In member function 'syntax_asdl::expr_t* expr_to_ast::Transformer::_Trailer(syntax_asdl::expr_t*, pnode::PNode*)': _gen/bin/oils_for_unix.mycpp.cc:54101:15: error: 'void*' is not a pointer-to-object type slices->append(this->_Subscript(p_args->GetChild(i))); ^~ In file included from /home/uke/oil/mycpp/runtime.h:13, from /home/uke/oil/_gen/core/optview.h:5, from /home/uke/oil/cpp/preamble.h:10, from _gen/bin/oils_for_unix.mycpp.cc:5: /home/uke/oil/mycpp/gc_list.h: In instantiation of 'class List': /home/uke/oil/mycpp/gc_alloc.h:119:40: required from 'T* Alloc(Args&& ...) [with T = List; Args = {}]' _gen/bin/oils_for_unix.mycpp.cc:54099:34: required from here /home/uke/oil/mycpp/gc_list.h:311:5: error: invalid parameter type 'void' int List::index(T value) { ^~~~~~~ /home/uke/oil/mycpp/gc_list.h:311:5: error: in declaration 'int List::index(T)' /home/uke/oil/mycpp/gc_list.h:281:6: error: invalid parameter type 'void' void List::set(int i, T item) { ^~~~~~~ /home/uke/oil/mycpp/gc_list.h:281:6: error: in declaration 'void List::set(int, T)' /home/uke/oil/mycpp/gc_list.h:358:6: error: invalid parameter type 'void' void List::remove(T x) { ^~~~~~~ /home/uke/oil/mycpp/gc_list.h:358:6: error: in declaration 'void List::remove(T)' /home/uke/oil/mycpp/gc_list.h:198:6: error: invalid parameter type 'void' void List::append(T item) { ^~~~~~~ /home/uke/oil/mycpp/gc_list.h:198:6: error: in declaration 'void List::append(T)' /home/uke/oil/mycpp/gc_list.h:99:37: warning: invalid application of 'sizeof' to a void type [-Wpointer-arith] static_assert(sizeof(ObjHeader) % sizeof(T) == 0, ^~~~~~~~~ /home/uke/oil/mycpp/gc_list.h:113:31: warning: invalid application of 'sizeof' to a void type [-Wpointer-arith] static_assert(kPoolBytes2 % sizeof(T) == 0, ^~~~~~~~~ In file included from /home/uke/oil/mycpp/runtime.h:8, from /home/uke/oil/_gen/core/optview.h:5, from /home/uke/oil/cpp/preamble.h:10, from _gen/bin/oils_for_unix.mycpp.cc:5: /home/uke/oil/mycpp/gc_alloc.h: In instantiation of 'T* Alloc(Args&& ...) [with T = syntax_asdl::expr__Tuple; Args = {syntax_asdl::Token*&, void*&, syntax_asdl::expr_context_e}]': _gen/bin/oils_for_unix.mycpp.cc:54104:78: required from here /home/uke/oil/mycpp/gc_alloc.h:144:10: error: invalid conversion from 'void*' to 'List*' [-fpermissive] return new (obj) T(std::forward(args)...); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/uke/oil/cpp/preamble.h:21, from _gen/bin/oils_for_unix.mycpp.cc:5: /home/uke/oil/_gen/frontend/syntax.asdl.h:3716:43: note: initializing argument 2 of 'syntax_asdl::expr__Tuple::expr__Tuple(syntax_asdl::Token*, List*, syntax_asdl::expr_context_t)' expr__Tuple(Token* left, List* elts, expr_context_t ctx) ~~~~~~~~~~~~~~~^~~~ [102/122] cxx opt+bumproot '' _gen/bin/oils_for_unix.mycpp.cc _build/obj/cxx-opt+bumproot/_gen/bin/oils_for_unix.mycpp.o FAILED: _build/obj/cxx-opt+bumproot/_gen/bin/oils_for_unix.mycpp.o build/ninja-rules-cpp.sh compile_one cxx opt+bumproot '' _gen/bin/oils_for_unix.mycpp.cc _build/obj/cxx-opt+bumproot/_gen/bin/oils_for_unix.mycpp.o _build/obj/cxx-opt+bumproot/_gen/bin/oils_for_unix.mycpp.o.d _gen/bin/oils_for_unix.mycpp.cc: In member function 'syntax_asdl::expr_t* expr_to_ast::Transformer::_Trailer(syntax_asdl::expr_t*, pnode::PNode*)': _gen/bin/oils_for_unix.mycpp.cc:54101:15: error: 'void*' is not a pointer-to-object type slices->append(this->_Subscript(p_args->GetChild(i))); ^~ In file included from /home/uke/oil/mycpp/runtime.h:13, from /home/uke/oil/_gen/core/optview.h:5, from /home/uke/oil/cpp/preamble.h:10, from _gen/bin/oils_for_unix.mycpp.cc:5: /home/uke/oil/mycpp/gc_list.h: In instantiation of 'class List': /home/uke/oil/mycpp/gc_alloc.h:119:40: required from 'T* Alloc(Args&& ...) [with T = List; Args = {}]' _gen/bin/oils_for_unix.mycpp.cc:54099:34: required from here /home/uke/oil/mycpp/gc_list.h:311:5: error: invalid parameter type 'void' int List::index(T value) { ^~~~~~~ /home/uke/oil/mycpp/gc_list.h:311:5: error: in declaration 'int List::index(T)' /home/uke/oil/mycpp/gc_list.h:281:6: error: invalid parameter type 'void' void List::set(int i, T item) { ^~~~~~~ /home/uke/oil/mycpp/gc_list.h:281:6: error: in declaration 'void List::set(int, T)' /home/uke/oil/mycpp/gc_list.h:358:6: error: invalid parameter type 'void' void List::remove(T x) { ^~~~~~~ /home/uke/oil/mycpp/gc_list.h:358:6: error: in declaration 'void List::remove(T)' /home/uke/oil/mycpp/gc_list.h:198:6: error: invalid parameter type 'void' void List::append(T item) { ^~~~~~~ /home/uke/oil/mycpp/gc_list.h:198:6: error: in declaration 'void List::append(T)' /home/uke/oil/mycpp/gc_list.h:99:37: warning: invalid application of 'sizeof' to a void type [-Wpointer-arith] static_assert(sizeof(ObjHeader) % sizeof(T) == 0, ^~~~~~~~~ /home/uke/oil/mycpp/gc_list.h:113:31: warning: invalid application of 'sizeof' to a void type [-Wpointer-arith] static_assert(kPoolBytes2 % sizeof(T) == 0, ^~~~~~~~~ In file included from /home/uke/oil/mycpp/runtime.h:8, from /home/uke/oil/_gen/core/optview.h:5, from /home/uke/oil/cpp/preamble.h:10, from _gen/bin/oils_for_unix.mycpp.cc:5: /home/uke/oil/mycpp/gc_alloc.h: In instantiation of 'T* Alloc(Args&& ...) [with T = syntax_asdl::expr__Tuple; Args = {syntax_asdl::Token*&, void*&, syntax_asdl::expr_context_e}]': _gen/bin/oils_for_unix.mycpp.cc:54104:78: required from here /home/uke/oil/mycpp/gc_alloc.h:144:10: error: invalid conversion from 'void*' to 'List*' [-fpermissive] return new (obj) T(std::forward(args)...); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/uke/oil/cpp/preamble.h:21, from _gen/bin/oils_for_unix.mycpp.cc:5: /home/uke/oil/_gen/frontend/syntax.asdl.h:3716:43: note: initializing argument 2 of 'syntax_asdl::expr__Tuple::expr__Tuple(syntax_asdl::Token*, List*, syntax_asdl::expr_context_t)' expr__Tuple(Token* left, List* elts, expr_context_t ctx) ~~~~~~~~~~~~~~~^~~~ [103/122] cxx opt+nopool '' _gen/frontend/syntax.asdl.cc _build/obj/cxx-opt+nopool/_gen/frontend/syntax.asdl.o [104/122] cxx opt+nopool '' _gen/ysh/grammar_tables.cc _build/obj/cxx-opt+nopool/_gen/ysh/grammar_tables.o [105/122] cxx opt+nopool '' mycpp/gc_str.cc _build/obj/cxx-opt+nopool/mycpp/gc_str.o ninja: build stopped: subcommand failed.