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) {
^~~~~~
writemsg.cpp:142:10: warning: enumeration value
'XEDIT_SOFT_CR_RETAIN not handled in switch [-Wswitch]
Harmless, but thanks.
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 ;)
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. :-)
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
:)
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++.
Sysop: | Kurt Hamm |
---|---|
Location: | Columbia, SC |
Users: | 8 |
Nodes: | 20 (0 / 20) |
Uptime: | 136:07:43 |
Calls: | 2,804 |
Calls today: | 1 |
Files: | 64 |
Messages: | 854,512 |