https://gitlab.synchro.net/main/sbbs/-/commit/fe0394d0b491ba50ea310950
Modified Files:
src/ssh/deucessh-comp.h deucessh-enc.h deucessh-kex.h deucessh-key-algo.h deucessh-lang.h deucessh-mac.h src/ssh/docs/audit-rules.md
Log Message:
DeuceSSH: drop static_assert(!offsetof(...)) Ä not valid C17
ISO C does not classify offsetof()'s standard expansion
((size_t)&(((T*)0)->m)) as a constant expression, so MSVC in C
mode rejects it inside static_assert (error C2057). GCC/Clang
accept it as an extension.
Remove the six "next must be at offset 0" assertions from the
module headers and the now-unused <assert.h> includes. The "must
be first" comment on each next field stays as documentation, and
the generic-traversal paths are exercised by the test suite.
Also drop the audit-rules.md bullet that referenced the assertion.
Co-Authored-By: Claude Opus 4.7 (1M context) <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net