BBS:      TELESC.NET.BR
Assunto:  src/xptls/xp_tls_botan3.cpp
De:       Deuc¨
Data:     Sat, 9 May 2026 23:06:56 -0700
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/commit/45f7adaa05e0e6157bd73f09
Modified Files:
	src/xptls/xp_tls_botan3.cpp
Log Message:
xp_tls_botan3: define NOMINMAX before sockwrap.h on Win32

The MQTT spy commit added , whose Session
constructor uses std::chrono::seconds::max() as a default argument.
Win32's  (pulled in transitively via sockwrap.h) defines
max as a macro, which mangles the default argument and produces a
cascade of MSVC parser errors starting at tls_session.h:254.  Setting
NOMINMAX before the include chain keeps the macros out and lets the
chrono call parse normally.

Co-Authored-By: Claude Opus 4.7 (1M context) 
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

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