• src/sbbs3/js_sqlite.cpp

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Sun Nov 29 23:47:34 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/075cbc6cf925f31587413428
    Modified Files:
    src/sbbs3/js_sqlite.cpp
    Log Message:
    js_sqlite.cpp: silence jsvalue.h's unused-local-typedefs under GCC too

    <jstypedarray.h> pulls in SpiderMonkey's jsvalue.h, whose
    staticAssertions() trips -Wunused-local-typedefs under -Wall.
    97a2b168ac (know-16-skirt, 2026-05-24) suppressed the warning around
    that include for clang only, so GCC builds with libsqlite3-dev present
    (where the GNUmakefile defines USE_SQLITE) emitted five warnings from
    jsutil.h. Guard on __GNUC__ with "#pragma GCC diagnostic", which clang
    also honors, along with the plural warning name.

    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net