https://gitlab.synchro.net/main/sbbs/-/commit/30392f98899eb9bda4a7006e
Modified Files:
src/sbbs3/sbbs.h
Log Message:
sbbs.h: fix two misspelled GCC version macros
The "#pragma GCC diagnostic pop" that follows the SpiderMonkey includes
was guarded by __GNUC_ (one trailing underscore) since ba7ca76410 (microwave-4-explicitly, 2017-11-24), while the matching push uses
__GNUC__. The pop never ran, so every translation unit including sbbs.h
built with -Wmisleading-indentation and -Wignored-attributes disabled for
the rest of the file. A full Linux build with the pop restored produces
no new warnings.
The hK32 declaration tested __GCC__, which no compiler defines, since db58cb8e96 (orbit-11-gave, 2024-02-20), so it always took the "extern"
branch; make that an unconditional #else.
Also rename the header guard to SBBS_H_, out of the reserved namespace.
Co-Authored-By: Claude Opus 5.5 <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net