Record Detail

Compile Error

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
[  5%] Building C object CMakeFiles/driver.dir/driver.c.o
[ 10%] Linking C executable driver
[ 10%] Built target driver
Scanning dependencies of target mumsh
[ 15%] Building C object mumsh/CMakeFiles/mumsh.dir/buildin.c.o
[ 20%] Building C object mumsh/CMakeFiles/mumsh.dir/error.c.o
/in/error.c:49:10: error: implicit conversion changes signedness: 'err_t' to 'int' [-Werror,-Wsign-conversion]
    exit(code);
    ~~~~ ^~~~
1 error generated.
mumsh/CMakeFiles/mumsh.dir/build.make:86: recipe for target 'mumsh/CMakeFiles/mumsh.dir/error.c.o' failed
make[2]: *** [mumsh/CMakeFiles/mumsh.dir/error.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

Information

Submit By
Type
Submission
Homework
P1M3
Language
CMake
Submit At
2023-10-08 16:58:00
Judged At
2023-10-08 16:58:00
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes