• Build fails with GCC 4.8.5

    From Rob Swindell@1:103/705 to GitLab issue in main/sbbs on Sunday, February 26, 2023 11:36:53
    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)```
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Sunday, February 26, 2023 11:38:42
    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.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab issue in main/sbbs on Sunday, February 26, 2023 14:21:19
    close https://gitlab.synchro.net/main/sbbs/-/issues/525
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)