• Re: GCC 8.3 compiler warnings on CentOS 8

    From James Digriz@1:123/755 to James Digriz on Wed Sep 2 18:39:30 2020
    James Digriz wrote to All:
    Anyone else tried compiling on 8? Goes to completion but I'm getting piles of
    warnings about string truncation and such. Eg:

    Ok, I see Vince has already opened a ticket on this issue for 1.0.7 on Mageia V8 X64 with gcc-8.4. I'm compiling 1.0.7.18-git from today.

    I'm guessing there's no real problem, but you'd have to audit the code for all the warnings to see if there's any real cause for concern. Nice weekend project, heh. I need to get up to speed on gcc-8+ to make any sense of them, myself, but I would like to hear from anyone who's gotten warnings and ran the code.


    Greetings, James Digriz
    email: jbdigriz@bbs.dragonsweb.org

    --- MBSE BBS v1.0.7.18 (GNU/Linux-x86_64)
    * Origin: DragonsWeb Labs BBS 1:123/755 (1:123/755)
  • From Vincent Coen@2:250/1 to James Digriz on Thu Sep 3 12:59:50 2020
    Hello James!

    Wednesday September 02 2020 18:39, you wrote to you:

    James Digriz wrote to All:
    Anyone else tried compiling on 8? Goes to completion but I'm
    getting piles of warnings about string truncation and such. Eg:

    Ok, I see Vince has already opened a ticket on this issue for 1.0.7 on Mageia V8 X64 with gcc-8.4. I'm compiling 1.0.7.18-git from today.

    I'm guessing there's no real problem, but you'd have to audit the code
    for all the warnings to see if there's any real cause for concern.
    Nice weekend project, heh. I need to get up to speed on gcc-8+ to make
    any sense of them, myself, but I would like to hear from anyone who's
    gotten warnings and ran the code.


    I am running the code at least for 1.0.7.17 with a large amount of warnings.


    The problem is the code was done for older versions of the gcc compiler such as
    v4 and as time and versions have come out the warning count has increased.

    I guess no one knows enough about the compiler and mbse to do some fixes as I suspect that if a few is dealt with the rest will also be dealt with as they are all similar.


    Vincent

    --- Mageia Linux v7.1 X64/Mbse v1.0.7.13/GoldED+/LNX 1.1.5-b20180707
    * Origin: Air Applewood, The Linux Gateway to the UK & Eire (2:250/1)
  • From Andrew Leary@1:320/219 to James Digriz on Fri Sep 4 03:16:10 2020
    Hello James!

    02 Sep 20 17:59, you wrote to all:

    Anyone else tried compiling on 8? Goes to completion but I'm getting
    piles of warnings about string truncation and such. Eg:

    These warnings are because of changes in the newer versions of GCC. They have already been reported, and will be addressed in the future as time permits.

    Regards,

    Andrew

    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: Phoenix BBS * phoenix.bnbbbs.net (1:320/219)
  • From Andrew Leary@1:320/219 to James Digriz on Sat Sep 5 01:51:20 2020
    Hello James!

    04 Sep 20 14:21, you wrote to Vincent Coen:

    Yes, I'm using the same setup. For some reason, though, the start
    script didn't work at first. Of course, after I made my comment, it
    now works. <shrug>. Something called systemd-sysv-generator apparently lets the mbsed init scripts operate correctly.

    It is on the TO DO list to make the install scripts interface directly with systemd systems.

    I also just recently corrected the Debian and Devuan install scripts to include the LSB information so that the BBS can be configured to auto start when the machine boots.

    Andrew

    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: Phoenix BBS * phoenix.bnbbbs.net (1:320/219)