BBS:      TELESC.NET.BR
Assunto:  src/syncterm/CMakeLists.txt
De:       Deuc¨
Data:     Sun, 26 Apr 2026 20:05:06 -0700
-----------------------------------------------------------
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  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
.

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) 
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]