• src/build/Common.gmake

    From Rob Swindell@VERT to Git commit to sbbs/master on Wednesday, October 21, 2020 23:52:43
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/f615f2e3ba27c342774c6eb5
    Modified Files:
    src/build/Common.gmake
    Log Message:
    We must explicitly set _FILE_OFFSET_BITS=64 to use Linux OFD locks

    The Linux lock() implementation in xpdev/filewrap.c requires that _FILE_OFFSET_BITS is set to 64 or else OFD (sane) locks are not
    used on Linux, defaulting back to the crazy per-process file region
    locking of Linux of old. This was done in this commit: http://cvs.synchro.net/commitlog.ssjs?99999#39639
    because:
    https://patchwork.kernel.org/patch/9289177/

    but on 64-bit Linux, large file support is assumed and you don't
    actually need to define _FILE_OFFFSET_BITS, we're peforming this
    check for 32-bit Linuxes. Perhaps a check to see if sizeof(off_t)
    == 8 would have been better. However, this change enables OFD
    Locks for *all* flavors of Linux (not just 64-bit) - so that's
    better.

    Why do we care? Because using region locks on the same file in
    a multi-threaded program doesn't really work right on Linux without
    using OFD Locks. I saw this problem with receiving multiple
    simultaneous emails in the mailserver and getting smb_locksmbhdr() errors/failures when trying to save the message data or headers
    of the one or more messages every time GitLab would send email
    out to those whoe have opted-in to received email notifications
    upon gitlab.synchro.net activity.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Monday, March 08, 2021 11:10:35
    https://gitlab.synchro.net/main/sbbs/-/commit/4c280dc6e91679cfeb9496a0
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Add -std=c++11 for .cpp builds

    Hope to address error reported by rjwboys via IRC when using
    gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12)
    from ansiterm.cpp:22 /user/include/c++/5/bits/c++0x_warning.h:32:2
    error #error this file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¨@VERT to Git commit to main/sbbs/master on Wednesday, March 31, 2021 16:53:27
    https://gitlab.synchro.net/main/sbbs/-/commit/d457835c2f290c5d3ce6f6fd
    Modified Files:
    src/build/Common.gmake
    Log Message:
    os is lower-case.

    Fixes *nix builds of Win32 programs.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sunday, March 20, 2022 16:24:39
    https://gitlab.synchro.net/main/sbbs/-/commit/2951994bca38d54de846bcb2
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Linux needs strlcpy() defined in xpdev

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Friday, June 10, 2022 22:54:03
    https://gitlab.synchro.net/main/sbbs/-/commit/bfd364c8cf904c6e4f5cacf2
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Disable "unused-result" warning in release builds

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Thursday, October 26, 2023 13:13:54
    https://gitlab.synchro.net/main/sbbs/-/commit/5efa9c2f07d323ed0b48aa95
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Remove legacy comments (e.g. references to CVS)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Thursday, October 26, 2023 13:13:54
    https://gitlab.synchro.net/main/sbbs/-/commit/49c64c233857aa31828eccc9
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Disable GCC warning about string truncation

    Fix issue #667

    I'm not sure why these warnings just started popping up (maybe the inclusion
    of string in sbbs.h), but it only seems to happen in debug builds and the possible truncation is intentional.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¨@VERT to Git commit to main/sbbs/master on Monday, November 13, 2023 22:06:40
    https://gitlab.synchro.net/main/sbbs/-/commit/79dd24967cbd5eb765e2bfa0
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Disable unknown warning warning on !gcc

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