https://gitlab.synchro.net/main/sbbs/-/commit/3b08712d694390999aa081c1
Modified Files:
src/ssh/CMakeLists.txt
Log Message:
DeuceSSH: drop blanket -Werror outside Debug builds
Default CMAKE_BUILD_TYPE to Release for single-config generators so the
user gets one predictable optimized build instead of three different
defaults (empty/Debug/Release) producing three different compiles.
Blanket -Werror now applies only to CMAKE_BUILD_TYPE=Debug. Targeted -Werror=format-security/=implicit/=incompatible-pointer-types/
=int-conversion stay on in every config — those catch C-obsolete
constructs and security-relevant misuse, not stylistic diagnostics
that a future compiler might broaden. Promoting every new compiler
warning to a fatal error in a release tarball is hostile to packagers.
Co-Authored-By: Claude Opus 4.7 (1M context) <
noreply@anthropic.com>
---
ï¿ Synchronet ï¿ Vertrauen ï¿ Home of Synchronet ï¿ [vert/cvs/bbs].synchro.net