• new compiler warnings

    From Nigel Reed@VERT 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.c
    sbbsecho.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)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab issue in main/sbbs on Fri Apr 15 23:14:48 2022
    close https://gitlab.synchro.net/main/sbbs/-/issues/388

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Nigel Reed@VERT 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);
    | ^~~~
    ~~~

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab issue in main/sbbs on Mon Nov 13 17:18:50 2023
    close https://gitlab.synchro.net/main/sbbs/-/issues/673

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net