Closed da-liii closed 1 year ago
在我那边的ci会报这个错误:
error: @programdir/modules/private/async/runjobs.lua:256: @programdir/modules/private/action/build/object.lua:91: @programdir/modules/core/tools/gcc.lua:807: src/tbox/libc/string/strcat.c:46:17: error: while loop has empty body [-Werror,-Wempty-body]
46 | while (*s++); --s;
| ^
src/tbox/libc/string/strcat.c:46:17: note: put the semicolon on a separate line to silence this warning
1 error generated.
emcc: error: '/home/runner/work/lolly/.xmake-global/.xmake/packages/e/emscripten/3.1.42/dd3d2d23da064881a567862105d240dc/upstream/bin/clang -target wasm32-unknown-emscripten -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -DEMSCRIPTEN -Werror=implicit-function-declaration --sysroot=/home/runner/work/lolly/.xmake-global/.xmake/packages/e/emscripten/3.1.42/dd3d2d23da064881a567862105d240dc/upstream/emscripten/cache/sysroot -Xclang -iwithsysroot/include/fakesdl -Xclang -iwithsysroot/include/compat -c -fPIC -fvisibility=hidden -Wall -Werror -Os -std=c99 -Isrc -Ibuild_09179021/wasm/wasm32/release -D__tb_small__ -D__tb_prefix__="tbox" -Wno-error=deprecated-declarations -fno-strict-aliasing -Wno-error=expansion-to-defined -fno-stack-protector -DNDEBUG -MMD -MF /tmp/.xmake1001/230829/_1D8A767C11A74A00809499E951D1C240 src/tbox/libc/string/strcat.c -o build_09179021/.objs/tbox/wasm/wasm32/release/src/tbox/libc/string/strcat.c.o' failed (returned 1)
你 rebase 到 dev 再试试,我压制了 empty-body error
Bot detected the issue body's language is not English, translate it automatically.
You rebase to dev and try again, I suppressed the empty-body error
Rebased
Bot detected the issue body's language is not English, translate it automatically.
Foxes