You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to build a judger on alpine base image for running it on cloud container environments. but I'm getting following errors (I know you have mentioned that it is tested on ubuntu:18.04)
-- The C compiler identification is GNU 11.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /Judger/build
[ 7%] Building C object CMakeFiles/libjudger.so.dir/src/argtable3.o
In function 'arg_cat',
inlined from 'arg_cat_option' at /Judger/src/argtable3.c:4479:13,
inlined from 'arg_print_syntax' at /Judger/src/argtable3.c:4680:9:
/Judger/src/argtable3.c:4406:11: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
4406 | *dest = 0;
| ~~~~~~^~~
/Judger/src/argtable3.c: In function 'arg_print_syntax':
/Judger/src/argtable3.c:4669:14: note: at offset 200 into destination object 'syntax' of size 200
4669 | char syntax[200] = "";
| ^~~~~~
cc1: all warnings being treated as errors
make[2]: *** [CMakeFiles/libjudger.so.dir/build.make:76: CMakeFiles/libjudger.so.dir/src/argtable3.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/libjudger.so.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
/Judger/build #
Kindly help
The text was updated successfully, but these errors were encountered:
I'm trying to build a judger on alpine base image for running it on cloud container environments. but I'm getting following errors (I know you have mentioned that it is tested on ubuntu:18.04)
Kindly help
The text was updated successfully, but these errors were encountered: