pwd
/out
ls -al
total 4
drwxr-xr-x 2 icebox 1000 4096 Aug 1 03:26 .
drwxrwxrwt 12 icebox 1000 240 Jul 31 17:57 ..
clang++ -std=c++11 -pedantic -Werror -o dummy /in/Compile/dummy.cpp
clang++ -std=c++11 -pedantic -Werror -O3 -fsanitize=memory -fsanitize=undefined -fno-sanitize-recover=undefined -I /in/Compile/ -I /in -o dlist /in/Compile/dlist.cpp 2> /dev/null
/in/Compile/Makefile:32: recipe for target 'buildDlist' failed
make: [buildDlist] Error 1 (ignored)
clang++ -std=c++11 -pedantic -Werror -O3 -fsanitize=address -I /in/Compile/ -I /in -o dlist_mem /in/Compile/dlist.cpp 2> /dev/null
/in/Compile/Makefile:32: recipe for target 'buildDlist' failed
make: [buildDlist] Error 1 (ignored)
test -f dlist || cp dummy dlist
test -f dlist_mem || cp dummy dlist_mem
clang++ -std=c++11 -pedantic -Werror -O3 -I /in/Compile/ -I /in -o dlist_pre /in/Compile/dlist_pre.cpp
clang++ -std=c++11 -pedantic -Werror -O3 -DINSTRUCTOR_IMPL -I /in/Compile/ -I /in -o call_pre /in/call.cpp
clang++ -std=c++11 -pedantic -Werror -O3 -fsanitize=memory -fsanitize=undefined -fno-sanitize-recover=undefined -DINSTRUCTOR_IMPL -I /in/Compile/ -I /in -o call /in/call.cpp
clang++ -std=c++11 -pedantic -Werror -O3 -fsanitize=address -DINSTRUCTOR_IMPL -I /in/Compile/ -I /in -o call_mem /in/call.cpp
clang++ -std=c++11 -pedantic -Werror -O3 -DINSTRUCTOR_IMPL -I /in/Compile/ -I /in -o calc_pre /in/calc.cpp
/in/calc.cpp:85:12: error: array index 10 is past the end of the array (which contains 10 elements) [-Werror,-Warray-bounds]
return a[10];
^ ~~
/in/calc.cpp:84:5: note: array 'a' declared here
int a[10];
^
1 error generated.
/in/Compile/Makefile:44: recipe for target 'buildCalc' failed
make: *** [buildCalc] Error 1