Skipping benchmark of test_switch Skipping benchmark of test_switch Skipping benchmark of test_conditional Skipping benchmark of test_conditional Skipping benchmark of control_flow Skipping benchmark of control_flow Skipping test of strings Skipping test of strings Skipping benchmark of files Skipping benchmark of files Skipping benchmark of cartesian Skipping benchmark of cartesian Skipping benchmark of test_cast Skipping benchmark of test_cast Skipping benchmark of test_hoist Skipping benchmark of test_hoist [1/207] compile gc_debug _ninja/bin/unit/gc_heap_test.gc_debug '' gc_heap_test.cc gc_heap.cc +c++ -o _ninja/bin/unit/gc_heap_test.gc_debug -std=c++11 -Wall -I ../cpp -g -D GC_PROTECT -D GC_DEBUG -D GC_EVERY_ALLOC -I . gc_heap_test.cc gc_heap.cc -lstdc++ In file included from /usr/include/time.h:29:0, from ../cpp/greatest.h:141, from gc_heap_test.cc:11: gc_heap_test.cc:47:24: warning: offsetof within non-standard-layout type ‘gc_heap::Str’ is undefined [-Winvalid-offsetof] static_assert(offsetof(Str, data_) == offsetof(GlobalStr<1>, data_), ^ gc_heap_test.cc:50:24: warning: offsetof within non-standard-layout type ‘gc_heap::Slab’ is undefined [-Winvalid-offsetof] static_assert(offsetof(Slab, items_) == ^ gc_heap_test.cc:58:24: warning: offsetof within non-standard-layout type ‘gc_heap::List’ is undefined [-Winvalid-offsetof] static_assert(offsetof(List, slab_) == ^ In file included from gc_heap_test.cc:11:0: gc_heap_test.cc: In function ‘greatest_test_res compile_time_masks_test()’: gc_heap_test.cc:763:22: warning: offsetof within non-standard-layout type ‘gc_heap::List’ is undefined [-Winvalid-offsetof] ASSERT_EQ(offsetof(List, slab_), ^ ../cpp/greatest.h:480:14: note: in definition of macro ‘GREATEST_ASSERT_EQm’ if ((EXP) != (GOT)) { GREATEST_FAILm(MSG); } \ ^~~ ../cpp/greatest.h:1179:24: note: in expansion of macro ‘GREATEST_ASSERT_EQ’ #define ASSERT_EQ GREATEST_ASSERT_EQ ^~~~~~~~~~~~~~~~~~ gc_heap_test.cc:771:22: warning: offsetof within non-standard-layout type ‘gc_heap::Dict’ is undefined [-Winvalid-offsetof] ASSERT_EQ(offsetof(gc_heap::Dict, index_), ^ ../cpp/greatest.h:480:14: note: in definition of macro ‘GREATEST_ASSERT_EQm’ if ((EXP) != (GOT)) { GREATEST_FAILm(MSG); } \ ^~~ ../cpp/greatest.h:1179:24: note: in expansion of macro ‘GREATEST_ASSERT_EQ’ #define ASSERT_EQ GREATEST_ASSERT_EQ ^~~~~~~~~~~~~~~~~~ gc_heap_test.cc:773:22: warning: offsetof within non-standard-layout type ‘gc_heap::Dict’ is undefined [-Winvalid-offsetof] ASSERT_EQ(offsetof(gc_heap::Dict, keys_), ^ ../cpp/greatest.h:480:14: note: in definition of macro ‘GREATEST_ASSERT_EQm’ if ((EXP) != (GOT)) { GREATEST_FAILm(MSG); } \ ^~~ ../cpp/greatest.h:1179:24: note: in expansion of macro ‘GREATEST_ASSERT_EQ’ #define ASSERT_EQ GREATEST_ASSERT_EQ ^~~~~~~~~~~~~~~~~~ gc_heap_test.cc:775:22: warning: offsetof within non-standard-layout type ‘gc_heap::Dict’ is undefined [-Winvalid-offsetof] ASSERT_EQ(offsetof(gc_heap::Dict, values_), ^ ../cpp/greatest.h:480:14: note: in definition of macro ‘GREATEST_ASSERT_EQm’ if ((EXP) != (GOT)) { GREATEST_FAILm(MSG); } \ ^~~ ../cpp/greatest.h:1179:24: note: in expansion of macro ‘GREATEST_ASSERT_EQ’ #define ASSERT_EQ GREATEST_ASSERT_EQ ^~~~~~~~~~~~~~~~~~ gc_heap_test.cc: In function ‘greatest_test_res vtable_test()’: ../cpp/greatest.h:491:55: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] GREATEST_FPRINTF(GREATEST_STDOUT, FMT, EXP); \ ^ ../cpp/greatest.h:438:5: note: in expansion of macro ‘GREATEST_ASSERT_EQ_FMTm’ GREATEST_ASSERT_EQ_FMTm(#EXP " != " #GOT, EXP, GOT, FMT) ^~~~~~~~~~~~~~~~~~~~~~~ ../cpp/greatest.h:1180:24: note: in expansion of macro ‘GREATEST_ASSERT_EQ_FMT’ #define ASSERT_EQ_FMT GREATEST_ASSERT_EQ_FMT ^~~~~~~~~~~~~~~~~~~~~~ gc_heap_test.cc:852:5: note: in expansion of macro ‘ASSERT_EQ_FMT’ ASSERT_EQ_FMT(sizeof(DerivedObj), header->obj_len_, "%d"); ^~~~~~~~~~~~~ gc_heap_test.cc: At global scope: gc_heap_test.cc:749:6: warning: ‘greatest_test_res repro2()’ defined but not used [-Wunused-function] TEST repro2() { ^~~~~~ gc_heap_test.cc:655:6: warning: ‘greatest_test_res variance_test()’ defined but not used [-Wunused-function] TEST variance_test() { ^~~~~~~~~~~~~ gc_heap_test.cc:506:6: warning: ‘greatest_test_res global_trace_test()’ defined but not used [-Wunused-function] TEST global_trace_test() { ^~~~~~~~~~~~~~~~~ gc_heap_test.cc:466:6: warning: ‘greatest_test_res slab_trace_test()’ defined but not used [-Wunused-function] TEST slab_trace_test() { ^~~~~~~~~~~~~~~ gc_heap_test.cc:437:6: warning: ‘greatest_test_res fixed_trace_test()’ defined but not used [-Wunused-function] TEST fixed_trace_test() { ^~~~~~~~~~~~~~~~ [2/207] task _ninja/bin/unit/gc_heap_test.gc_debug _ninja/tasks/unit/gc_heap_test.gc_debug.task.txt _ninja/tasks/unit/gc_heap_test.gc_debug.log.txt [3/207] compile gc_debug _ninja/bin/unit/gc_stress_test.gc_debug '' gc_stress_test.cc my_runtime.cc mylib2.cc gc_heap.cc +c++ -o _ninja/bin/unit/gc_stress_test.gc_debug -std=c++11 -Wall -I ../cpp -g -D GC_PROTECT -D GC_DEBUG -D GC_EVERY_ALLOC -I . gc_stress_test.cc my_runtime.cc mylib2.cc gc_heap.cc -lstdc++ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from my_runtime.h:13, from my_runtime.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime.cc: In member function ‘gc_heap::List* gc_heap::Str::split(gc_heap::Str*)’: my_runtime.cc:458:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < breaks.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ [4/207] task _ninja/bin/unit/gc_stress_test.gc_debug _ninja/tasks/unit/gc_stress_test.gc_debug.task.txt _ninja/tasks/unit/gc_stress_test.gc_debug.log.txt [5/207] compile gc_debug _ninja/bin/unit/my_runtime_test.gc_debug '' my_runtime_test.cc my_runtime.cc mylib2.cc gc_heap.cc +c++ -o _ninja/bin/unit/my_runtime_test.gc_debug -std=c++11 -Wall -I ../cpp -g -D GC_PROTECT -D GC_DEBUG -D GC_EVERY_ALLOC -I . my_runtime_test.cc my_runtime.cc mylib2.cc gc_heap.cc -lstdc++ In file included from /usr/include/time.h:29:0, from ../cpp/greatest.h:141, from my_runtime_test.cc:6: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime_test.cc: In function ‘greatest_test_res int_to_str_test()’: my_runtime_test.cc:127:27: warning: integer overflow in expression [-Woverflow] int_str = str((1 << 31) - 1); ~~~~~~~~~~^~~ my_runtime_test.cc:130:17: warning: integer overflow in expression [-Woverflow] int_str = str(-(1 << 31) + 1); ^~~~~~~~~~ my_runtime_test.cc:133:17: warning: integer overflow in expression [-Woverflow] int int_min = -(1 << 31); ^~~~~~~~~~ my_runtime_test.cc: In function ‘greatest_test_res contains_test()’: my_runtime_test.cc:566:8: warning: unused variable ‘b’ [-Wunused-variable] bool b; ^ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from my_runtime.h:13, from my_runtime.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime.cc: In member function ‘gc_heap::List* gc_heap::Str::split(gc_heap::Str*)’: my_runtime.cc:458:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < breaks.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ [6/207] task _ninja/bin/unit/my_runtime_test.gc_debug _ninja/tasks/unit/my_runtime_test.gc_debug.task.txt _ninja/tasks/unit/my_runtime_test.gc_debug.log.txt [7/207] compile gc_debug _ninja/bin/unit/mylib2_test.gc_debug '' mylib2_test.cc my_runtime.cc mylib2.cc gc_heap.cc +c++ -o _ninja/bin/unit/mylib2_test.gc_debug -std=c++11 -Wall -I ../cpp -g -D GC_PROTECT -D GC_DEBUG -D GC_EVERY_ALLOC -I . mylib2_test.cc my_runtime.cc mylib2.cc gc_heap.cc -lstdc++ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2_test.cc:1: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ mylib2_test.cc: In function ‘greatest_test_res int_to_str_test()’: mylib2_test.cc:53:17: warning: integer overflow in expression [-Woverflow] int int_min = -(1 << 31); ^~~~~~~~~~ In file included from /usr/include/time.h:29:0, from ../cpp/greatest.h:141, from mylib2_test.cc:4: mylib2_test.cc: In function ‘greatest_test_res writer_test()’: mylib2_test.cc:75:34: warning: offsetof within non-standard-layout type ‘mylib::BufWriter’ is undefined [-Winvalid-offsetof] log("buf obj_len %d", offsetof(mylib::BufWriter, obj_len_)); ^ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from my_runtime.h:13, from my_runtime.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime.cc: In member function ‘gc_heap::List* gc_heap::Str::split(gc_heap::Str*)’: my_runtime.cc:458:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < breaks.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ [8/207] task _ninja/bin/unit/mylib2_test.gc_debug _ninja/tasks/unit/mylib2_test.gc_debug.task.txt _ninja/tasks/unit/mylib2_test.gc_debug.log.txt [9/207] compile gc_debug _ninja/bin/unit/target_lang.gc_debug '' demo/target_lang.cc ../cpp/dumb_alloc.cc gc_heap.cc +c++ -o _ninja/bin/unit/target_lang.gc_debug -std=c++11 -Wall -I ../cpp -g -D GC_PROTECT -D GC_DEBUG -D GC_EVERY_ALLOC -I . demo/target_lang.cc ../cpp/dumb_alloc.cc gc_heap.cc -lstdc++ demo/target_lang.cc: In function ‘greatest_test_res typed_arith_parse::namespace_demo()’: demo/target_lang.cc:212:8: warning: unused variable ‘p’ [-Wunused-variable] auto p = new tdop::Parser(42); ^ demo/target_lang.cc:213:8: warning: unused variable ‘p2’ [-Wunused-variable] auto p2 = new Parser(43); ^~ demo/target_lang.cc: In function ‘greatest_test_res mmap_demo()’: demo/target_lang.cc:563:9: warning: unused variable ‘tmp2’ [-Wunused-variable] char* tmp2 = static_cast(tmp); ^~~~ demo/target_lang.cc: In function ‘greatest_test_res comma_demo()’: demo/target_lang.cc:570:16: warning: left operand of comma operator has no effect [-Wunused-value] auto k = (3, 5); ^ demo/target_lang.cc: At global scope: demo/target_lang.cc:519:6: warning: ‘greatest_test_res inheritance_demo()’ defined but not used [-Wunused-function] TEST inheritance_demo() { ^~~~~~~~~~~~~~~~ [10/207] task _ninja/bin/unit/target_lang.gc_debug _ninja/tasks/unit/target_lang.gc_debug.task.txt _ninja/tasks/unit/target_lang.gc_debug.log.txt [11/207] example-task cgi Python examples/cgi.py _ninja/tasks/test/cgi.py.task.txt _ninja/tasks/test/cgi.py.log.txt [12/207] compile gc_debug _ninja/bin/unit/mylib_test.gc_debug '' mylib_test.cc mylib.cc +c++ -o _ninja/bin/unit/mylib_test.gc_debug -std=c++11 -Wall -I ../cpp -g -D GC_PROTECT -D GC_DEBUG -D GC_EVERY_ALLOC -I . mylib_test.cc mylib.cc -lstdc++ mylib_test.cc: In function ‘greatest_test_res test_str_funcs()’: mylib_test.cc:122:17: warning: integer overflow in expression [-Woverflow] int int_min = -(1 << 31); ^~~~~~~~~~ mylib_test.cc:139:8: warning: unused variable ‘re1’ [-Wunused-variable] Str* re1 = s1->replace(new Str("ab"), new Str("--")); ^~~ mylib_test.cc:144:8: warning: unused variable ‘re2’ [-Wunused-variable] Str* re2 = s1->replace(new Str("bc"), new Str("--")); ^~~ [13/207] task _ninja/bin/unit/mylib_test.gc_debug _ninja/tasks/unit/mylib_test.gc_debug.task.txt _ninja/tasks/unit/mylib_test.gc_debug.log.txt [14/207] typecheck examples/cgi.py _ninja/tasks/typecheck/cgi.log.txt [15/207] example-task cgi Python examples/cgi.py _ninja/tasks/benchmark/cgi.py.task.txt _ninja/tasks/benchmark/cgi.py.log.txt [16/207] example-task test_switch Python examples/test_switch.py _ninja/tasks/test/test_switch.py.task.txt _ninja/tasks/test/test_switch.py.log.txt [17/207] typecheck examples/test_switch.py _ninja/tasks/typecheck/test_switch.log.txt [18/207] typecheck examples/varargs.py _ninja/tasks/typecheck/varargs.log.txt [19/207] example-task varargs Python examples/varargs.py _ninja/tasks/test/varargs.py.task.txt _ninja/tasks/test/varargs.py.log.txt [20/207] example-task varargs Python examples/varargs.py _ninja/tasks/benchmark/varargs.py.task.txt _ninja/tasks/benchmark/varargs.py.log.txt [21/207] translate _ninja/gen/cgi_raw.cc examples/cgi.py to_compile cgi FORWARD DECL forward decl name cgi mypyfile cgi DECL decl name cgi mypyfile cgi GLOBAL List/Dict: BACKSLASH GLOBAL List/Dict: RAW_BACKSLASH DEFINITION mypyfile cgi GLOBAL List/Dict: BACKSLASH GLOBAL List/Dict: RAW_BACKSLASH roots ['s'] roots ['mystr'] roots [] real 0m3.252s user 0m2.384s sys 0m0.024s [22/207] wrap-cc cgi _ninja/gen/cgi_raw.cc '' _ninja/gen/cgi.cc [23/207] translate _ninja/gen/test_switch_raw.cc examples/test_switch.py to_compile test_switch FORWARD DECL forward decl name test_switch mypyfile test_switch DECL decl name test_switch mypyfile test_switch DEFINITION mypyfile test_switch roots [] real 0m3.482s user 0m2.387s sys 0m0.059s [24/207] compile asan _ninja/bin/examples/cgi.asan '' _ninja/gen/cgi.cc my_runtime.cc mylib2.cc gc_heap.cc +c++ -o _ninja/bin/examples/cgi.asan -std=c++11 -Wall -O0 -g -fsanitize=address -I . _ninja/gen/cgi.cc my_runtime.cc mylib2.cc gc_heap.cc -lstdc++ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from ./common.h:9, from ./gc_heap.h:18, from _ninja/gen/cgi.cc:5: ./mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: ./mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from my_runtime.h:13, from my_runtime.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime.cc: In member function ‘gc_heap::List* gc_heap::Str::split(gc_heap::Str*)’: my_runtime.cc:458:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < breaks.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ [25/207] example-task cgi C++ _ninja/bin/examples/cgi.asan _ninja/tasks/test/cgi.asan.task.txt _ninja/tasks/test/cgi.asan.log.txt [26/207] wrap-cc test_switch _ninja/gen/test_switch_raw.cc '' _ninja/gen/test_switch.cc [27/207] translate _ninja/gen/varargs_raw.cc examples/varargs.py to_compile varargs FORWARD DECL forward decl name varargs mypyfile varargs DECL decl name varargs mypyfile varargs GLOBAL List/Dict: CONST DEFINITION mypyfile varargs GLOBAL List/Dict: CONST real 0m3.378s user 0m2.350s sys 0m0.067s [28/207] compile asan _ninja/bin/examples/test_switch.asan '' _ninja/gen/test_switch.cc my_runtime.cc mylib2.cc gc_heap.cc +c++ -o _ninja/bin/examples/test_switch.asan -std=c++11 -Wall -O0 -g -fsanitize=address -I . _ninja/gen/test_switch.cc my_runtime.cc mylib2.cc gc_heap.cc -lstdc++ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from ./common.h:9, from ./gc_heap.h:18, from _ninja/gen/test_switch.cc:5: ./mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: ./mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from my_runtime.h:13, from my_runtime.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime.cc: In member function ‘gc_heap::List* gc_heap::Str::split(gc_heap::Str*)’: my_runtime.cc:458:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < breaks.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ [29/207] example-task test_switch C++ _ninja/bin/examples/test_switch.asan _ninja/tasks/test/test_switch.asan.task.txt _ninja/tasks/test/test_switch.asan.log.txt [30/207] wrap-cc varargs _ninja/gen/varargs_raw.cc examples/varargs_preamble.h _ninja/gen/varargs.cc [31/207] compile opt _ninja/bin/examples/cgi.opt '' _ninja/gen/cgi.cc my_runtime.cc mylib2.cc gc_heap.cc +c++ -o _ninja/bin/examples/cgi.opt -std=c++11 -Wall -O2 -g -I . _ninja/gen/cgi.cc my_runtime.cc mylib2.cc gc_heap.cc -lstdc++ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from ./common.h:9, from ./gc_heap.h:18, from _ninja/gen/cgi.cc:5: ./mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: ./mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from my_runtime.h:13, from my_runtime.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime.cc: In member function ‘gc_heap::List* gc_heap::Str::split(gc_heap::Str*)’: my_runtime.cc:458:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < breaks.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ [32/207] strip _ninja/bin/examples/cgi.opt _ninja/bin/examples-stripped/cgi.opt [33/207] example-task cgi C++ _ninja/bin/examples/cgi.opt _ninja/tasks/benchmark/cgi.opt.task.txt _ninja/tasks/benchmark/cgi.opt.log.txt [34/207] compile opt _ninja/bin/examples/test_switch.opt '' _ninja/gen/test_switch.cc my_runtime.cc mylib2.cc gc_heap.cc +c++ -o _ninja/bin/examples/test_switch.opt -std=c++11 -Wall -O2 -g -I . _ninja/gen/test_switch.cc my_runtime.cc mylib2.cc gc_heap.cc -lstdc++ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from ./common.h:9, from ./gc_heap.h:18, from _ninja/gen/test_switch.cc:5: ./mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: ./mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from my_runtime.h:13, from my_runtime.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime.cc: In member function ‘gc_heap::List* gc_heap::Str::split(gc_heap::Str*)’: my_runtime.cc:458:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < breaks.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ [35/207] compile asan _ninja/bin/examples/varargs.asan '-I ../cpp -I ../_build/cpp -I ../_devbuild/gen' _ninja/gen/varargs.cc my_runtime.cc mylib2.cc gc_heap.cc +c++ -o _ninja/bin/examples/varargs.asan -std=c++11 -Wall -I ../cpp -I ../_build/cpp -I ../_devbuild/gen -O0 -g -fsanitize=address -I . _ninja/gen/varargs.cc my_runtime.cc mylib2.cc gc_heap.cc -lstdc++ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from ./common.h:9, from ./gc_heap.h:18, from ./examples/varargs_preamble.h:5, from _ninja/gen/varargs.cc:3: ./mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: ./mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from my_runtime.h:13, from my_runtime.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime.cc: In member function ‘gc_heap::List* gc_heap::Str::split(gc_heap::Str*)’: my_runtime.cc:458:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < breaks.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ [36/207] strip _ninja/bin/examples/test_switch.opt _ninja/bin/examples-stripped/test_switch.opt [37/207] example-task files Python examples/files.py _ninja/tasks/test/files.py.task.txt _ninja/tasks/test/files.py.log.txt [38/207] example-task varargs C++ _ninja/bin/examples/varargs.asan _ninja/tasks/test/varargs.asan.task.txt _ninja/tasks/test/varargs.asan.log.txt [39/207] compile opt _ninja/bin/examples/varargs.opt '-I ../cpp -I ../_build/cpp -I ../_devbuild/gen' _ninja/gen/varargs.cc my_runtime.cc mylib2.cc gc_heap.cc +c++ -o _ninja/bin/examples/varargs.opt -std=c++11 -Wall -I ../cpp -I ../_build/cpp -I ../_devbuild/gen -O2 -g -I . _ninja/gen/varargs.cc my_runtime.cc mylib2.cc gc_heap.cc -lstdc++ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from ./common.h:9, from ./gc_heap.h:18, from ./examples/varargs_preamble.h:5, from _ninja/gen/varargs.cc:3: ./mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: ./mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from my_runtime.h:13, from my_runtime.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime.cc: In member function ‘gc_heap::List* gc_heap::Str::split(gc_heap::Str*)’: my_runtime.cc:458:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < breaks.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ [40/207] strip _ninja/bin/examples/varargs.opt _ninja/bin/examples-stripped/varargs.opt [41/207] example-task varargs C++ _ninja/bin/examples/varargs.opt _ninja/tasks/benchmark/varargs.opt.task.txt _ninja/tasks/benchmark/varargs.opt.log.txt [42/207] example-task test_conditional Python examples/test_conditional.py _ninja/tasks/test/test_conditional.py.task.txt _ninja/tasks/test/test_conditional.py.log.txt [43/207] translate _ninja/gen/files_raw.cc examples/files.py to_compile files FORWARD DECL forward decl name files mypyfile files DECL decl name files mypyfile files DEFINITION mypyfile files roots ['f', 'contents', 'f2'] roots ['f'] real 0m3.437s user 0m2.379s sys 0m0.044s [44/207] typecheck examples/test_conditional.py _ninja/tasks/typecheck/test_conditional.log.txt [45/207] example-task control_flow Python examples/control_flow.py _ninja/tasks/test/control_flow.py.task.txt _ninja/tasks/test/control_flow.py.log.txt [46/207] typecheck examples/control_flow.py _ninja/tasks/typecheck/control_flow.log.txt [47/207] typecheck examples/tuple_return_value.py _ninja/tasks/typecheck/tuple_return_value.log.txt [48/207] example-task tuple_return_value Python examples/tuple_return_value.py _ninja/tasks/test/tuple_return_value.py.task.txt _ninja/tasks/test/tuple_return_value.py.log.txt [49/207] translate _ninja/gen/test_conditional_raw.cc examples/test_conditional.py to_compile test_conditional FORWARD DECL forward decl name test_conditional mypyfile test_conditional DECL decl name test_conditional mypyfile test_conditional DEFINITION mypyfile test_conditional roots ['mylist'] real 0m3.496s user 0m2.419s sys 0m0.043s [50/207] wrap-cc test_conditional _ninja/gen/test_conditional_raw.cc '' _ninja/gen/test_conditional.cc [51/207] example-task tuple_return_value Python examples/tuple_return_value.py _ninja/tasks/benchmark/tuple_return_value.py.task.txt _ninja/tasks/benchmark/tuple_return_value.py.log.txt [52/207] compile asan _ninja/bin/examples/test_conditional.asan '' _ninja/gen/test_conditional.cc my_runtime.cc mylib2.cc gc_heap.cc +c++ -o _ninja/bin/examples/test_conditional.asan -std=c++11 -Wall -O0 -g -fsanitize=address -I . _ninja/gen/test_conditional.cc my_runtime.cc mylib2.cc gc_heap.cc -lstdc++ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from ./common.h:9, from ./gc_heap.h:18, from _ninja/gen/test_conditional.cc:5: ./mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: ./mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from my_runtime.h:13, from my_runtime.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime.cc: In member function ‘gc_heap::List* gc_heap::Str::split(gc_heap::Str*)’: my_runtime.cc:458:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < breaks.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ [53/207] example-task test_conditional C++ _ninja/bin/examples/test_conditional.asan _ninja/tasks/test/test_conditional.asan.task.txt _ninja/tasks/test/test_conditional.asan.log.txt [54/207] translate _ninja/gen/control_flow_raw.cc examples/control_flow.py to_compile control_flow FORWARD DECL forward decl name control_flow mypyfile control_flow DECL decl name control_flow mypyfile control_flow DEFINITION mypyfile control_flow roots [] roots ['s'] roots ['result', 'tmp'] roots ['tmp'] roots ['result', 'cases'] real 0m3.368s user 0m2.356s sys 0m0.036s [55/207] wrap-cc control_flow _ninja/gen/control_flow_raw.cc '' _ninja/gen/control_flow.cc [56/207] compile opt _ninja/bin/examples/test_conditional.opt '' _ninja/gen/test_conditional.cc my_runtime.cc mylib2.cc gc_heap.cc +c++ -o _ninja/bin/examples/test_conditional.opt -std=c++11 -Wall -O2 -g -I . _ninja/gen/test_conditional.cc my_runtime.cc mylib2.cc gc_heap.cc -lstdc++ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from ./common.h:9, from ./gc_heap.h:18, from _ninja/gen/test_conditional.cc:5: ./mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: ./mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from my_runtime.h:13, from my_runtime.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime.cc: In member function ‘gc_heap::List* gc_heap::Str::split(gc_heap::Str*)’: my_runtime.cc:458:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < breaks.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ [57/207] strip _ninja/bin/examples/test_conditional.opt _ninja/bin/examples-stripped/test_conditional.opt [58/207] compile asan _ninja/bin/examples/control_flow.asan '' _ninja/gen/control_flow.cc my_runtime.cc mylib2.cc gc_heap.cc +c++ -o _ninja/bin/examples/control_flow.asan -std=c++11 -Wall -O0 -g -fsanitize=address -I . _ninja/gen/control_flow.cc my_runtime.cc mylib2.cc gc_heap.cc -lstdc++ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from ./common.h:9, from ./gc_heap.h:18, from _ninja/gen/control_flow.cc:5: ./mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: ./mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from my_runtime.h:13, from my_runtime.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime.cc: In member function ‘gc_heap::List* gc_heap::Str::split(gc_heap::Str*)’: my_runtime.cc:458:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < breaks.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ [59/207] example-task control_flow C++ _ninja/bin/examples/control_flow.asan _ninja/tasks/test/control_flow.asan.task.txt _ninja/tasks/test/control_flow.asan.log.txt [60/207] translate _ninja/gen/tuple_return_value_raw.cc examples/tuple_return_value.py to_compile tuple_return_value FORWARD DECL forward decl name tuple_return_value mypyfile tuple_return_value DECL decl name tuple_return_value mypyfile tuple_return_value DEFINITION mypyfile tuple_return_value roots ['s'] roots ['s', 'items', 'mytuple', 'mystr'] roots ['s'] real 0m3.292s user 0m2.336s sys 0m0.067s [61/207] wrap-cc tuple_return_value _ninja/gen/tuple_return_value_raw.cc '' _ninja/gen/tuple_return_value.cc [62/207] compile opt _ninja/bin/examples/control_flow.opt '' _ninja/gen/control_flow.cc my_runtime.cc mylib2.cc gc_heap.cc +c++ -o _ninja/bin/examples/control_flow.opt -std=c++11 -Wall -O2 -g -I . _ninja/gen/control_flow.cc my_runtime.cc mylib2.cc gc_heap.cc -lstdc++ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from ./common.h:9, from ./gc_heap.h:18, from _ninja/gen/control_flow.cc:5: ./mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: ./mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from my_runtime.h:13, from my_runtime.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime.cc: In member function ‘gc_heap::List* gc_heap::Str::split(gc_heap::Str*)’: my_runtime.cc:458:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < breaks.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ [63/207] strip _ninja/bin/examples/control_flow.opt _ninja/bin/examples-stripped/control_flow.opt [64/207] typecheck examples/asdl_generated.py _ninja/tasks/typecheck/asdl_generated.log.txt [65/207] compile asan _ninja/bin/examples/tuple_return_value.asan '' _ninja/gen/tuple_return_value.cc my_runtime.cc mylib2.cc gc_heap.cc +c++ -o _ninja/bin/examples/tuple_return_value.asan -std=c++11 -Wall -O0 -g -fsanitize=address -I . _ninja/gen/tuple_return_value.cc my_runtime.cc mylib2.cc gc_heap.cc -lstdc++ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from ./common.h:9, from ./gc_heap.h:18, from _ninja/gen/tuple_return_value.cc:5: ./mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: ./mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ _ninja/gen/tuple_return_value.cc: In function ‘void tuple_return_value::run_tests()’: _ninja/gen/tuple_return_value.cc:72:7: warning: variable ‘myint’ set but not used [-Wunused-but-set-variable] int myint; ^~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from my_runtime.h:13, from my_runtime.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime.cc: In member function ‘gc_heap::List* gc_heap::Str::split(gc_heap::Str*)’: my_runtime.cc:458:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < breaks.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ [66/207] example-task asdl_generated Python examples/asdl_generated.py _ninja/tasks/test/asdl_generated.py.task.txt _ninja/tasks/test/asdl_generated.py.log.txt [67/207] example-task tuple_return_value C++ _ninja/bin/examples/tuple_return_value.asan _ninja/tasks/test/tuple_return_value.asan.task.txt _ninja/tasks/test/tuple_return_value.asan.log.txt [68/207] compile opt _ninja/bin/examples/tuple_return_value.opt '' _ninja/gen/tuple_return_value.cc my_runtime.cc mylib2.cc gc_heap.cc +c++ -o _ninja/bin/examples/tuple_return_value.opt -std=c++11 -Wall -O2 -g -I . _ninja/gen/tuple_return_value.cc my_runtime.cc mylib2.cc gc_heap.cc -lstdc++ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from ./common.h:9, from ./gc_heap.h:18, from _ninja/gen/tuple_return_value.cc:5: ./mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: ./mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ _ninja/gen/tuple_return_value.cc: In function ‘void tuple_return_value::run_tests()’: _ninja/gen/tuple_return_value.cc:72:7: warning: variable ‘myint’ set but not used [-Wunused-but-set-variable] int myint; ^~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from my_runtime.h:13, from my_runtime.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime.cc: In member function ‘gc_heap::List* gc_heap::Str::split(gc_heap::Str*)’: my_runtime.cc:458:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < breaks.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ [69/207] strip _ninja/bin/examples/tuple_return_value.opt _ninja/bin/examples-stripped/tuple_return_value.opt [70/207] example-task tuple_return_value C++ _ninja/bin/examples/tuple_return_value.opt _ninja/tasks/benchmark/tuple_return_value.opt.task.txt _ninja/tasks/benchmark/tuple_return_value.opt.log.txt [71/207] example-task asdl_generated Python examples/asdl_generated.py _ninja/tasks/benchmark/asdl_generated.py.task.txt _ninja/tasks/benchmark/asdl_generated.py.log.txt [72/207] example-task strings Python examples/strings.py _ninja/tasks/benchmark/strings.py.task.txt _ninja/tasks/benchmark/strings.py.log.txt [73/207] typecheck examples/strings.py _ninja/tasks/typecheck/strings.log.txt [74/207] typecheck examples/modules.py _ninja/tasks/typecheck/modules.log.txt [75/207] example-task modules Python examples/modules.py _ninja/tasks/test/modules.py.task.txt _ninja/tasks/test/modules.py.log.txt [76/207] example-task modules Python examples/modules.py _ninja/tasks/benchmark/modules.py.task.txt _ninja/tasks/benchmark/modules.py.log.txt [77/207] translate _ninja/gen/asdl_generated_raw.cc examples/asdl_generated.py to_compile asdl_generated FORWARD DECL forward decl name asdl_generated mypyfile asdl_generated DECL decl name asdl_generated mypyfile asdl_generated DEFINITION mypyfile asdl_generated roots ['x'] roots ['x'] real 0m3.292s user 0m2.295s sys 0m0.051s [78/207] wrap-cc asdl_generated _ninja/gen/asdl_generated_raw.cc '' _ninja/gen/asdl_generated.cc [79/207] translate _ninja/gen/strings_raw.cc examples/strings.py to_compile strings FORWARD DECL forward decl name strings mypyfile strings DECL decl name strings mypyfile strings DEFINITION mypyfile strings roots ['obj', 's', 'x'] real 0m3.251s user 0m2.333s sys 0m0.040s [80/207] compile asan _ninja/bin/examples/asdl_generated.asan '' _ninja/gen/asdl_generated.cc my_runtime.cc mylib2.cc gc_heap.cc +c++ -o _ninja/bin/examples/asdl_generated.asan -std=c++11 -Wall -O0 -g -fsanitize=address -I . _ninja/gen/asdl_generated.cc my_runtime.cc mylib2.cc gc_heap.cc -lstdc++ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from ./common.h:9, from ./gc_heap.h:18, from _ninja/gen/asdl_generated.cc:5: ./mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: ./mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from my_runtime.h:13, from my_runtime.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime.cc: In member function ‘gc_heap::List* gc_heap::Str::split(gc_heap::Str*)’: my_runtime.cc:458:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < breaks.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ [81/207] example-task asdl_generated C++ _ninja/bin/examples/asdl_generated.asan _ninja/tasks/test/asdl_generated.asan.task.txt _ninja/tasks/test/asdl_generated.asan.log.txt [82/207] wrap-cc strings _ninja/gen/strings_raw.cc '' _ninja/gen/strings.cc [83/207] translate _ninja/gen/modules_raw.cc testpkg/module1.py testpkg/module2.py examples/modules.py to_compile testpkg.module1 to_compile testpkg.module2 to_compile modules FORWARD DECL forward decl name testpkg.module1 mypyfile testpkg.module1 forward decl name testpkg.module2 mypyfile testpkg.module2 forward decl name modules mypyfile modules DECL decl name testpkg.module1 mypyfile testpkg.module1 GLOBAL List/Dict: CONST1 decl name testpkg.module2 mypyfile testpkg.module2 GLOBAL List/Dict: CONST2 decl name modules mypyfile modules DEFINITION mypyfile testpkg.module1 GLOBAL List/Dict: CONST1 mypyfile testpkg.module2 GLOBAL List/Dict: CONST2 mypyfile modules roots ['dog', 'cat', 'cat2'] roots [] real 0m3.301s user 0m2.448s sys 0m0.024s [84/207] wrap-cc modules _ninja/gen/modules_raw.cc '' _ninja/gen/modules.cc [85/207] compile opt _ninja/bin/examples/asdl_generated.opt '' _ninja/gen/asdl_generated.cc my_runtime.cc mylib2.cc gc_heap.cc +c++ -o _ninja/bin/examples/asdl_generated.opt -std=c++11 -Wall -O2 -g -I . _ninja/gen/asdl_generated.cc my_runtime.cc mylib2.cc gc_heap.cc -lstdc++ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from ./common.h:9, from ./gc_heap.h:18, from _ninja/gen/asdl_generated.cc:5: ./mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: ./mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from my_runtime.h:13, from my_runtime.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime.cc: In member function ‘gc_heap::List* gc_heap::Str::split(gc_heap::Str*)’: my_runtime.cc:458:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < breaks.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ [86/207] strip _ninja/bin/examples/asdl_generated.opt _ninja/bin/examples-stripped/asdl_generated.opt [87/207] example-task asdl_generated C++ _ninja/bin/examples/asdl_generated.opt _ninja/tasks/benchmark/asdl_generated.opt.task.txt _ninja/tasks/benchmark/asdl_generated.opt.log.txt [88/207] compile opt _ninja/bin/examples/strings.opt '' _ninja/gen/strings.cc my_runtime.cc mylib2.cc gc_heap.cc +c++ -o _ninja/bin/examples/strings.opt -std=c++11 -Wall -O2 -g -I . _ninja/gen/strings.cc my_runtime.cc mylib2.cc gc_heap.cc -lstdc++ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from ./common.h:9, from ./gc_heap.h:18, from _ninja/gen/strings.cc:5: ./mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: ./mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from my_runtime.h:13, from my_runtime.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime.cc: In member function ‘gc_heap::List* gc_heap::Str::split(gc_heap::Str*)’: my_runtime.cc:458:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < breaks.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ [89/207] strip _ninja/bin/examples/strings.opt _ninja/bin/examples-stripped/strings.opt [90/207] example-task strings C++ _ninja/bin/examples/strings.opt _ninja/tasks/benchmark/strings.opt.task.txt _ninja/tasks/benchmark/strings.opt.log.txt [91/207] compile asan _ninja/bin/examples/modules.asan '' _ninja/gen/modules.cc my_runtime.cc mylib2.cc gc_heap.cc +c++ -o _ninja/bin/examples/modules.asan -std=c++11 -Wall -O0 -g -fsanitize=address -I . _ninja/gen/modules.cc my_runtime.cc mylib2.cc gc_heap.cc -lstdc++ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from ./common.h:9, from ./gc_heap.h:18, from _ninja/gen/modules.cc:5: ./mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: ./mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from my_runtime.h:13, from my_runtime.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime.cc: In member function ‘gc_heap::List* gc_heap::Str::split(gc_heap::Str*)’: my_runtime.cc:458:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < breaks.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ [92/207] example-task modules C++ _ninja/bin/examples/modules.asan _ninja/tasks/test/modules.asan.task.txt _ninja/tasks/test/modules.asan.log.txt [93/207] wrap-cc files _ninja/gen/files_raw.cc '' _ninja/gen/files.cc [94/207] compile opt _ninja/bin/examples/modules.opt '' _ninja/gen/modules.cc my_runtime.cc mylib2.cc gc_heap.cc +c++ -o _ninja/bin/examples/modules.opt -std=c++11 -Wall -O2 -g -I . _ninja/gen/modules.cc my_runtime.cc mylib2.cc gc_heap.cc -lstdc++ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from ./common.h:9, from ./gc_heap.h:18, from _ninja/gen/modules.cc:5: ./mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: ./mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from my_runtime.h:13, from my_runtime.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime.cc: In member function ‘gc_heap::List* gc_heap::Str::split(gc_heap::Str*)’: my_runtime.cc:458:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < breaks.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ [95/207] strip _ninja/bin/examples/modules.opt _ninja/bin/examples-stripped/modules.opt [96/207] example-task modules C++ _ninja/bin/examples/modules.opt _ninja/tasks/benchmark/modules.opt.task.txt _ninja/tasks/benchmark/modules.opt.log.txt [97/207] compile asan _ninja/bin/examples/files.asan '' _ninja/gen/files.cc my_runtime.cc mylib2.cc gc_heap.cc +c++ -o _ninja/bin/examples/files.asan -std=c++11 -Wall -O0 -g -fsanitize=address -I . _ninja/gen/files.cc my_runtime.cc mylib2.cc gc_heap.cc -lstdc++ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from ./common.h:9, from ./gc_heap.h:18, from _ninja/gen/files.cc:5: ./mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: ./mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from my_runtime.h:13, from my_runtime.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime.cc: In member function ‘gc_heap::List* gc_heap::Str::split(gc_heap::Str*)’: my_runtime.cc:458:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < breaks.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ [98/207] example-task files C++ _ninja/bin/examples/files.asan _ninja/tasks/test/files.asan.task.txt _ninja/tasks/test/files.asan.log.txt [99/207] typecheck examples/files.py _ninja/tasks/typecheck/files.log.txt [100/207] typecheck examples/length.py _ninja/tasks/typecheck/length.log.txt [101/207] example-task length Python examples/length.py _ninja/tasks/test/length.py.task.txt _ninja/tasks/test/length.py.log.txt [102/207] compile opt _ninja/bin/examples/files.opt '' _ninja/gen/files.cc my_runtime.cc mylib2.cc gc_heap.cc +c++ -o _ninja/bin/examples/files.opt -std=c++11 -Wall -O2 -g -I . _ninja/gen/files.cc my_runtime.cc mylib2.cc gc_heap.cc -lstdc++ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from ./common.h:9, from ./gc_heap.h:18, from _ninja/gen/files.cc:5: ./mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: ./mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from my_runtime.h:13, from my_runtime.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime.cc: In member function ‘gc_heap::List* gc_heap::Str::split(gc_heap::Str*)’: my_runtime.cc:458:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < breaks.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ [103/207] strip _ninja/bin/examples/files.opt _ninja/bin/examples-stripped/files.opt [104/207] example-task length Python examples/length.py _ninja/tasks/benchmark/length.py.task.txt _ninja/tasks/benchmark/length.py.log.txt [105/207] example-task cartesian Python examples/cartesian.py _ninja/tasks/test/cartesian.py.task.txt _ninja/tasks/test/cartesian.py.log.txt [106/207] typecheck examples/cartesian.py _ninja/tasks/typecheck/cartesian.log.txt [107/207] typecheck examples/escape.py _ninja/tasks/typecheck/escape.log.txt [108/207] example-task escape Python examples/escape.py _ninja/tasks/test/escape.py.task.txt _ninja/tasks/test/escape.py.log.txt [109/207] example-task escape Python examples/escape.py _ninja/tasks/benchmark/escape.py.task.txt _ninja/tasks/benchmark/escape.py.log.txt [110/207] translate _ninja/gen/length_raw.cc examples/length.py to_compile length FORWARD DECL forward decl name length mypyfile length DECL decl name length mypyfile length DEFINITION mypyfile length roots ['a', 'b', 'y', 'n'] roots ['mystr', 'mylist', 'c2'] roots ['mystr', 'mylist'] real 0m3.394s user 0m2.310s sys 0m0.051s [111/207] wrap-cc length _ninja/gen/length_raw.cc '' _ninja/gen/length.cc [112/207] translate _ninja/gen/cartesian_raw.cc examples/cartesian.py to_compile cartesian FORWARD DECL forward decl name cartesian mypyfile cartesian DECL decl name cartesian mypyfile cartesian DEFINITION mypyfile cartesian roots ['dims', 'out', 'rest'] roots ['out', 'tmp', 'tmp2'] roots ['out'] real 0m3.565s user 0m2.340s sys 0m0.048s [113/207] compile asan _ninja/bin/examples/length.asan '' _ninja/gen/length.cc my_runtime.cc mylib2.cc gc_heap.cc +c++ -o _ninja/bin/examples/length.asan -std=c++11 -Wall -O0 -g -fsanitize=address -I . _ninja/gen/length.cc my_runtime.cc mylib2.cc gc_heap.cc -lstdc++ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from ./common.h:9, from ./gc_heap.h:18, from _ninja/gen/length.cc:5: ./mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: ./mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from my_runtime.h:13, from my_runtime.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime.cc: In member function ‘gc_heap::List* gc_heap::Str::split(gc_heap::Str*)’: my_runtime.cc:458:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < breaks.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ [114/207] example-task length C++ _ninja/bin/examples/length.asan _ninja/tasks/test/length.asan.task.txt _ninja/tasks/test/length.asan.log.txt [115/207] wrap-cc cartesian _ninja/gen/cartesian_raw.cc '' _ninja/gen/cartesian.cc [116/207] translate _ninja/gen/escape_raw.cc examples/escape.py to_compile escape FORWARD DECL forward decl name escape mypyfile escape DECL decl name escape mypyfile escape GLOBAL List/Dict: GLOB_META_CHARS DEFINITION mypyfile escape roots ['s', 'meta_chars', 'escaped'] GLOBAL List/Dict: GLOB_META_CHARS roots ['s'] real 0m3.519s user 0m2.383s sys 0m0.098s [117/207] compile opt _ninja/bin/examples/length.opt '' _ninja/gen/length.cc my_runtime.cc mylib2.cc gc_heap.cc +c++ -o _ninja/bin/examples/length.opt -std=c++11 -Wall -O2 -g -I . _ninja/gen/length.cc my_runtime.cc mylib2.cc gc_heap.cc -lstdc++ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from ./common.h:9, from ./gc_heap.h:18, from _ninja/gen/length.cc:5: ./mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: ./mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from my_runtime.h:13, from my_runtime.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime.cc: In member function ‘gc_heap::List* gc_heap::Str::split(gc_heap::Str*)’: my_runtime.cc:458:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < breaks.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ [118/207] strip _ninja/bin/examples/length.opt _ninja/bin/examples-stripped/length.opt [119/207] compile asan _ninja/bin/examples/cartesian.asan '' _ninja/gen/cartesian.cc my_runtime.cc mylib2.cc gc_heap.cc +c++ -o _ninja/bin/examples/cartesian.asan -std=c++11 -Wall -O0 -g -fsanitize=address -I . _ninja/gen/cartesian.cc my_runtime.cc mylib2.cc gc_heap.cc -lstdc++ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from ./common.h:9, from ./gc_heap.h:18, from _ninja/gen/cartesian.cc:5: ./mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: ./mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from my_runtime.h:13, from my_runtime.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime.cc: In member function ‘gc_heap::List* gc_heap::Str::split(gc_heap::Str*)’: my_runtime.cc:458:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < breaks.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ [120/207] example-task cartesian C++ _ninja/bin/examples/cartesian.asan _ninja/tasks/test/cartesian.asan.task.txt _ninja/tasks/test/cartesian.asan.log.txt [121/207] example-task length C++ _ninja/bin/examples/length.opt _ninja/tasks/benchmark/length.opt.task.txt _ninja/tasks/benchmark/length.opt.log.txt [122/207] wrap-cc escape _ninja/gen/escape_raw.cc '' _ninja/gen/escape.cc [123/207] compile asan _ninja/bin/examples/escape.asan '' _ninja/gen/escape.cc my_runtime.cc mylib2.cc gc_heap.cc +c++ -o _ninja/bin/examples/escape.asan -std=c++11 -Wall -O0 -g -fsanitize=address -I . _ninja/gen/escape.cc my_runtime.cc mylib2.cc gc_heap.cc -lstdc++ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from ./common.h:9, from ./gc_heap.h:18, from _ninja/gen/escape.cc:5: ./mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: ./mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from my_runtime.h:13, from my_runtime.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime.cc: In member function ‘gc_heap::List* gc_heap::Str::split(gc_heap::Str*)’: my_runtime.cc:458:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < breaks.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ [124/207] compile opt _ninja/bin/examples/cartesian.opt '' _ninja/gen/cartesian.cc my_runtime.cc mylib2.cc gc_heap.cc +c++ -o _ninja/bin/examples/cartesian.opt -std=c++11 -Wall -O2 -g -I . _ninja/gen/cartesian.cc my_runtime.cc mylib2.cc gc_heap.cc -lstdc++ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from ./common.h:9, from ./gc_heap.h:18, from _ninja/gen/cartesian.cc:5: ./mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: ./mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from my_runtime.h:13, from my_runtime.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime.cc: In member function ‘gc_heap::List* gc_heap::Str::split(gc_heap::Str*)’: my_runtime.cc:458:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < breaks.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ [125/207] strip _ninja/bin/examples/cartesian.opt _ninja/bin/examples-stripped/cartesian.opt [126/207] example-task escape C++ _ninja/bin/examples/escape.asan _ninja/tasks/test/escape.asan.task.txt _ninja/tasks/test/escape.asan.log.txt [127/207] example-task test_cast Python examples/test_cast.py _ninja/tasks/test/test_cast.py.task.txt _ninja/tasks/test/test_cast.py.log.txt [128/207] typecheck examples/test_cast.py _ninja/tasks/typecheck/test_cast.log.txt [129/207] typecheck examples/scoped_resource.py _ninja/tasks/typecheck/scoped_resource.log.txt [130/207] example-task scoped_resource Python examples/scoped_resource.py _ninja/tasks/test/scoped_resource.py.task.txt _ninja/tasks/test/scoped_resource.py.log.txt [131/207] compile opt _ninja/bin/examples/escape.opt '' _ninja/gen/escape.cc my_runtime.cc mylib2.cc gc_heap.cc +c++ -o _ninja/bin/examples/escape.opt -std=c++11 -Wall -O2 -g -I . _ninja/gen/escape.cc my_runtime.cc mylib2.cc gc_heap.cc -lstdc++ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from ./common.h:9, from ./gc_heap.h:18, from _ninja/gen/escape.cc:5: ./mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: ./mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from my_runtime.h:13, from my_runtime.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime.cc: In member function ‘gc_heap::List* gc_heap::Str::split(gc_heap::Str*)’: my_runtime.cc:458:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < breaks.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ [132/207] strip _ninja/bin/examples/escape.opt _ninja/bin/examples-stripped/escape.opt [133/207] example-task escape C++ _ninja/bin/examples/escape.opt _ninja/tasks/benchmark/escape.opt.task.txt _ninja/tasks/benchmark/escape.opt.log.txt [134/207] translate _ninja/gen/test_cast_raw.cc examples/test_cast.py to_compile test_cast FORWARD DECL forward decl name test_cast mypyfile test_cast DECL decl name test_cast mypyfile test_cast DEFINITION mypyfile test_cast roots ['raw', 's'] roots ['f', 'out', 's'] real 0m3.565s user 0m2.345s sys 0m0.047s [135/207] wrap-cc test_cast _ninja/gen/test_cast_raw.cc '' _ninja/gen/test_cast.cc [136/207] example-task scoped_resource Python examples/scoped_resource.py _ninja/tasks/benchmark/scoped_resource.py.task.txt _ninja/tasks/benchmark/scoped_resource.py.log.txt [137/207] compile asan _ninja/bin/examples/test_cast.asan '' _ninja/gen/test_cast.cc my_runtime.cc mylib2.cc gc_heap.cc +c++ -o _ninja/bin/examples/test_cast.asan -std=c++11 -Wall -O0 -g -fsanitize=address -I . _ninja/gen/test_cast.cc my_runtime.cc mylib2.cc gc_heap.cc -lstdc++ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from ./common.h:9, from ./gc_heap.h:18, from _ninja/gen/test_cast.cc:5: ./mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: ./mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ _ninja/gen/test_cast.cc: In function ‘void test_cast::run_tests()’: _ninja/gen/test_cast.cc:69:7: warning: variable ‘num_chars’ set but not used [-Wunused-but-set-variable] int num_chars; ^~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from my_runtime.h:13, from my_runtime.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime.cc: In member function ‘gc_heap::List* gc_heap::Str::split(gc_heap::Str*)’: my_runtime.cc:458:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < breaks.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ [138/207] translate _ninja/gen/scoped_resource_raw.cc examples/scoped_resource.py to_compile scoped_resource FORWARD DECL forward decl name scoped_resource mypyfile scoped_resource DECL decl name scoped_resource mypyfile scoped_resource DEFINITION mypyfile scoped_resource roots [] roots ['entry'] roots ['ret'] roots ['d'] roots ['d'] roots ['d'] real 0m3.384s user 0m2.289s sys 0m0.056s [139/207] example-task test_cast C++ _ninja/bin/examples/test_cast.asan _ninja/tasks/test/test_cast.asan.task.txt _ninja/tasks/test/test_cast.asan.log.txt [140/207] wrap-cc scoped_resource _ninja/gen/scoped_resource_raw.cc '' _ninja/gen/scoped_resource.cc [141/207] compile opt _ninja/bin/examples/test_cast.opt '' _ninja/gen/test_cast.cc my_runtime.cc mylib2.cc gc_heap.cc +c++ -o _ninja/bin/examples/test_cast.opt -std=c++11 -Wall -O2 -g -I . _ninja/gen/test_cast.cc my_runtime.cc mylib2.cc gc_heap.cc -lstdc++ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from ./common.h:9, from ./gc_heap.h:18, from _ninja/gen/test_cast.cc:5: ./mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: ./mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ _ninja/gen/test_cast.cc: In function ‘void test_cast::run_tests()’: _ninja/gen/test_cast.cc:69:7: warning: variable ‘num_chars’ set but not used [-Wunused-but-set-variable] int num_chars; ^~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from my_runtime.h:13, from my_runtime.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime.cc: In member function ‘gc_heap::List* gc_heap::Str::split(gc_heap::Str*)’: my_runtime.cc:458:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < breaks.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ [142/207] strip _ninja/bin/examples/test_cast.opt _ninja/bin/examples-stripped/test_cast.opt [143/207] compile asan _ninja/bin/examples/scoped_resource.asan '' _ninja/gen/scoped_resource.cc my_runtime.cc mylib2.cc gc_heap.cc +c++ -o _ninja/bin/examples/scoped_resource.asan -std=c++11 -Wall -O0 -g -fsanitize=address -I . _ninja/gen/scoped_resource.cc my_runtime.cc mylib2.cc gc_heap.cc -lstdc++ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from ./common.h:9, from ./gc_heap.h:18, from _ninja/gen/scoped_resource.cc:5: ./mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: ./mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from my_runtime.h:13, from my_runtime.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime.cc: In member function ‘gc_heap::List* gc_heap::Str::split(gc_heap::Str*)’: my_runtime.cc:458:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < breaks.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ [144/207] example-task scoped_resource C++ _ninja/bin/examples/scoped_resource.asan _ninja/tasks/test/scoped_resource.asan.task.txt _ninja/tasks/test/scoped_resource.asan.log.txt [145/207] example-task test_hoist Python examples/test_hoist.py _ninja/tasks/test/test_hoist.py.task.txt _ninja/tasks/test/test_hoist.py.log.txt [146/207] typecheck examples/test_hoist.py _ninja/tasks/typecheck/test_hoist.log.txt [147/207] compile opt _ninja/bin/examples/scoped_resource.opt '' _ninja/gen/scoped_resource.cc my_runtime.cc mylib2.cc gc_heap.cc +c++ -o _ninja/bin/examples/scoped_resource.opt -std=c++11 -Wall -O2 -g -I . _ninja/gen/scoped_resource.cc my_runtime.cc mylib2.cc gc_heap.cc -lstdc++ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from ./common.h:9, from ./gc_heap.h:18, from _ninja/gen/scoped_resource.cc:5: ./mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: ./mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from my_runtime.h:13, from my_runtime.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime.cc: In member function ‘gc_heap::List* gc_heap::Str::split(gc_heap::Str*)’: my_runtime.cc:458:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < breaks.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ [148/207] typecheck examples/loops.py _ninja/tasks/typecheck/loops.log.txt [149/207] strip _ninja/bin/examples/scoped_resource.opt _ninja/bin/examples-stripped/scoped_resource.opt [150/207] example-task scoped_resource C++ _ninja/bin/examples/scoped_resource.opt _ninja/tasks/benchmark/scoped_resource.opt.task.txt _ninja/tasks/benchmark/scoped_resource.opt.log.txt [151/207] example-task loops Python examples/loops.py _ninja/tasks/test/loops.py.task.txt _ninja/tasks/test/loops.py.log.txt [152/207] example-task loops Python examples/loops.py _ninja/tasks/benchmark/loops.py.task.txt _ninja/tasks/benchmark/loops.py.log.txt [153/207] translate _ninja/gen/test_hoist_raw.cc examples/test_hoist.py to_compile test_hoist FORWARD DECL forward decl name test_hoist mypyfile test_hoist DECL decl name test_hoist mypyfile test_hoist GLOBAL List/Dict: S DEFINITION mypyfile test_hoist roots ['s'] GLOBAL List/Dict: S roots ['s'] real 0m3.255s user 0m2.242s sys 0m0.052s [154/207] wrap-cc test_hoist _ninja/gen/test_hoist_raw.cc '' _ninja/gen/test_hoist.cc [155/207] compile asan _ninja/bin/examples/test_hoist.asan '' _ninja/gen/test_hoist.cc my_runtime.cc mylib2.cc gc_heap.cc +c++ -o _ninja/bin/examples/test_hoist.asan -std=c++11 -Wall -O0 -g -fsanitize=address -I . _ninja/gen/test_hoist.cc my_runtime.cc mylib2.cc gc_heap.cc -lstdc++ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from ./common.h:9, from ./gc_heap.h:18, from _ninja/gen/test_hoist.cc:5: ./mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: ./mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from my_runtime.h:13, from my_runtime.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime.cc: In member function ‘gc_heap::List* gc_heap::Str::split(gc_heap::Str*)’: my_runtime.cc:458:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < breaks.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ [156/207] translate _ninja/gen/loops_raw.cc examples/loops.py to_compile loops FORWARD DECL forward decl name loops mypyfile loops DECL decl name loops mypyfile loops ------------ ITERITEMS OVER NameExpr(d [l]) GLOBAL List/Dict: CATS DEFINITION mypyfile loops roots ['x', 'y', 'z', 'pairs', 'first', 's', 'parts', 'tmp'] roots ['d'] ------------ ITERITEMS OVER NameExpr(d [l]) GLOBAL List/Dict: CATS roots ['list_of_tuples', 'item', 's', 'list_of_strings'] roots [] real 0m3.625s user 0m2.339s sys 0m0.059s [157/207] example-task test_hoist C++ _ninja/bin/examples/test_hoist.asan _ninja/tasks/test/test_hoist.asan.task.txt _ninja/tasks/test/test_hoist.asan.log.txt [158/207] wrap-cc loops _ninja/gen/loops_raw.cc '' _ninja/gen/loops.cc [159/207] typecheck examples/fib_iter.py _ninja/tasks/typecheck/fib_iter.log.txt [160/207] compile opt _ninja/bin/examples/test_hoist.opt '' _ninja/gen/test_hoist.cc my_runtime.cc mylib2.cc gc_heap.cc +c++ -o _ninja/bin/examples/test_hoist.opt -std=c++11 -Wall -O2 -g -I . _ninja/gen/test_hoist.cc my_runtime.cc mylib2.cc gc_heap.cc -lstdc++ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from ./common.h:9, from ./gc_heap.h:18, from _ninja/gen/test_hoist.cc:5: ./mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: ./mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from my_runtime.h:13, from my_runtime.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime.cc: In member function ‘gc_heap::List* gc_heap::Str::split(gc_heap::Str*)’: my_runtime.cc:458:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < breaks.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ [161/207] strip _ninja/bin/examples/test_hoist.opt _ninja/bin/examples-stripped/test_hoist.opt [162/207] example-task fib_iter Python examples/fib_iter.py _ninja/tasks/test/fib_iter.py.task.txt _ninja/tasks/test/fib_iter.py.log.txt [163/207] compile asan _ninja/bin/examples/loops.asan '' _ninja/gen/loops.cc my_runtime.cc mylib2.cc gc_heap.cc +c++ -o _ninja/bin/examples/loops.asan -std=c++11 -Wall -O0 -g -fsanitize=address -I . _ninja/gen/loops.cc my_runtime.cc mylib2.cc gc_heap.cc -lstdc++ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from ./common.h:9, from ./gc_heap.h:18, from _ninja/gen/loops.cc:5: ./mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: ./mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from my_runtime.h:13, from my_runtime.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime.cc: In member function ‘gc_heap::List* gc_heap::Str::split(gc_heap::Str*)’: my_runtime.cc:458:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < breaks.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ [164/207] example-task loops C++ _ninja/bin/examples/loops.asan _ninja/tasks/test/loops.asan.task.txt _ninja/tasks/test/loops.asan.log.txt [165/207] compile opt _ninja/bin/examples/loops.opt '' _ninja/gen/loops.cc my_runtime.cc mylib2.cc gc_heap.cc +c++ -o _ninja/bin/examples/loops.opt -std=c++11 -Wall -O2 -g -I . _ninja/gen/loops.cc my_runtime.cc mylib2.cc gc_heap.cc -lstdc++ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from ./common.h:9, from ./gc_heap.h:18, from _ninja/gen/loops.cc:5: ./mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: ./mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from my_runtime.h:13, from my_runtime.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime.cc: In member function ‘gc_heap::List* gc_heap::Str::split(gc_heap::Str*)’: my_runtime.cc:458:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < breaks.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ [166/207] strip _ninja/bin/examples/loops.opt _ninja/bin/examples-stripped/loops.opt [167/207] example-task loops C++ _ninja/bin/examples/loops.opt _ninja/tasks/benchmark/loops.opt.task.txt _ninja/tasks/benchmark/loops.opt.log.txt [168/207] example-task fib_iter Python examples/fib_iter.py _ninja/tasks/benchmark/fib_iter.py.task.txt _ninja/tasks/benchmark/fib_iter.py.log.txt [169/207] example-task containers Python examples/containers.py _ninja/tasks/test/containers.py.task.txt _ninja/tasks/test/containers.py.log.txt [170/207] example-task containers Python examples/containers.py _ninja/tasks/benchmark/containers.py.task.txt _ninja/tasks/benchmark/containers.py.log.txt [171/207] typecheck examples/containers.py _ninja/tasks/typecheck/containers.log.txt [172/207] translate _ninja/gen/fib_iter_raw.cc examples/fib_iter.py to_compile fib_iter FORWARD DECL forward decl name fib_iter mypyfile fib_iter DECL decl name fib_iter mypyfile fib_iter DEFINITION mypyfile fib_iter roots [] roots [] roots [] real 0m3.408s user 0m2.242s sys 0m0.051s [173/207] wrap-cc fib_iter _ninja/gen/fib_iter_raw.cc '' _ninja/gen/fib_iter.cc [174/207] compile asan _ninja/bin/examples/fib_iter.asan '' _ninja/gen/fib_iter.cc my_runtime.cc mylib2.cc gc_heap.cc +c++ -o _ninja/bin/examples/fib_iter.asan -std=c++11 -Wall -O0 -g -fsanitize=address -I . _ninja/gen/fib_iter.cc my_runtime.cc mylib2.cc gc_heap.cc -lstdc++ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from ./common.h:9, from ./gc_heap.h:18, from _ninja/gen/fib_iter.cc:5: ./mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: ./mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from my_runtime.h:13, from my_runtime.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime.cc: In member function ‘gc_heap::List* gc_heap::Str::split(gc_heap::Str*)’: my_runtime.cc:458:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < breaks.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ [175/207] typecheck examples/fib_recursive.py _ninja/tasks/typecheck/fib_recursive.log.txt [176/207] example-task fib_iter C++ _ninja/bin/examples/fib_iter.asan _ninja/tasks/test/fib_iter.asan.task.txt _ninja/tasks/test/fib_iter.asan.log.txt [177/207] translate _ninja/gen/containers_raw.cc examples/containers.py to_compile containers FORWARD DECL forward decl name containers mypyfile containers DECL decl name containers mypyfile containers GLOBAL List/Dict: gstr GLOBAL List/Dict: glist_int GLOBAL List/Dict: glist_str DEFINITION mypyfile containers GLOBAL List/Dict: gstr GLOBAL List/Dict: glist_int GLOBAL List/Dict: glist_str roots ['intlist', 'local_list', 'strlist', 'x', 'no_str', 'blank'] roots ['t2', 'mystr', 'p', 's'] roots ['d'] roots ['intlist', 'strlist'] real 0m3.620s user 0m2.487s sys 0m0.039s [178/207] wrap-cc containers _ninja/gen/containers_raw.cc '' _ninja/gen/containers.cc [179/207] compile opt _ninja/bin/examples/fib_iter.opt '' _ninja/gen/fib_iter.cc my_runtime.cc mylib2.cc gc_heap.cc +c++ -o _ninja/bin/examples/fib_iter.opt -std=c++11 -Wall -O2 -g -I . _ninja/gen/fib_iter.cc my_runtime.cc mylib2.cc gc_heap.cc -lstdc++ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from ./common.h:9, from ./gc_heap.h:18, from _ninja/gen/fib_iter.cc:5: ./mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: ./mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from my_runtime.h:13, from my_runtime.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime.cc: In member function ‘gc_heap::List* gc_heap::Str::split(gc_heap::Str*)’: my_runtime.cc:458:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < breaks.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ [180/207] strip _ninja/bin/examples/fib_iter.opt _ninja/bin/examples-stripped/fib_iter.opt [181/207] example-task fib_iter C++ _ninja/bin/examples/fib_iter.opt _ninja/tasks/benchmark/fib_iter.opt.task.txt _ninja/tasks/benchmark/fib_iter.opt.log.txt [182/207] compile asan _ninja/bin/examples/containers.asan '' _ninja/gen/containers.cc my_runtime.cc mylib2.cc gc_heap.cc +c++ -o _ninja/bin/examples/containers.asan -std=c++11 -Wall -O0 -g -fsanitize=address -I . _ninja/gen/containers.cc my_runtime.cc mylib2.cc gc_heap.cc -lstdc++ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from ./common.h:9, from ./gc_heap.h:18, from _ninja/gen/containers.cc:5: ./mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: ./mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from my_runtime.h:13, from my_runtime.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime.cc: In member function ‘gc_heap::List* gc_heap::Str::split(gc_heap::Str*)’: my_runtime.cc:458:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < breaks.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ [183/207] example-task containers C++ _ninja/bin/examples/containers.asan _ninja/tasks/test/containers.asan.task.txt _ninja/tasks/test/containers.asan.log.txt [184/207] example-task fib_recursive Python examples/fib_recursive.py _ninja/tasks/test/fib_recursive.py.task.txt _ninja/tasks/test/fib_recursive.py.log.txt [185/207] compile opt _ninja/bin/examples/containers.opt '' _ninja/gen/containers.cc my_runtime.cc mylib2.cc gc_heap.cc +c++ -o _ninja/bin/examples/containers.opt -std=c++11 -Wall -O2 -g -I . _ninja/gen/containers.cc my_runtime.cc mylib2.cc gc_heap.cc -lstdc++ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from ./common.h:9, from ./gc_heap.h:18, from _ninja/gen/containers.cc:5: ./mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: ./mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from my_runtime.h:13, from my_runtime.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime.cc: In member function ‘gc_heap::List* gc_heap::Str::split(gc_heap::Str*)’: my_runtime.cc:458:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < breaks.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ [186/207] strip _ninja/bin/examples/containers.opt _ninja/bin/examples-stripped/containers.opt [187/207] example-task containers C++ _ninja/bin/examples/containers.opt _ninja/tasks/benchmark/containers.opt.task.txt _ninja/tasks/benchmark/containers.opt.log.txt [188/207] example-task fib_recursive Python examples/fib_recursive.py _ninja/tasks/benchmark/fib_recursive.py.task.txt _ninja/tasks/benchmark/fib_recursive.py.log.txt [189/207] example-task classes Python examples/classes.py _ninja/tasks/test/classes.py.task.txt _ninja/tasks/test/classes.py.log.txt [190/207] example-task classes Python examples/classes.py _ninja/tasks/benchmark/classes.py.task.txt _ninja/tasks/benchmark/classes.py.log.txt [191/207] translate _ninja/gen/fib_recursive_raw.cc examples/fib_recursive.py to_compile fib_recursive FORWARD DECL forward decl name fib_recursive mypyfile fib_recursive DECL decl name fib_recursive mypyfile fib_recursive DEFINITION mypyfile fib_recursive roots [] roots [] roots [] real 0m3.118s user 0m2.225s sys 0m0.036s [192/207] wrap-cc fib_recursive _ninja/gen/fib_recursive_raw.cc '' _ninja/gen/fib_recursive.cc [193/207] compile asan _ninja/bin/examples/fib_recursive.asan '' _ninja/gen/fib_recursive.cc my_runtime.cc mylib2.cc gc_heap.cc +c++ -o _ninja/bin/examples/fib_recursive.asan -std=c++11 -Wall -O0 -g -fsanitize=address -I . _ninja/gen/fib_recursive.cc my_runtime.cc mylib2.cc gc_heap.cc -lstdc++ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from ./common.h:9, from ./gc_heap.h:18, from _ninja/gen/fib_recursive.cc:5: ./mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: ./mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from my_runtime.h:13, from my_runtime.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime.cc: In member function ‘gc_heap::List* gc_heap::Str::split(gc_heap::Str*)’: my_runtime.cc:458:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < breaks.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ [194/207] typecheck examples/classes.py _ninja/tasks/typecheck/classes.log.txt [195/207] example-task fib_recursive C++ _ninja/bin/examples/fib_recursive.asan _ninja/tasks/test/fib_recursive.asan.task.txt _ninja/tasks/test/fib_recursive.asan.log.txt [196/207] translate _ninja/gen/classes_raw.cc examples/classes.py to_compile classes FORWARD DECL forward decl name classes mypyfile classes DECL decl name classes mypyfile classes GLOBAL List/Dict: GLOBAL INSTANCE lval NameExpr(GLOBAL* [classes.GLOBAL]) rval CallExpr:75( NameExpr(Derived [classes.Derived]) Args()) DEFINITION mypyfile classes roots ['s'] GLOBAL List/Dict: GLOBAL INSTANCE lval NameExpr(GLOBAL* [classes.GLOBAL]) rval CallExpr:75( NameExpr(Derived [classes.Derived]) Args()) roots ['obj'] roots ['stdout', 'out', 'd'] roots ['f', 'out'] real 0m3.248s user 0m2.465s sys 0m0.055s [197/207] wrap-cc classes _ninja/gen/classes_raw.cc '' _ninja/gen/classes.cc [198/207] compile opt _ninja/bin/examples/fib_recursive.opt '' _ninja/gen/fib_recursive.cc my_runtime.cc mylib2.cc gc_heap.cc +c++ -o _ninja/bin/examples/fib_recursive.opt -std=c++11 -Wall -O2 -g -I . _ninja/gen/fib_recursive.cc my_runtime.cc mylib2.cc gc_heap.cc -lstdc++ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from ./common.h:9, from ./gc_heap.h:18, from _ninja/gen/fib_recursive.cc:5: ./mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: ./mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from my_runtime.h:13, from my_runtime.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime.cc: In member function ‘gc_heap::List* gc_heap::Str::split(gc_heap::Str*)’: my_runtime.cc:458:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < breaks.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ [199/207] strip _ninja/bin/examples/fib_recursive.opt _ninja/bin/examples-stripped/fib_recursive.opt [200/207] example-task fib_recursive C++ _ninja/bin/examples/fib_recursive.opt _ninja/tasks/benchmark/fib_recursive.opt.task.txt _ninja/tasks/benchmark/fib_recursive.opt.log.txt [201/207] compile asan _ninja/bin/examples/classes.asan '' _ninja/gen/classes.cc my_runtime.cc mylib2.cc gc_heap.cc +c++ -o _ninja/bin/examples/classes.asan -std=c++11 -Wall -O0 -g -fsanitize=address -I . _ninja/gen/classes.cc my_runtime.cc mylib2.cc gc_heap.cc -lstdc++ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from ./common.h:9, from ./gc_heap.h:18, from _ninja/gen/classes.cc:5: ./mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: ./mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ _ninja/gen/classes.cc: In function ‘void classes::run_benchmarks()’: _ninja/gen/classes.cc:169:7: warning: variable ‘x’ set but not used [-Wunused-but-set-variable] int x; ^ _ninja/gen/classes.cc:170:7: warning: variable ‘result’ set but not used [-Wunused-but-set-variable] int result; ^~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from my_runtime.h:13, from my_runtime.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime.cc: In member function ‘gc_heap::List* gc_heap::Str::split(gc_heap::Str*)’: my_runtime.cc:458:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < breaks.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ [202/207] example-task classes C++ _ninja/bin/examples/classes.asan _ninja/tasks/test/classes.asan.task.txt _ninja/tasks/test/classes.asan.log.txt [203/207] compile opt _ninja/bin/examples/classes.opt '' _ninja/gen/classes.cc my_runtime.cc mylib2.cc gc_heap.cc +c++ -o _ninja/bin/examples/classes.opt -std=c++11 -Wall -O2 -g -I . _ninja/gen/classes.cc my_runtime.cc mylib2.cc gc_heap.cc -lstdc++ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from ./common.h:9, from ./gc_heap.h:18, from _ninja/gen/classes.cc:5: ./mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: ./mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ _ninja/gen/classes.cc: In function ‘void classes::run_benchmarks()’: _ninja/gen/classes.cc:169:7: warning: variable ‘x’ set but not used [-Wunused-but-set-variable] int x; ^ _ninja/gen/classes.cc:170:7: warning: variable ‘result’ set but not used [-Wunused-but-set-variable] int result; ^~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from my_runtime.h:13, from my_runtime.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ my_runtime.cc: In member function ‘gc_heap::List* gc_heap::Str::split(gc_heap::Str*)’: my_runtime.cc:458:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < breaks.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/_G_config.h:19:0, from /usr/include/x86_64-linux-gnu/bits/libio.h:35, from /usr/include/stdio.h:41, from /usr/include/c++/7/cstdio:42, from common.h:9, from gc_heap.h:18, from mylib2.h:9, from mylib2.cc:3: mylib2.h: In function ‘constexpr uint16_t mylib::maskof_BufLineReader()’: mylib2.h:80:29: warning: offsetof within non-standard-layout type ‘mylib::BufLineReader’ is undefined [-Winvalid-offsetof] return maskbit_v(offsetof(BufLineReader, s_)); ^ [204/207] strip _ninja/bin/examples/classes.opt _ninja/bin/examples-stripped/classes.opt [205/207] example-task classes C++ _ninja/bin/examples/classes.opt _ninja/tasks/benchmark/classes.opt.task.txt _ninja/tasks/benchmark/classes.opt.log.txt [206/207] logs-equal _ninja/logs-equal.txt _ninja/tasks/test/cgi.asan.log.txt _ninja/tasks/test/cgi.py.log.txt _ninja/tasks/benchmark/cgi.opt.log.txt _ninja/tasks/benchmark/cgi.py.log.txt _ninja/tasks/test/test_switch.asan.log.txt _ninja/tasks/test/test_switch.py.log.txt _ninja/tasks/test/varargs.asan.log.txt _ninja/tasks/test/varargs.py.log.txt _ninja/tasks/benchmark/varargs.opt.log.txt _ninja/tasks/benchmark/varargs.py.log.txt _ninja/tasks/test/test_conditional.asan.log.txt _ninja/tasks/test/test_conditional.py.log.txt _ninja/tasks/test/control_flow.asan.log.txt _ninja/tasks/test/control_flow.py.log.txt _ninja/tasks/test/tuple_return_value.asan.log.txt _ninja/tasks/test/tuple_return_value.py.log.txt _ninja/tasks/benchmark/tuple_return_value.opt.log.txt _ninja/tasks/benchmark/tuple_return_value.py.log.txt _ninja/tasks/test/asdl_generated.asan.log.txt _ninja/tasks/test/asdl_generated.py.log.txt _ninja/tasks/benchmark/asdl_generated.opt.log.txt _ninja/tasks/benchmark/asdl_generated.py.log.txt _ninja/tasks/benchmark/strings.opt.log.txt _ninja/tasks/benchmark/strings.py.log.txt _ninja/tasks/test/modules.asan.log.txt _ninja/tasks/test/modules.py.log.txt _ninja/tasks/benchmark/modules.opt.log.txt _ninja/tasks/benchmark/modules.py.log.txt _ninja/tasks/test/files.asan.log.txt _ninja/tasks/test/files.py.log.txt _ninja/tasks/test/length.asan.log.txt _ninja/tasks/test/length.py.log.txt _ninja/tasks/benchmark/length.opt.log.txt _ninja/tasks/benchmark/length.py.log.txt _ninja/tasks/test/cartesian.asan.log.txt _ninja/tasks/test/cartesian.py.log.txt _ninja/tasks/test/escape.asan.log.txt _ninja/tasks/test/escape.py.log.txt _ninja/tasks/benchmark/escape.opt.log.txt _ninja/tasks/benchmark/escape.py.log.txt _ninja/tasks/test/test_cast.asan.log.txt _ninja/tasks/test/test_cast.py.log.txt _ninja/tasks/test/scoped_resource.asan.log.txt _ninja/tasks/test/scoped_resource.py.log.txt _ninja/tasks/benchmark/scoped_resource.opt.log.txt _ninja/tasks/benchmark/scoped_resource.py.log.txt _ninja/tasks/test/test_hoist.asan.log.txt _ninja/tasks/test/test_hoist.py.log.txt _ninja/tasks/test/loops.asan.log.txt _ninja/tasks/test/loops.py.log.txt _ninja/tasks/benchmark/loops.opt.log.txt _ninja/tasks/benchmark/loops.py.log.txt _ninja/tasks/test/fib_iter.asan.log.txt _ninja/tasks/test/fib_iter.py.log.txt _ninja/tasks/benchmark/fib_iter.opt.log.txt _ninja/tasks/benchmark/fib_iter.py.log.txt _ninja/tasks/test/containers.asan.log.txt _ninja/tasks/test/containers.py.log.txt _ninja/tasks/benchmark/containers.opt.log.txt _ninja/tasks/benchmark/containers.py.log.txt _ninja/tasks/test/fib_recursive.asan.log.txt _ninja/tasks/test/fib_recursive.py.log.txt _ninja/tasks/benchmark/fib_recursive.opt.log.txt _ninja/tasks/benchmark/fib_recursive.py.log.txt _ninja/tasks/test/classes.asan.log.txt _ninja/tasks/test/classes.py.log.txt _ninja/tasks/benchmark/classes.opt.log.txt _ninja/tasks/benchmark/classes.py.log.txt OK _ninja/tasks/test/cgi.asan.log.txt _ninja/tasks/test/cgi.py.log.txt OK _ninja/tasks/benchmark/cgi.opt.log.txt _ninja/tasks/benchmark/cgi.py.log.txt OK _ninja/tasks/test/test_switch.asan.log.txt _ninja/tasks/test/test_switch.py.log.txt OK _ninja/tasks/test/varargs.asan.log.txt _ninja/tasks/test/varargs.py.log.txt OK _ninja/tasks/benchmark/varargs.opt.log.txt _ninja/tasks/benchmark/varargs.py.log.txt OK _ninja/tasks/test/test_conditional.asan.log.txt _ninja/tasks/test/test_conditional.py.log.txt OK _ninja/tasks/test/control_flow.asan.log.txt _ninja/tasks/test/control_flow.py.log.txt OK _ninja/tasks/test/tuple_return_value.asan.log.txt _ninja/tasks/test/tuple_return_value.py.log.txt OK _ninja/tasks/benchmark/tuple_return_value.opt.log.txt _ninja/tasks/benchmark/tuple_return_value.py.log.txt OK _ninja/tasks/test/asdl_generated.asan.log.txt _ninja/tasks/test/asdl_generated.py.log.txt OK _ninja/tasks/benchmark/asdl_generated.opt.log.txt _ninja/tasks/benchmark/asdl_generated.py.log.txt OK _ninja/tasks/benchmark/strings.opt.log.txt _ninja/tasks/benchmark/strings.py.log.txt OK _ninja/tasks/test/modules.asan.log.txt _ninja/tasks/test/modules.py.log.txt OK _ninja/tasks/benchmark/modules.opt.log.txt _ninja/tasks/benchmark/modules.py.log.txt OK _ninja/tasks/test/files.asan.log.txt _ninja/tasks/test/files.py.log.txt OK _ninja/tasks/test/length.asan.log.txt _ninja/tasks/test/length.py.log.txt OK _ninja/tasks/benchmark/length.opt.log.txt _ninja/tasks/benchmark/length.py.log.txt OK _ninja/tasks/test/cartesian.asan.log.txt _ninja/tasks/test/cartesian.py.log.txt OK _ninja/tasks/test/escape.asan.log.txt _ninja/tasks/test/escape.py.log.txt OK _ninja/tasks/benchmark/escape.opt.log.txt _ninja/tasks/benchmark/escape.py.log.txt OK _ninja/tasks/test/test_cast.asan.log.txt _ninja/tasks/test/test_cast.py.log.txt OK _ninja/tasks/test/scoped_resource.asan.log.txt _ninja/tasks/test/scoped_resource.py.log.txt OK _ninja/tasks/benchmark/scoped_resource.opt.log.txt _ninja/tasks/benchmark/scoped_resource.py.log.txt OK _ninja/tasks/test/test_hoist.asan.log.txt _ninja/tasks/test/test_hoist.py.log.txt OK _ninja/tasks/test/loops.asan.log.txt _ninja/tasks/test/loops.py.log.txt OK _ninja/tasks/benchmark/loops.opt.log.txt _ninja/tasks/benchmark/loops.py.log.txt OK _ninja/tasks/test/fib_iter.asan.log.txt _ninja/tasks/test/fib_iter.py.log.txt OK _ninja/tasks/benchmark/fib_iter.opt.log.txt _ninja/tasks/benchmark/fib_iter.py.log.txt OK _ninja/tasks/test/containers.asan.log.txt _ninja/tasks/test/containers.py.log.txt OK _ninja/tasks/benchmark/containers.opt.log.txt _ninja/tasks/benchmark/containers.py.log.txt OK _ninja/tasks/test/fib_recursive.asan.log.txt _ninja/tasks/test/fib_recursive.py.log.txt OK _ninja/tasks/benchmark/fib_recursive.opt.log.txt _ninja/tasks/benchmark/fib_recursive.py.log.txt OK _ninja/tasks/test/classes.asan.log.txt _ninja/tasks/test/classes.py.log.txt OK _ninja/tasks/benchmark/classes.opt.log.txt _ninja/tasks/benchmark/classes.py.log.txt [207/207] benchmark-table _ninja/benchmark-table.tsv _ninja/tasks/benchmark/cgi.py.task.txt _ninja/tasks/benchmark/cgi.opt.task.txt _ninja/tasks/benchmark/varargs.py.task.txt _ninja/tasks/benchmark/varargs.opt.task.txt _ninja/tasks/benchmark/tuple_return_value.py.task.txt _ninja/tasks/benchmark/tuple_return_value.opt.task.txt _ninja/tasks/benchmark/asdl_generated.py.task.txt _ninja/tasks/benchmark/asdl_generated.opt.task.txt _ninja/tasks/benchmark/strings.py.task.txt _ninja/tasks/benchmark/strings.opt.task.txt _ninja/tasks/benchmark/modules.py.task.txt _ninja/tasks/benchmark/modules.opt.task.txt _ninja/tasks/benchmark/length.py.task.txt _ninja/tasks/benchmark/length.opt.task.txt _ninja/tasks/benchmark/escape.py.task.txt _ninja/tasks/benchmark/escape.opt.task.txt _ninja/tasks/benchmark/scoped_resource.py.task.txt _ninja/tasks/benchmark/scoped_resource.opt.task.txt _ninja/tasks/benchmark/loops.py.task.txt _ninja/tasks/benchmark/loops.opt.task.txt _ninja/tasks/benchmark/fib_iter.py.task.txt _ninja/tasks/benchmark/fib_iter.opt.task.txt _ninja/tasks/benchmark/containers.py.task.txt _ninja/tasks/benchmark/containers.opt.task.txt _ninja/tasks/benchmark/fib_recursive.py.task.txt _ninja/tasks/benchmark/fib_recursive.opt.task.txt _ninja/tasks/benchmark/classes.py.task.txt _ninja/tasks/benchmark/classes.opt.task.txt Wrote _ninja/index.txt Wrote _ninja/index.html