prepare (1/4):
finished
cmake (2/4):
-- The C compiler identification is Clang 6.0.0
-- The CXX compiler identification is Clang 6.0.0
-- Check for working C compiler: /usr/bin/clang
-- Check for working C compiler: /usr/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/clang++
-- Check for working CXX compiler: /usr/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /out/build
finished
make (3/4):
Scanning dependencies of target driver
[ 16%] Building C object CMakeFiles/driver.dir/driver.c.o
[ 33%] Linking C executable driver
[ 33%] Built target driver
Scanning dependencies of target mumsh
[ 50%] Building C object mumsh/CMakeFiles/mumsh.dir/main.c.o
/in/main.c:209:9: error: implicit conversion loses integer precision: 'int' to 'char' [-Werror,-Wconversion]
c = getchar();
~ ^~~~~~~~~
/in/main.c:227:13: error: implicit conversion loses integer precision: 'int' to 'char' [-Werror,-Wconversion]
c = getchar();
~ ^~~~~~~~~
/in/main.c:456:33: error: implicit conversion changes signedness: 'int' to 'unsigned long' [-Werror,-Wsign-conversion]
int** pipe_set = malloc(num * sizeof(int*));
^~~ ~
3 errors generated.
mumsh/CMakeFiles/mumsh.dir/build.make:62: recipe for target 'mumsh/CMakeFiles/mumsh.dir/main.c.o' failed
make[2]: *** [mumsh/CMakeFiles/mumsh.dir/main.c.o] Error 1
CMakeFiles/Makefile2:124: recipe for target 'mumsh/CMakeFiles/mumsh.dir/all' failed
make[1]: *** [mumsh/CMakeFiles/mumsh.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
build failed