• new compiler warnings

    From Nigel Reed@1:103/705 to GitLab issue in main/sbbs on Mon Apr 4 02:00:07 2022
    open https://gitlab.synchro.net/main/sbbs/-/issues/388

    Compiling sbbsecho.csbbsecho.c: In function ‘export_echomail’:sbbsecho.c:4829:49: warning: pointer targets in passing argument 1 of ‘ascii_str’ differ in signedness [-Wpointer-sign] 4829 | utf8_to_cp437_inplace(hdr.to), ascii_str(hdr.to); | ~~~^~~ | | | char *In file included from sbbsecho.c:48:str_util.h:42:18: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 42 | DLLEXPORT char * ascii_str(uchar* str); | ^~~~~~~~~sbbsecho.c:4830:51: warning: pointer targets in passing argument 1 of ‘ascii_str’ differ in signedness [-Wpointer-sign] 4830 | utf8_to_cp437_inplace(hdr.from), ascii_str(hdr.from); | ~~~^~~~~ | | | char *In file included from sbbsecho.c:48:str_util.h:42:18: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 42 | DLLEXPORT char * ascii_str(uchar* str); | ^~~~~~~~~sbbsecho.c:4831:51: warning: pointer targets in passing argument 1 of ‘ascii_str’ differ in signedness [-Wpointer-sign] 4831 | utf8_to_cp437_inplace(hdr.subj), ascii_str(hdr.subj); | ~~~^~~~~ | | | char *In file included from sbbsecho.c:48:str_util.h:42:18: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 42 | DLLEXPORT char * ascii_str(uchar* str); | ^~~~~~~~~gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab issue in main/sbbs on Fri Apr 15 23:14:48 2022
    close https://gitlab.synchro.net/main/sbbs/-/issues/388
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nigel Reed@1:103/705 to GitLab issue in main/sbbs on Mon Nov 13 16:41:50 2023
    open https://gitlab.synchro.net/main/sbbs/-/issues/673

    ~~~
    Compiling js_console.cpp
    js_console.cpp: In function ‘JSBool js_cond_newline(JSContext*, uintN, jsval*)’:
    js_console.cpp:1226:16: warning: unused variable ‘argv’ [-Wunused-variable]
    1226 | jsval *argv=JS_ARGV(cx, arglist);
    | ^~~~
    js_console.cpp: In function ‘JSBool js_cond_blankline(JSContext*, uintN, jsval*)’:
    js_console.cpp:1244:16: warning: unused variable ‘argv’ [-Wunused-variable]
    1244 | jsval *argv=JS_ARGV(cx, arglist);
    | ^~~~
    js_console.cpp: In function ‘JSBool js_cond_contline(JSContext*, uintN, jsval*)’:
    js_console.cpp:1262:16: warning: unused variable ‘argv’ [-Wunused-variable]
    1262 | jsval *argv=JS_ARGV(cx, arglist);
    | ^~~~
    ~~~
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab issue in main/sbbs on Mon Nov 13 17:18:50 2023
    close https://gitlab.synchro.net/main/sbbs/-/issues/673
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)