cc1: error: '-Wformat-security' ignored without '-Wformat' [-Werror=format-security] cc1: some warnings being treated as errors
- I'm trying to build d760e4c01a91540e6143a6004417410c2d9e333f .
- I've successfully built libaaio and portaudio.
- CMake in CDP8 seems to went well. It has found portaudio and libaaio through `LD_LIBRARY_PATH`.
- I am stuck at Make
```
[ 0%] Building C object dev/cdp2k/CMakeFiles/cdp2k.dir/__/cdparse/cdparse.c.o
cc1: error: '-Wformat-security' ignored without '-Wformat' [-Werror=format-security]
cc1: some warnings being treated as errors
make[2]: *** [dev/cdp2k/CMakeFiles/cdp2k.dir/build.make:79: dev/cdp2k/CMakeFiles/cdp2k.dir/__/cdparse/cdparse.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1907: dev/cdp2k/CMakeFiles/cdp2k.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
```
System: NixOS
关闭于 2025-09-03 1 条评论