• XEDIT_SOFT_CR_* warnings?

    From Rampage@1:103/705 to Digital Man on Mon Apr 29 22:02:10 2019
    have just updated to the latest code available at the time of this post... i'm seeing the following in my compile log... i understand they are only warnings and that this is related to newly added code to deal with 0x8d characters...

    Compiling writemsg.cpp
    writemsg.cpp: In member function 'int sbbs_t::process_edited_text(char*, FILE*, long int, unsigned int*, unsigned int)':
    writemsg.cpp:142:10: warning: enumeration value 'XEDIT_SOFT_CR_UNDEFINED' not handled in switch [-Wswitch]
    switch(cfg.xedit[useron_xedit-1]->soft_cr) {
    ^
    writemsg.cpp:142:10: warning: enumeration value 'XEDIT_SOFT_CR_RETAIN' not handled in switch [-Wswitch]


    Compiling scfgxtrn.c
    scfgxtrn.c: In function 'xedit_cfg':
    scfgxtrn.c:1674:4: warning: enumeration value 'XEDIT_SOFT_CR_UNDEFINED' not handled in switch [-Wswitch]
    switch(cfg.xedit[i]->soft_cr) {
    ^~~~~~


    )\/(ark

    ---
    ■ Synchronet ■ SouthEast Star Mail HUB - SESTAR
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Rampage on Mon Apr 29 19:49:05 2019
    Re: XEDIT_SOFT_CR_* warnings?
    By: Rampage to Digital Man on Mon Apr 29 2019 10:02 pm

    have just updated to the latest code available at the time of this post... i'm seeing the following in my compile log... i understand they are only warnings and that this is related to newly added code to deal with 0x8d characters...

    Compiling writemsg.cpp
    writemsg.cpp: In member function 'int sbbs_t::process_edited_text(char*, FILE*, long int, unsigned int*, unsigned int)':
    writemsg.cpp:142:10: warning: enumeration value 'XEDIT_SOFT_CR_UNDEFINED' not handled in switch [-Wswitch]
    switch(cfg.xedit[useron_xedit-1]->soft_cr) {
    ^
    writemsg.cpp:142:10: warning: enumeration value 'XEDIT_SOFT_CR_RETAIN' not handled in switch [-Wswitch]


    Compiling scfgxtrn.c
    scfgxtrn.c: In function 'xedit_cfg':
    scfgxtrn.c:1674:4: warning: enumeration value 'XEDIT_SOFT_CR_UNDEFINED' not handled in switch [-Wswitch]
    switch(cfg.xedit[i]->soft_cr) {
    ^~~~~~

    Harmless, but thanks.

    digital man

    Synchronet "Real Fact" #85:
    The ZMODEM file transfer protocol is limited to files of 4 gigabytes or smaller.
    Norco, CA WX: 57.6°F, 84.0% humidity, 6 mph E wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.07-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rampage@1:103/705 to Digital Man on Tue Apr 30 01:29:49 2019
    Re: XEDIT_SOFT_CR_* warnings?
    By: Digital Man to Rampage on Mon Apr 29 2019 19:49:05

    writemsg.cpp:142:10: warning: enumeration value
    'XEDIT_SOFT_CR_RETAIN not handled in switch [-Wswitch]

    Harmless, but thanks.

    we pretty sure it was harmless being they were warnings but thought i'd point them out since all the others were cleaned up ;)


    )\/(ark

    ---
    ■ Synchronet ■ The SouthEast Star Mail HUB - SESTAR
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Rampage on Tue Apr 30 01:45:02 2019
    Re: XEDIT_SOFT_CR_* warnings?
    By: Rampage to Digital Man on Tue Apr 30 2019 01:29 am

    Re: XEDIT_SOFT_CR_* warnings?
    By: Digital Man to Rampage on Mon Apr 29 2019 19:49:05

    writemsg.cpp:142:10: warning: enumeration value
    'XEDIT_SOFT_CR_RETAIN not handled in switch [-Wswitch]

    Harmless, but thanks.

    we pretty sure it was harmless being they were warnings but thought i'd point them out since all the others were cleaned up ;)

    And new ones (warnings) are added all the time. :-)

    digital man

    Synchronet "Real Fact" #37:
    Synchronet's Windows Control Panel is built with Borland C++ Builder.
    Norco, CA WX: 55.3°F, 88.0% humidity, 5 mph ESE wind, 0.00 inches rain/24hrs --- SBBSecho 3.07-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From mark lewis@1:3634/12.73 to Digital Man on Tue Apr 30 12:00:18 2019

    On 2019 Apr 30 01:45:02, you wrote to Rampage:

    Harmless, but thanks.

    we pretty sure it was harmless being they were warnings but thought
    i'd point them out since all the others were cleaned up ;)

    And new ones (warnings) are added all the time. :-)

    yup! but the compiling log output is a lot cleaner than it was a few months ago
    :)

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... You know, just like real life.
    ---
    * Origin: (1:3634/12.73)
  • From Digital Man@1:103/705 to mark lewis on Tue Apr 30 14:26:26 2019
    Re: XEDIT_SOFT_CR_* warnings?
    By: mark lewis to Digital Man on Tue Apr 30 2019 12:00 pm


    On 2019 Apr 30 01:45:02, you wrote to Rampage:

    Harmless, but thanks.

    we pretty sure it was harmless being they were warnings but thought
    i'd point them out since all the others were cleaned up ;)

    And new ones (warnings) are added all the time. :-)

    yup! but the compiling log output is a lot cleaner than it was a few months ago
    :)

    It ebbs and flows. If you're using a different compiler or version any C/C++ compiler than I am, then you're going to get a different number/set of warnings
    at any given time. That's just how it goes with C/C++.

    digital man

    Synchronet/BBS Terminology Definition #37:
    IHA = Ille Homine Albe (Steve Deppe)
    Norco, CA WX: 63.1°F, 69.0% humidity, 5 mph NE wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.07-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From mark lewis@1:3634/12.73 to Digital Man on Tue Apr 30 19:52:28 2019

    On 2019 Apr 30 14:26:26, you wrote to me:

    yup! but the compiling log output is a lot cleaner than it was a few
    months ago :)

    It ebbs and flows. If you're using a different compiler or version any C/C++ compiler than I am, then you're going to get a different
    number/set of warnings at any given time. That's just how it goes with C/C++.

    ahhh... FWIW: here's the info from my main hub system...

    $ gcc --version ; cat /etc/issue ; uname -a
    gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
    Copyright (C) 2017 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

    Ubuntu 18.04.2 LTS

    Linux sestar 4.15.0-47-generic #50-Ubuntu SMP Wed Mar 13 10:44:52 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux


    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... I'm a clinically depressed fecalphiliac on Prozac. - Kyle [South Park]
    ---
    * Origin: (1:3634/12.73)