• src/doors/ny2008/src/jackpot/Makefile src/doors/top/GNUmakefile src/xp

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Sunday, September 20, 2026 12:37:35
    https://gitlab.synchro.net/main/sbbs/-/commit/1c23586e2cf6241fa3150a80
    Modified Files:
    src/doors/ny2008/src/jackpot/Makefile src/doors/top/GNUmakefile src/xpdev/genwrap.c
    Log Message:
    Fix the two build breaks from the new xp_system()/xp_popen()

    Borland C++ builds xpdev for sbbsctrl and useredit, and it is C89: a declaration may not follow a statement within a block. Both new functions declared as they went, so genwrap.c failed with 21 instances of "E2140 Declaration is not allowed here". Hoist every declaration in the Win32
    paths to the top of its block.

    xp_popen() also calls strListPush(), which is strListAppend() -- a symbol
    that had never been needed in genwrap.c before. The two doors that hand-link genwrap.o against a short list of xpdev objects rather than the library --
    top and ny2008's jackpot -- have no str_list.o in that list and failed to
    link. Add it.

    Both breakages arrived with 5de72e0995 (winning-19-seem, 2026-09-20) and are compiler/link-set specific: neither shows up in a GCC or MSVC build of the
    BBS itself.

    Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

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