• Build fails with GCC 4.8.5

    From Rob Swindell@VERT to GitLab issue in main/sbbs on Sun Feb 26 11:36:53 2023
    open https://gitlab.synchro.net/main/sbbs/-/issues/525

    ```
    <DaiTengu> just pulled from git, getting an error when compiling
    <DaiTengu> Compiling main.cpp
    <DaiTengu> main.cpp: In constructor `sbbs_t::sbbs_t(short unsigned int, xp_sockaddr*, size_t, const char*, int, scfg_t*, char**, client_t*, bool)':
    <DaiTengu> main.cpp:3265:91: error: array used as initializer
    <DaiTengu> scfg_t* global_cfg, char* global_text[], client_t* client_info, bool is_event_thread)
    <DaiTengu> ^
    <DaiTengu> make[1]: *** [gcc.linux.x64.obj.debug-mt/main.o] Error 1
    <DaiTengu> make[1]: Leaving directory `/sbbs/repo/src/sbbs3'
    <DaiTengu> make: *** [sbbs3] Error 2
    <DaiTengu> (after doing a cleanall)
    <DaiTengu> gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC)
    ```

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab note in main/sbbs on Sun Feb 26 11:38:42 2023
    https://gitlab.synchro.net/main/sbbs/-/issues/525#note_3287

    This is most likely a result of commit b802e832, but without access to an older GCC install somewhere, it'd be hard to guess exactly which change since this error points to the constructor in main.cpp instead of the class definition in sbbs.h.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab issue in main/sbbs on Sun Feb 26 14:21:19 2023
    close https://gitlab.synchro.net/main/sbbs/-/issues/525

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