• XEDIT_SOFT_CR_* warnings?

    From Rampage@VERT/SESTAR to Digital Man on Monday, April 29, 2019 20:02:10
    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
  • From Digital Man@VERT to Rampage on Monday, April 29, 2019 17:49:05
    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

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rampage@VERT/SESTAR to Digital Man on Monday, April 29, 2019 23:29:49
    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
  • From Digital Man@VERT to Rampage on Monday, April 29, 2019 23:45:02
    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

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From mark lewis@VERT to Digital Man on Tuesday, April 30, 2019 10:00:18
    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)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to mark lewis on Tuesday, April 30, 2019 12:26:26
    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

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From mark lewis@VERT to Digital Man on Tuesday, April 30, 2019 17:52:28
    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)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net