I’m try to compile on artix and it doesn’t work.
make[2]: Entering directory '/mnt/glarg/src/ttail/docs' mkdir -p ../docs/man/man1;\ cp ../docs/man/man3/ttail.3 ../docs/man/man1/ttail.1;\ sed -i 's/^.TH "ttail" 3/.TH "ttail" 1/' ../docs/man/man1/ttail.1 make[2]: Leaving directory '/mnt/glarg/src/ttail/docs' make[1]: Leaving directory '/mnt/glarg/src/ttail/docs' Making all in src make[1]: Entering directory '/mnt/glarg/src/ttail/src' gcc -DHAVE_CONFIG_H -I. -I../src/include -g -O2 -O2 -std=c99 -pedantic -Wall -Werror -fgnu89-inline -D_XOPEN_SOURCE -D_GNU_SOURCE -MT libttail_a-ttail_init.o -MD -MP -MF .deps/libttail_a-ttail_init.Tpo -c -o libttail_a-ttail_init.o `test -f 'ttail_init.c' || echo './'`ttail_init.c ttail_init.c: In function ‘ttail_set_fmt’: ttail_init.c:356:2: error: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Werror=stringop-truncation] strncpy(t->fmt, fmt, len); ^~~~~~~~~~~~~~~~~~~~~~~~~ ttail_init.c:350:8: note: length computed here len = strlen(fmt); ^~~~~~~~~~~ cc1: all warnings being treated as errors make[1]: *** [Makefile:464: libttail_a-ttail_init.o] Error 1 make[1]: Leaving directory '/mnt/glarg/src/ttail/src' make: *** [Makefile:362: all-recursive] Error 1
未设置到期时间。
此工单当前没有任何依赖。
删除分支是永久的。此操作 无法 撤销,继续?
I’m try to compile on artix and it doesn’t work.