cc1: error: unrecognized command line option '-Wno-format-truncation' [-Werror] cc1: all warnings being treated as errors make[6]: *** [CMakeFiles/fstools.dir/libfstools/overlay.c.o] Error 1 2. 解决办法 >libfstools/overlay.c | 4 ++++>1 file changed, 4 insertions(+)>>diff --git...
Remove '-Wno-format-truncation' compiler option Browse files This compiler option is not compatible with the default compiler on macOS 14.5, but this option is no longer necessary since the codebase has previously been updated to use snprintf anyway....