https://gitlab.synchro.net/main/sbbs/-/commit/56a2c7d1c2e15f47238c8a55
Modified Files:
src/syncterm/CMakeLists.txt
Log Message:
SyncTERM: enable MSVC C11 atomics for the syncterm target
MSVC's <stdatomic.h> rejects compilation with #error "C atomic support
is not enabled" unless built with /std:c11+ AND /experimental:c11atomics.
The DeuceSSH sub-build sets both, but the SyncTERM target itself never
did, so bbslist.c/conn.c/etc. failed in CI as soon as conn.h pulled in <stdatomic.h>.
Set C_STANDARD 17 on the syncterm target and pass /experimental:c11atomics under MSVC. Bump cmake_minimum_required to 3.22 Ä C_STANDARD 17 was
added in 3.21, and 3.5 was already tripping a deprecation warning under
the CI's CMake 3.31.
Co-Authored-By: Claude Opus 4.7 (1M context) <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net