=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for kannel-1.4.0nb22
for dir in gw gw/smsc gwlib test utils wmlscript checks wap radius; do \
	clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -MM $dir/*.c | sed "s:^[^ ]:$dir/&:"; done > .depend
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/bb_alog.o -c gw/bb_alog.c
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/bb_boxc.o -c gw/bb_boxc.c
gw/bb_boxc.c:584:10: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
    fd = (int)arg;
         ^~~~~~~~
gw/bb_boxc.c:677:10: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
    fd = (int)arg;
         ^~~~~~~~
gw/bb_boxc.c:918:36: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast]
                gwthread_create(function, (void *)fd);
                                          ^~~~~~~~~~
./gwlib/gwthread.h:89:50: note: expanded from macro 'gwthread_create'
        (gwthread_create_real(func, __FILE__ ":" #func, arg))
                                                        ^~~
gw/bb_boxc.c:937:12: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
    port = (int)arg;
           ^~~~~~~~
gw/bb_boxc.c:995:12: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
    port = (int)arg;
           ^~~~~~~~
5 warnings generated.
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/bb_http.o -c gw/bb_http.c
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/bb_smscconn.o -c gw/bb_smscconn.c
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/bb_store.o -c gw/bb_store.c
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/bb_udp.o -c gw/bb_udp.c
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/bearerbox.o -c gw/bearerbox.c
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/dlr.o -c gw/dlr.c
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/dlr_mem.o -c gw/dlr_mem.c
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/dlr_mysql.o -c gw/dlr_mysql.c
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/dlr_oracle.o -c gw/dlr_oracle.c
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/dlr_pgsql.o -c gw/dlr_pgsql.c
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/dlr_sdb.o -c gw/dlr_sdb.c
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/heartbeat.o -c gw/heartbeat.c
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/html.o -c gw/html.c
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/mime_decompiler.o -c gw/mime_decompiler.c
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/msg.o -c gw/msg.c
gw/msg.c:258:28: warning: passing 'unsigned char [4]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    octstr_append_data(os, buf, 4);
                           ^~~
./gwlib/octstr.h:435:51: note: passing argument to parameter 'data' here
void octstr_append_data(Octstr *ostr, const char *data, long len);
                                                  ^
gw/msg.c:290:27: warning: passing 'unsigned char [4]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    octstr_get_many_chars(buf, packed, *off, 4);
                          ^~~
./gwlib/octstr.h:217:34: note: passing argument to parameter 'buf' here
void octstr_get_many_chars(char *buf, Octstr *ostr, long pos, long len);
                                 ^
2 warnings generated.
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/numhash.o -c gw/numhash.c
gw/numhash.c:345:16: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    ptr = data = octstr_get_cstr(reply_body);
               ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/numhash.c:358:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    while((ptr = strchr(data, '\n'))) { /* each line is ended with linefeed */
                        ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:76:26: note: passing argument to parameter '__s' here
char    *strchr(const char *__s, int __c);
                            ^
gw/numhash.c:358:16: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    while((ptr = strchr(data, '\n'))) { /* each line is ended with linefeed */
               ^ ~~~~~~~~~~~~~~~~~~
gw/numhash.c:374:29: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                numhash_add_number(table, numbuf);
                                          ^~~~~~
gw/numhash.c:149:53: note: passing argument to parameter 'nro' here
static int numhash_add_number(Numhash *table, char *nro)
                                                    ^
4 warnings generated.
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/ota_compiler.o -c gw/ota_compiler.c
gw/ota_compiler.c:342:12: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    name = octstr_create(node->name);
           ^~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:126:38: note: expanded from macro 'octstr_create'
    gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:123:40: note: passing argument to parameter 'cstr' here
Octstr *octstr_create_real(const char *cstr, const char *file, long line,
                                       ^
gw/ota_compiler.c:410:12: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    name = octstr_create(attr->name);
           ^~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:126:38: note: expanded from macro 'octstr_create'
    gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:123:40: note: passing argument to parameter 'cstr' here
Octstr *octstr_create_real(const char *cstr, const char *file, long line,
                                       ^
gw/ota_compiler.c:413:10: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        value = create_octstr_from_node(attr->children);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/xml_shared.h:139:40: note: expanded from macro 'create_octstr_from_node'
#define create_octstr_from_node(node) (octstr_create(node->content))
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:126:38: note: expanded from macro 'octstr_create'
    gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:123:40: note: passing argument to parameter 'cstr' here
Octstr *octstr_create_real(const char *cstr, const char *file, long line,
                                       ^
3 warnings generated.
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/ota_prov.o -c gw/ota_prov.c
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/shared.o -c gw/shared.c
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/sms.o -c gw/sms.c
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/smsbox.o -c gw/smsbox.c
gw/smsbox.c:3326:21: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers to integer types with different sign [-Wpointer-sign]
    cfg_get_integer(&max_http_retries, grp, octstr_imm("http-request-retry"));
                    ^~~~~~~~~~~~~~~~~
./gwlib/cfg.h:86:27: note: passing argument to parameter 'n' here
int cfg_get_integer(long *n, CfgGroup *grp, Octstr *varname);
                          ^
gw/smsbox.c:3327:21: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers to integer types with different sign [-Wpointer-sign]
    cfg_get_integer(&http_queue_delay, grp, octstr_imm("http-queue-delay"));
                    ^~~~~~~~~~~~~~~~~
./gwlib/cfg.h:86:27: note: passing argument to parameter 'n' here
int cfg_get_integer(long *n, CfgGroup *grp, Octstr *varname);
                          ^
2 warnings generated.
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/smscconn.o -c gw/smscconn.c
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/urltrans.o -c gw/urltrans.c
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/wap-appl.o -c gw/wap-appl.c
gw/wap-appl.c:517:24: warning: initializing 'unsigned char *' with an expression of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        unsigned char *charset = octstr_get_cstr(list_get(charsets, i));
                       ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/wap-appl.c:518:45: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        if (!http_charset_accepted(headers, charset))
                                            ^~~~~~~
./gwlib/http.h:583:48: note: passing argument to parameter 'charset' here
int http_charset_accepted(List *headers, char *charset);
                                               ^
gw/wap-appl.c:519:56: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
            http_header_add(headers, "Accept-Charset", charset);
                                                       ^~~~~~~
./gwlib/http.h:465:55: note: passing argument to parameter 'contents' here
void http_header_add(List *headers, char *name, char *contents);
                                                      ^
gw/wap-appl.c:1337:30: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                             octstr_get_cstr(content->body),
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:234:5: note: expanded from macro 'octstr_get_cstr'
    (octstr_get_cstr_real(ostr, __FILE__, __LINE__, __func__))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./wmlscript/ws.h:248:47: note: passing argument to parameter 'input' here
                         const unsigned char *input, size_t input_len,
                                              ^
gw/wap-appl.c:1345:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        wmlscriptc = octstr_create_from_data(result_data, result_size);
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:135:48: note: expanded from macro 'octstr_create_from_data'
    gw_claim_area(octstr_create_from_data_real((data), (len), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:132:50: note: passing argument to parameter 'data' here
Octstr *octstr_create_from_data_real(const char *data, long len, const char *file,
                                                 ^
gw/wap-appl.c:1467:17: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
           appid_value = wsp_application_id_to_cstr((long) coded_value);
                       ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/wap-appl.c:1529:11: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    value = wsp_bearer_indication_to_cstr(coded_value);
          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7 warnings generated.
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/wap-error.o -c gw/wap-error.c
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/wap-maps.o -c gw/wap-maps.c
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/wap_push_ota.o -c gw/wap_push_ota.c
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/wap_push_pap_compiler.o -c gw/wap_push_pap_compiler.c
gw/wap_push_pap_compiler.c:799:12: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    name = octstr_create(node->name);
           ^~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:126:38: note: expanded from macro 'octstr_create'
    gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:123:40: note: passing argument to parameter 'cstr' here
Octstr *octstr_create_real(const char *cstr, const char *file, long line,
                                       ^
gw/wap_push_pap_compiler.c:863:17: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    attr_name = octstr_create(attribute->name);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:126:38: note: expanded from macro 'octstr_create'
    gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:123:40: note: passing argument to parameter 'cstr' here
Octstr *octstr_create_real(const char *cstr, const char *file, long line,
                                       ^
gw/wap_push_pap_compiler.c:866:17: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        value = create_octstr_from_node(attribute->children);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/wap_push_pap_compiler.c:326:40: note: expanded from macro 'create_octstr_from_node'
#define create_octstr_from_node(node) (octstr_create(node->content))
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:126:38: note: expanded from macro 'octstr_create'
    gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:123:40: note: passing argument to parameter 'cstr' here
Octstr *octstr_create_real(const char *cstr, const char *file, long line,
                                       ^
3 warnings generated.
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/wap_push_pap_mime.o -c gw/wap_push_pap_mime.c
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/wap_push_ppg.o -c gw/wap_push_ppg.c
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/wap_push_ppg_pushuser.o -c gw/wap_push_ppg_pushuser.c
gw/wap_push_ppg_pushuser.c:1036:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        octstr_get_many_chars(prefix, os1, 0, start);
                              ^~~~~~
./gwlib/octstr.h:217:34: note: passing argument to parameter 'buf' here
void octstr_get_many_chars(char *buf, Octstr *ostr, long pos, long len);
                                 ^
gw/wap_push_ppg_pushuser.c:1044:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        octstr_insert_data(os1, 0, prefix, start);
                                   ^~~~~~
./gwlib/octstr.h:424:61: note: passing argument to parameter 'data' here
void octstr_insert_data(Octstr *ostr, long pos, const char *data, long len);
                                                            ^
2 warnings generated.
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/wap_push_si_compiler.o -c gw/wap_push_si_compiler.c
gw/wap_push_si_compiler.c:254:12: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    name = octstr_create(node->name);
           ^~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:126:38: note: expanded from macro 'octstr_create'
    gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:123:40: note: passing argument to parameter 'cstr' here
Octstr *octstr_create_real(const char *cstr, const char *file, long line,
                                       ^
gw/wap_push_si_compiler.c:319:12: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    temp = create_octstr_from_node(node);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/xml_shared.h:139:40: note: expanded from macro 'create_octstr_from_node'
#define create_octstr_from_node(node) (octstr_create(node->content))
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:126:38: note: expanded from macro 'octstr_create'
    gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:123:40: note: passing argument to parameter 'cstr' here
Octstr *octstr_create_real(const char *cstr, const char *file, long line,
                                       ^
gw/wap_push_si_compiler.c:351:12: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    name = octstr_create(attr->name);
           ^~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:126:38: note: expanded from macro 'octstr_create'
    gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:123:40: note: passing argument to parameter 'cstr' here
Octstr *octstr_create_real(const char *cstr, const char *file, long line,
                                       ^
gw/wap_push_si_compiler.c:354:10: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        value = create_octstr_from_node(attr->children);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/xml_shared.h:139:40: note: expanded from macro 'create_octstr_from_node'
#define create_octstr_from_node(node) (octstr_create(node->content))
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:126:38: note: expanded from macro 'octstr_create'
    gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:123:40: note: passing argument to parameter 'cstr' here
Octstr *octstr_create_real(const char *cstr, const char *file, long line,
                                       ^
gw/wap_push_si_compiler.c:600:12: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    temp = create_octstr_from_node(node);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/xml_shared.h:139:40: note: expanded from macro 'create_octstr_from_node'
#define create_octstr_from_node(node) (octstr_create(node->content))
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:126:38: note: expanded from macro 'octstr_create'
    gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:123:40: note: passing argument to parameter 'cstr' here
Octstr *octstr_create_real(const char *cstr, const char *file, long line,
                                       ^
5 warnings generated.
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/wap_push_sl_compiler.o -c gw/wap_push_sl_compiler.c
gw/wap_push_sl_compiler.c:305:12: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    name = octstr_create(node->name);
           ^~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:126:38: note: expanded from macro 'octstr_create'
    gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:123:40: note: passing argument to parameter 'cstr' here
Octstr *octstr_create_real(const char *cstr, const char *file, long line,
                                       ^
gw/wap_push_sl_compiler.c:362:12: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    name = octstr_create(attr->name);
           ^~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:126:38: note: expanded from macro 'octstr_create'
    gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:123:40: note: passing argument to parameter 'cstr' here
Octstr *octstr_create_real(const char *cstr, const char *file, long line,
                                       ^
gw/wap_push_sl_compiler.c:365:17: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        value = create_octstr_from_node(attr->children);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/xml_shared.h:139:40: note: expanded from macro 'create_octstr_from_node'
#define create_octstr_from_node(node) (octstr_create(node->content))
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:126:38: note: expanded from macro 'octstr_create'
    gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:123:40: note: passing argument to parameter 'cstr' here
Octstr *octstr_create_real(const char *cstr, const char *file, long line,
                                       ^
3 warnings generated.
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/wapbox.o -c gw/wapbox.c
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/wml_compiler.o -c gw/wml_compiler.c
gw/wml_compiler.c:601:22: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        externalID = octstr_create(document->intSubset->ExternalID);
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:126:38: note: expanded from macro 'octstr_create'
    gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:123:40: note: passing argument to parameter 'cstr' here
Octstr *octstr_create_real(const char *cstr, const char *file, long line,
                                       ^
gw/wml_compiler.c:655:12: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    name = octstr_create(node->name);
           ^~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:126:38: note: expanded from macro 'octstr_create'
    gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:123:40: note: passing argument to parameter 'cstr' here
Octstr *octstr_create_real(const char *cstr, const char *file, long line,
                                       ^
gw/wml_compiler.c:736:12: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    name = octstr_create(attr->name);
           ^~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:126:38: note: expanded from macro 'octstr_create'
    gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:123:40: note: passing argument to parameter 'cstr' here
Octstr *octstr_create_real(const char *cstr, const char *file, long line,
                                       ^
gw/wml_compiler.c:739:12: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        pattern = create_octstr_from_node(attr->children);
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/xml_shared.h:139:40: note: expanded from macro 'create_octstr_from_node'
#define create_octstr_from_node(node) (octstr_create(node->content))
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:126:38: note: expanded from macro 'octstr_create'
    gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:123:40: note: passing argument to parameter 'cstr' here
Octstr *octstr_create_real(const char *cstr, const char *file, long line,
                                       ^
gw/wml_compiler.c:787:7: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                p = create_octstr_from_node(attr->children); 
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/xml_shared.h:139:40: note: expanded from macro 'create_octstr_from_node'
#define create_octstr_from_node(node) (octstr_create(node->content))
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:126:38: note: expanded from macro 'octstr_create'
    gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:123:40: note: passing argument to parameter 'cstr' here
Octstr *octstr_create_real(const char *cstr, const char *file, long line,
                                       ^
gw/wml_compiler.c:933:12: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    temp = create_octstr_from_node(node); /* returns string in UTF-8 */
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/xml_shared.h:139:40: note: expanded from macro 'create_octstr_from_node'
#define create_octstr_from_node(node) (octstr_create(node->content))
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:126:38: note: expanded from macro 'octstr_create'
    gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:123:40: note: passing argument to parameter 'cstr' here
Octstr *octstr_create_real(const char *cstr, const char *file, long line,
                                       ^
gw/wml_compiler.c:978:12: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    temp = create_octstr_from_node(node);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/xml_shared.h:139:40: note: expanded from macro 'create_octstr_from_node'
#define create_octstr_from_node(node) (octstr_create(node->content))
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:126:38: note: expanded from macro 'octstr_create'
    gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:123:40: note: passing argument to parameter 'cstr' here
Octstr *octstr_create_real(const char *cstr, const char *file, long line,
                                       ^
gw/wml_compiler.c:1515:17: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
            if (strcmp(child->name, "do") == 0) {
                       ^~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here
int      strcmp(const char *__s1, const char *__s2);
                            ^
gw/wml_compiler.c:1558:17: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
            if (strcmp(attr->name, "name") == 0) {
                       ^~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here
int      strcmp(const char *__s1, const char *__s2);
                            ^
gw/wml_compiler.c:1559:10: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                name = create_octstr_from_node(attr->children);
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/xml_shared.h:139:40: note: expanded from macro 'create_octstr_from_node'
#define create_octstr_from_node(node) (octstr_create(node->content))
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:126:38: note: expanded from macro 'octstr_create'
    gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:123:40: note: passing argument to parameter 'cstr' here
Octstr *octstr_create_real(const char *cstr, const char *file, long line,
                                       ^
gw/wml_compiler.c:1592:17: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
            if (strcmp(attr->name, "name") == 0) {
                       ^~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here
int      strcmp(const char *__s1, const char *__s2);
                            ^
gw/wml_compiler.c:1593:10: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                name = create_octstr_from_node(attr->children);
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/xml_shared.h:139:40: note: expanded from macro 'create_octstr_from_node'
#define create_octstr_from_node(node) (octstr_create(node->content))
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:126:38: note: expanded from macro 'octstr_create'
    gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:123:40: note: passing argument to parameter 'cstr' here
Octstr *octstr_create_real(const char *cstr, const char *file, long line,
                                       ^
gw/wml_compiler.c:1602:14: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                if (strcmp(attr->name, "type") == 0) {
                           ^~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here
int      strcmp(const char *__s1, const char *__s2);
                            ^
gw/wml_compiler.c:1603:14: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                    name = create_octstr_from_node(attr->children);
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/xml_shared.h:139:40: note: expanded from macro 'create_octstr_from_node'
#define create_octstr_from_node(node) (octstr_create(node->content))
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:126:38: note: expanded from macro 'octstr_create'
    gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:123:40: note: passing argument to parameter 'cstr' here
Octstr *octstr_create_real(const char *cstr, const char *file, long line,
                                       ^
gw/wml_compiler.c:1644:16: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    if (strcmp(node->name, "b") == 0)
               ^~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here
int      strcmp(const char *__s1, const char *__s2);
                            ^
gw/wml_compiler.c:1646:16: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    if (strcmp(node->name, "big") == 0)
               ^~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here
int      strcmp(const char *__s1, const char *__s2);
                            ^
gw/wml_compiler.c:1648:16: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    if (strcmp(node->name, "em") == 0)
               ^~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here
int      strcmp(const char *__s1, const char *__s2);
                            ^
gw/wml_compiler.c:1650:16: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    if (strcmp(node->name, "i") == 0)
               ^~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here
int      strcmp(const char *__s1, const char *__s2);
                            ^
gw/wml_compiler.c:1652:16: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    if (strcmp(node->name, "small") == 0)
               ^~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here
int      strcmp(const char *__s1, const char *__s2);
                            ^
gw/wml_compiler.c:1654:16: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    if (strcmp(node->name, "strong") == 0)
               ^~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here
int      strcmp(const char *__s1, const char *__s2);
                            ^
gw/wml_compiler.c:1656:16: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    if (strcmp(node->name, "u") == 0)
               ^~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here
int      strcmp(const char *__s1, const char *__s2);
                            ^
gw/wml_compiler.c:1809:11: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        string = create_octstr_from_node(node);
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/xml_shared.h:139:40: note: expanded from macro 'create_octstr_from_node'
#define create_octstr_from_node(node) (octstr_create(node->content))
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:126:38: note: expanded from macro 'octstr_create'
    gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:123:40: note: passing argument to parameter 'cstr' here
Octstr *octstr_create_real(const char *cstr, const char *file, long line,
                                       ^
22 warnings generated.
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/xml_shared.o -c gw/xml_shared.c
gw/xml_shared.c:237:17: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
          (only_blanks(node->children->content))))
                       ^~~~~~~~~~~~~~~~~~~~~~~
gw/xml_shared.c:162:29: note: passing argument to parameter 'text' here
int only_blanks(const char *text)
                            ^
1 warning generated.
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/smsc/emimsg.o -c gw/smsc/emimsg.c
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/smsc/smasi_pdu.o -c gw/smsc/smasi_pdu.c
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/smsc/smpp_pdu.o -c gw/smsc/smpp_pdu.c
gw/smsc/smpp_pdu.c:419:31: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    len = decode_network_long(buf);
                              ^~~
./gwlib/utils.h:165:41: note: passing argument to parameter 'data' here
long decode_network_long(unsigned char *data);
                                        ^
1 warning generated.
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/smsc/smsc.o -c gw/smsc/smsc.c
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/smsc/smsc_at.o -c gw/smsc/smsc_at.c
gw/smsc/smsc_at.c:192:15: warning: result of comparison of constant 9223372036854775807 with expression of type 'int' is always false [-Wtautological-constant-out-of-range-compare]
    if (count > SSIZE_MAX)
        ~~~~~ ^ ~~~~~~~~~
gw/smsc/smsc_at.c:193:17: warning: implicit conversion from 'long' to 'int' changes value from 9223372036854775807 to -1 [-Wconstant-conversion]
        count = SSIZE_MAX;
              ~ ^~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/arm/limits.h:99:25: note: expanded from macro 'SSIZE_MAX'
#define SSIZE_MAX       LONG_MAX        /* max value for a ssize_t */
                        ^~~~~~~~
/System/Volumes/Data/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
#define LONG_MAX  __LONG_MAX__
                  ^~~~~~~~~~~~
<built-in>:43:22: note: expanded from here
#define __LONG_MAX__ 9223372036854775807L
                     ^~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_at.c:1787:24: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        for (i = 0, ip = octstr_get_cstr(input); i < octstr_len(input); i++) {
                       ^ ~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_at.c:1873:21: warning: passing 'unsigned char [500]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
            sprintf(command, "AT+CMGS=%ld", octstr_len(pdu) / 2);
                    ^~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                           ^~~
gw/smsc/smsc_at.c:1875:52: warning: passing 'unsigned char [500]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
            ret = at2_send_modem_command(privdata, command, 5, 1);
                                                   ^~~~~~~
gw/smsc/smsc_at.c:561:57: note: passing argument to parameter 'cmd' here
int at2_send_modem_command(PrivAT2data *privdata, char *cmd, time_t timeout, int gt_flag)
                                                        ^
gw/smsc/smsc_at.c:1885:21: warning: passing 'unsigned char [500]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
            sprintf(command, "%s%s", sc, octstr_get_cstr(pdu));
                    ^~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                           ^~~
gw/smsc/smsc_at.c:1886:33: warning: passing 'unsigned char [500]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
            at2_write(privdata, command);
                                ^~~~~~~
gw/smsc/smsc_at.c:367:44: note: passing argument to parameter 'line' here
int at2_write(PrivAT2data *privdata, char *line)
                                           ^
7 warnings generated.
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/smsc/smsc_cgw.o -c gw/smsc/smsc_cgw.c
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/smsc/smsc_cimd.o -c gw/smsc/smsc_cimd.c
gw/smsc/smsc_cimd.c:646:9: warning: comparison of array 'tmpbuff' equal to a null pointer is always false [-Wtautological-pointer-compare]
    if (tmpbuff == NULL) {
        ^~~~~~~    ~~~~
gw/smsc/smsc_cimd.c:783:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        case '<A3>': strcat(to, "_L-"); to += 3; break;
             ^
gw/smsc/smsc_cimd.c:795:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        case '<C5>': strcat(to, "_A*"); to += 3; break;
             ^
gw/smsc/smsc_cimd.c:796:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        case '<E5>': strcat(to, "_a*"); to += 3; break;
             ^
gw/smsc/smsc_cimd.c:797:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        case '<E4>': strcat(to, "_a\""); to += 3; break;
             ^
gw/smsc/smsc_cimd.c:798:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        case '<F6>': strcat(to, "_o\""); to += 3; break;
             ^
gw/smsc/smsc_cimd.c:799:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        case '<C4>': strcat(to, "_A\""); to += 3; break;
             ^
gw/smsc/smsc_cimd.c:800:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        case '<D6>': strcat(to, "_O\""); to += 3; break;
             ^
gw/smsc/smsc_cimd.c:801:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        case '<A5>': strcat(to, "_Y-"); to += 3; break;
             ^
gw/smsc/smsc_cimd.c:802:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        case '<E8>': strcat(to, "_e`"); to += 3; break;
             ^
gw/smsc/smsc_cimd.c:803:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        case '<E9>': strcat(to, "_e<B4>"); to += 3; break;
             ^
gw/smsc/smsc_cimd.c:803:33: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
        case '<E9>': strcat(to, "_e<B4>"); to += 3; break;
                                   ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat'
                __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                              ^~~~~~~~~~~
gw/smsc/smsc_cimd.c:804:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        case '<F9>': strcat(to, "_u`"); to += 3; break;
             ^
gw/smsc/smsc_cimd.c:805:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        case '<EC>': strcat(to, "_i`"); to += 3; break;
             ^
gw/smsc/smsc_cimd.c:806:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        case '<F2>': strcat(to, "_o`"); to += 3; break;
             ^
gw/smsc/smsc_cimd.c:807:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        case '<C7>': strcat(to, "_C,"); to += 3; break;
             ^
gw/smsc/smsc_cimd.c:808:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        case '<D8>': strcat(to, "_O/"); to += 3; break;
             ^
gw/smsc/smsc_cimd.c:809:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        case '<F8>': strcat(to, "_o/"); to += 3; break;
             ^
gw/smsc/smsc_cimd.c:810:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        case '<C6>': strcat(to, "_AE"); to += 3; break;
             ^
gw/smsc/smsc_cimd.c:811:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        case '<E6>': strcat(to, "_ae"); to += 3; break;
             ^
gw/smsc/smsc_cimd.c:812:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        case '<DF>': strcat(to, "_ss"); to += 3; break;
             ^
gw/smsc/smsc_cimd.c:813:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        case '<C9>': strcat(to, "_E<B4>"); to += 3; break;
             ^
gw/smsc/smsc_cimd.c:813:33: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
        case '<C9>': strcat(to, "_E<B4>"); to += 3; break;
                                   ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat'
                __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                              ^~~~~~~~~~~
gw/smsc/smsc_cimd.c:814:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        case '<BF>': strcat(to, "_??"); to += 3; break;
             ^
gw/smsc/smsc_cimd.c:815:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        case '<DC>': strcat(to, "_U\""); to += 3; break;
             ^
gw/smsc/smsc_cimd.c:816:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        case '<F1>': strcat(to, "_n~"); to += 3; break;
             ^
gw/smsc/smsc_cimd.c:817:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        case '<FC>': strcat(to, "_u\""); to += 3; break;
             ^
gw/smsc/smsc_cimd.c:818:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        case '<E0>': strcat(to, "_a`"); to += 3; break;
             ^
gw/smsc/smsc_cimd.c:819:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        case '<A1>': strcat(to, "_!!"); to += 3; break;
             ^
gw/smsc/smsc_cimd.c:821:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        case '<D1>': strcat(to, "_N~"); to += 3; break;
             ^
gw/smsc/smsc_cimd.c:825:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        case '<A4>': strcat(to, "<A4>"); to++; break;
             ^
gw/smsc/smsc_cimd.c:825:31: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
        case '<A4>': strcat(to, "<A4>"); to++; break;
                                 ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat'
                __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                              ^~~~~~~~~~~
gw/smsc/smsc_cimd.c:933:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
            strcat(to, "<E4>");
                        ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat'
                __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                              ^~~~~~~~~~~
gw/smsc/smsc_cimd.c:936:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
            strcat(to, "<E5>");
                        ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat'
                __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                              ^~~~~~~~~~~
gw/smsc/smsc_cimd.c:950:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
            strcat(to, "<A3>");
                        ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat'
                __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                              ^~~~~~~~~~~
gw/smsc/smsc_cimd.c:966:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
            strcat(to, "<C5>");
                        ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat'
                __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                              ^~~~~~~~~~~
gw/smsc/smsc_cimd.c:969:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
            strcat(to, "<F6>");
                        ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat'
                __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                              ^~~~~~~~~~~
gw/smsc/smsc_cimd.c:972:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
            strcat(to, "<C4>");
                        ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat'
                __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                              ^~~~~~~~~~~
gw/smsc/smsc_cimd.c:975:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
            strcat(to, "<D6>");
                        ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat'
                __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                              ^~~~~~~~~~~
gw/smsc/smsc_cimd.c:978:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
            strcat(to, "<A5>");
                        ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat'
                __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                              ^~~~~~~~~~~
gw/smsc/smsc_cimd.c:981:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
            strcat(to, "<E8>");
                        ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat'
                __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                              ^~~~~~~~~~~
gw/smsc/smsc_cimd.c:983:90: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        } else if (from[my_int] == '_' && from[my_int + 1] == 'e' && from[my_int + 2] == '<B4>') {
                                                                                         ^
gw/smsc/smsc_cimd.c:984:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
            strcat(to, "<E9>");
                        ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat'
                __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                              ^~~~~~~~~~~
gw/smsc/smsc_cimd.c:987:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
            strcat(to, "<F9>");
                        ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat'
                __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                              ^~~~~~~~~~~
gw/smsc/smsc_cimd.c:990:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
            strcat(to, "<EC>");
                        ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat'
                __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                              ^~~~~~~~~~~
gw/smsc/smsc_cimd.c:993:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
            strcat(to, "<F2>");
                        ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat'
                __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                              ^~~~~~~~~~~
gw/smsc/smsc_cimd.c:996:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
            strcat(to, "<C7>");
                        ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat'
                __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                              ^~~~~~~~~~~
gw/smsc/smsc_cimd.c:999:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
            strcat(to, "<D8>");
                        ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat'
                __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                              ^~~~~~~~~~~
gw/smsc/smsc_cimd.c:1002:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
            strcat(to, "<F8>");
                        ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat'
                __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                              ^~~~~~~~~~~
gw/smsc/smsc_cimd.c:1005:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
            strcat(to, "<C6>");
                        ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat'
                __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                              ^~~~~~~~~~~
gw/smsc/smsc_cimd.c:1008:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
            strcat(to, "<E6>");
                        ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat'
                __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                              ^~~~~~~~~~~
gw/smsc/smsc_cimd.c:1011:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
            strcat(to, "<DF>");
                        ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat'
                __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                              ^~~~~~~~~~~
gw/smsc/smsc_cimd.c:1013:90: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        } else if (from[my_int] == '_' && from[my_int + 1] == 'E' && from[my_int + 2] == '<B4>') {
                                                                                         ^
gw/smsc/smsc_cimd.c:1014:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
            strcat(to, "<C9>");
                        ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat'
                __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                              ^~~~~~~~~~~
gw/smsc/smsc_cimd.c:1017:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
            strcat(to, "<BF>");
                        ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat'
                __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                              ^~~~~~~~~~~
gw/smsc/smsc_cimd.c:1020:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
            strcat(to, "<DC>");
                        ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat'
                __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                              ^~~~~~~~~~~
gw/smsc/smsc_cimd.c:1023:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
            strcat(to, "<F1>");
                        ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat'
                __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                              ^~~~~~~~~~~
gw/smsc/smsc_cimd.c:1026:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
            strcat(to, "<FC>");
                        ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat'
                __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                              ^~~~~~~~~~~
gw/smsc/smsc_cimd.c:1029:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
            strcat(to, "<E0>");
                        ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat'
                __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                              ^~~~~~~~~~~
gw/smsc/smsc_cimd.c:1032:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
            strcat(to, "<A1>");
                        ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat'
                __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                              ^~~~~~~~~~~
gw/smsc/smsc_cimd.c:1044:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
            strcat(to, "<C5>");
                        ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat'
                __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                              ^~~~~~~~~~~
gw/smsc/smsc_cimd.c:1047:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
            strcat(to, "<E5>");
                        ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat'
                __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                              ^~~~~~~~~~~
gw/smsc/smsc_cimd.c:1050:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
            strcat(to, "<C4>");
                        ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat'
                __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                              ^~~~~~~~~~~
gw/smsc/smsc_cimd.c:1053:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
            strcat(to, "<E4>");
                        ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat'
                __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                              ^~~~~~~~~~~
gw/smsc/smsc_cimd.c:1056:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
            strcat(to, "<D6>");
                        ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat'
                __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                              ^~~~~~~~~~~
gw/smsc/smsc_cimd.c:1059:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
            strcat(to, "<F6>");
                        ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat'
                __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                              ^~~~~~~~~~~
gw/smsc/smsc_cimd.c:1071:36: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        } else if (from[my_int] == '<A4>') {
                                   ^
gw/smsc/smsc_cimd.c:1072:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
            strcat(to, "<A4>");
                        ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat'
                __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                              ^~~~~~~~~~~
68 warnings generated.
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/smsc/smsc_cimd2.o -c gw/smsc/smsc_cimd2.c
gw/smsc/smsc_cimd2.c:219:7: warning: initializing 'unsigned char *' with an expression of type 'char [14]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "user identity", P_USER_IDENTITY, 32, P_STRING },
      ^~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:220:7: warning: initializing 'unsigned char *' with an expression of type 'char [9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "password", P_PASSWORD, 32, P_STRING },
      ^~~~~~~~~~
gw/smsc/smsc_cimd2.c:221:7: warning: initializing 'unsigned char *' with an expression of type 'char [20]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "destination address", P_DESTINATION_ADDRESS, 20, P_ADDRESS },
      ^~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:222:7: warning: initializing 'unsigned char *' with an expression of type 'char [20]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "originating address", P_ORIGINATING_ADDRESS, 20, P_ADDRESS },
      ^~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:224:7: warning: initializing 'unsigned char *' with an expression of type 'char [17]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "originating IMSI", P_ORIGINATING_IMSI, 20, P_ADDRESS },
      ^~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:225:7: warning: initializing 'unsigned char *' with an expression of type 'char [33]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "alphanumeric originating address", P_ALPHANUMERIC_ORIGINATING_ADDRESS, 11, P_STRING },
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:226:7: warning: initializing 'unsigned char *' with an expression of type 'char [23]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "originated visited MSC", P_ORIGINATED_VISITED_MSC, 20, P_ADDRESS },
      ^~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:227:7: warning: initializing 'unsigned char *' with an expression of type 'char [19]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "data coding scheme", P_DATA_CODING_SCHEME, 3, P_INT, 0, 255 },
      ^~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:228:7: warning: initializing 'unsigned char *' with an expression of type 'char [17]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "user data header", P_USER_DATA_HEADER, 280, P_HEX },
      ^~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:229:7: warning: initializing 'unsigned char *' with an expression of type 'char [10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "user data", P_USER_DATA, 480, P_SMS },
      ^~~~~~~~~~~
gw/smsc/smsc_cimd2.c:230:7: warning: initializing 'unsigned char *' with an expression of type 'char [17]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "user data binary", P_USER_DATA_BINARY, 280, P_HEX },
      ^~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:231:7: warning: initializing 'unsigned char *' with an expression of type 'char [22]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "more messages to send", P_MORE_MESSAGES_TO_SEND, 1, P_INT, 0, 1 },
      ^~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:232:7: warning: initializing 'unsigned char *' with an expression of type 'char [25]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "validity period relative", P_VALIDITY_PERIOD_RELATIVE, 3, P_INT, -1, 255 },
      ^~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:233:7: warning: initializing 'unsigned char *' with an expression of type 'char [25]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "validity period absolute", P_VALIDITY_PERIOD_ABSOLUTE, 12, P_TIME },
      ^~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:234:7: warning: initializing 'unsigned char *' with an expression of type 'char [20]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "protocol identifier", P_PROTOCOL_IDENTIFIER, 3, P_INT, 0, 255 },
      ^~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:235:7: warning: initializing 'unsigned char *' with an expression of type 'char [29]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "first delivery time relative", P_FIRST_DELIVERY_TIME_RELATIVE, 3, P_INT, -1, 255 },
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:236:7: warning: initializing 'unsigned char *' with an expression of type 'char [29]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "first delivery time absolute", P_FIRST_DELIVERY_TIME_ABSOLUTE, 12, P_TIME },
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:237:7: warning: initializing 'unsigned char *' with an expression of type 'char [11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "reply path", P_REPLY_PATH, 1, P_INT, 0, 1 },
      ^~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:238:7: warning: initializing 'unsigned char *' with an expression of type 'char [22]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "status report request", P_STATUS_REPORT_REQUEST, 2, P_INT, 0, 63 },
      ^~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:239:7: warning: initializing 'unsigned char *' with an expression of type 'char [15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "cancel enabled", P_CANCEL_ENABLED, 1, P_INT, 0, 1 },
      ^~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:240:7: warning: initializing 'unsigned char *' with an expression of type 'char [12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "cancel mode", P_CANCEL_MODE, 1, P_INT, 0, 2 },
      ^~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:241:7: warning: initializing 'unsigned char *' with an expression of type 'char [25]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "service centre timestamp", P_MC_TIMESTAMP, 12, P_TIME },
      ^~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:242:7: warning: initializing 'unsigned char *' with an expression of type 'char [12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "status code", P_STATUS_CODE, 2, P_INT, 0, 9 },
      ^~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:243:7: warning: initializing 'unsigned char *' with an expression of type 'char [18]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "status error code", P_STATUS_ERROR_CODE, 3, P_INT, 0, 999 },
      ^~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:244:7: warning: initializing 'unsigned char *' with an expression of type 'char [15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "discharge time", P_DISCHARGE_TIME, 12, P_TIME },
      ^~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:245:7: warning: initializing 'unsigned char *' with an expression of type 'char [13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "tariff class", P_TARIFF_CLASS, 2, P_INT, 0, 99 },
      ^~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:246:7: warning: initializing 'unsigned char *' with an expression of type 'char [20]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "service description", P_SERVICE_DESCRIPTION, 2, P_INT, 0, 9 },
      ^~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:247:7: warning: initializing 'unsigned char *' with an expression of type 'char [14]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "message count", P_MESSAGE_COUNT, 3, P_INT, 0, 999 },
      ^~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:248:7: warning: initializing 'unsigned char *' with an expression of type 'char [9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "priority", P_PRIORITY, 1, P_INT, 1, 9 },
      ^~~~~~~~~~
gw/smsc/smsc_cimd2.c:249:7: warning: initializing 'unsigned char *' with an expression of type 'char [22]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "delivery request mode", P_DELIVERY_REQUEST_MODE, 1, P_INT, 0, 2 },
      ^~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:250:7: warning: initializing 'unsigned char *' with an expression of type 'char [23]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "service center address", P_SERVICE_CENTER_ADDRESS, 20, P_ADDRESS },
      ^~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:251:7: warning: initializing 'unsigned char *' with an expression of type 'char [14]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "get parameter", P_GET_PARAMETER, 3, P_INT, 501, 999 },
      ^~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:252:7: warning: initializing 'unsigned char *' with an expression of type 'char [8]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "MC time", P_MC_TIME, 12, P_TIME },
      ^~~~~~~~~
gw/smsc/smsc_cimd2.c:253:7: warning: initializing 'unsigned char *' with an expression of type 'char [11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "error code", P_ERROR_CODE, 3, P_INT, 0, 999 },
      ^~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:254:7: warning: initializing 'unsigned char *' with an expression of type 'char [11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "error text", P_ERROR_TEXT, 64, P_STRING },
      ^~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:304:12: warning: returning 'unsigned char *const' from a function with result type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    return parameters[i].name;
           ^~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:351:7: warning: initializing 'unsigned char *' with an expression of type 'char [6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "Login", LOGIN, 1, 0 },
      ^~~~~~~
gw/smsc/smsc_cimd2.c:352:7: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "Logout", LOGOUT, 1, 0 },
      ^~~~~~~~
gw/smsc/smsc_cimd2.c:353:7: warning: initializing 'unsigned char *' with an expression of type 'char [15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "Submit message", SUBMIT_MESSAGE, 1, 0 },
      ^~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:354:7: warning: initializing 'unsigned char *' with an expression of type 'char [23]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "Enquire message status", ENQUIRE_MESSAGE_STATUS, 1, 0 },
      ^~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:355:7: warning: initializing 'unsigned char *' with an expression of type 'char [17]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "Delivery request", DELIVERY_REQUEST, 1, 0 },
      ^~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:356:7: warning: initializing 'unsigned char *' with an expression of type 'char [15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "Cancel message", CANCEL_MESSAGE, 1, 0 },
      ^~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:357:7: warning: initializing 'unsigned char *' with an expression of type 'char [14]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "Set parameter", SET_REQ, 1, 0 },
      ^~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:358:7: warning: initializing 'unsigned char *' with an expression of type 'char [14]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "Get parameter", GET_REQ, 1, 0 },
      ^~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:360:7: warning: initializing 'unsigned char *' with an expression of type 'char [16]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "Deliver message", DELIVER_MESSAGE, 0, 1 },
      ^~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:361:7: warning: initializing 'unsigned char *' with an expression of type 'char [22]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "Deliver status report", DELIVER_STATUS_REPORT, 0, 1 },
      ^~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:363:7: warning: initializing 'unsigned char *' with an expression of type 'char [6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "Alive", ALIVE, 1, 1 },
      ^~~~~~~
gw/smsc/smsc_cimd2.c:365:7: warning: initializing 'unsigned char *' with an expression of type 'char [5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "NACK", NACK, 1, 1 },
      ^~~~~~
gw/smsc/smsc_cimd2.c:366:7: warning: initializing 'unsigned char *' with an expression of type 'char [23]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "General error response", GENERAL_ERROR_RESPONSE, 0, 1 },
      ^~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:390:16: warning: passing 'unsigned char *const' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        return octstr_create(operations[i].name);
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:126:38: note: expanded from macro 'octstr_create'
    gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:123:40: note: passing argument to parameter 'cstr' here
Octstr *octstr_create_real(const char *cstr, const char *file, long line,
                                       ^
gw/smsc/smsc_cimd2.c:395:28: warning: passing 'unsigned char *const' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
            Octstr *name = octstr_create(operations[i].name);
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:126:38: note: expanded from macro 'octstr_create'
    gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:123:40: note: passing argument to parameter 'cstr' here
Octstr *octstr_create_real(const char *cstr, const char *file, long line,
                                       ^
gw/smsc/smsc_cimd2.c:925:10: warning: initializing 'unsigned char *' with an expression of type 'char [9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 0, "No error" },
         ^~~~~~~~~~
gw/smsc/smsc_cimd2.c:926:10: warning: initializing 'unsigned char *' with an expression of type 'char [21]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 1, "Unexpected operation" },
         ^~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:927:10: warning: initializing 'unsigned char *' with an expression of type 'char [13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 2, "Syntax error" },
         ^~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:928:10: warning: initializing 'unsigned char *' with an expression of type 'char [28]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 3, "Unsupported parameter error" },
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:929:10: warning: initializing 'unsigned char *' with an expression of type 'char [34]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 4, "Connection to message center lost" },
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:930:10: warning: initializing 'unsigned char *' with an expression of type 'char [32]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 5, "No response from message center" },
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:931:10: warning: initializing 'unsigned char *' with an expression of type 'char [21]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 6, "General system error" },
         ^~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:932:10: warning: initializing 'unsigned char *' with an expression of type 'char [24]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 7, "Cannot find information" },
         ^~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:933:10: warning: initializing 'unsigned char *' with an expression of type 'char [27]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 8, "Parameter formatting error" },
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:934:10: warning: initializing 'unsigned char *' with an expression of type 'char [27]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 9, "Requested operation failed" },
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:936:12: warning: initializing 'unsigned char *' with an expression of type 'char [14]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 100, "Invalid login" },
           ^~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:937:12: warning: initializing 'unsigned char *' with an expression of type 'char [22]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 101, "Incorrect access type" },
           ^~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:938:12: warning: initializing 'unsigned char *' with an expression of type 'char [34]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 102, "Too many users with this login id" },
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:939:12: warning: initializing 'unsigned char *' with an expression of type 'char [32]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 103, "Login refused by message center" },
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:941:12: warning: initializing 'unsigned char *' with an expression of type 'char [30]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 300, "Incorrect destination address" },
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:942:12: warning: initializing 'unsigned char *' with an expression of type 'char [42]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 301, "Incorrect number of destination addresses" },
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:943:12: warning: initializing 'unsigned char *' with an expression of type 'char [36]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 302, "Syntax error in user data parameter" },
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:944:12: warning: initializing 'unsigned char *' with an expression of type 'char [58]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 303, "Incorrect bin/head/normal user data parameter combination" },
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:945:12: warning: initializing 'unsigned char *' with an expression of type 'char [45]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 304, "Incorrect data coding scheme parameter usage" },
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:946:12: warning: initializing 'unsigned char *' with an expression of type 'char [43]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 305, "Incorrect validity period parameters usage" },
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:947:12: warning: initializing 'unsigned char *' with an expression of type 'char [35]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 306, "Incorrect originator address usage" },
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:948:12: warning: initializing 'unsigned char *' with an expression of type 'char [31]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 307, "Incorrect pid paramterer usage" },
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:949:12: warning: initializing 'unsigned char *' with an expression of type 'char [41]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 308, "Incorrect first delivery parameter usage" },
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:950:12: warning: initializing 'unsigned char *' with an expression of type 'char [27]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 309, "Incorrect reply path usage" },
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:951:12: warning: initializing 'unsigned char *' with an expression of type 'char [48]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 310, "Incorrect status report request parameter usage" },
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:952:12: warning: initializing 'unsigned char *' with an expression of type 'char [41]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 311, "Incorrect cancel enabled parameter usage" },
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:953:12: warning: initializing 'unsigned char *' with an expression of type 'char [35]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 312, "Incorrect priority parameter usage" },
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:954:12: warning: initializing 'unsigned char *' with an expression of type 'char [39]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 313, "Incorrect tariff class parameter usage" },
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:955:12: warning: initializing 'unsigned char *' with an expression of type 'char [46]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 314, "Incorrect service description parameter usage" },
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:956:12: warning: initializing 'unsigned char *' with an expression of type 'char [41]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 315, "Incorrect transport type parameter usage" },
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:957:12: warning: initializing 'unsigned char *' with an expression of type 'char [39]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 316, "Incorrect message type parameter usage" },
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:958:12: warning: initializing 'unsigned char *' with an expression of type 'char [30]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 318, "Incorrect mms parameter usage" },
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:959:12: warning: initializing 'unsigned char *' with an expression of type 'char [42]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 319, "Incorrect operation timer parameter usage" },
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:961:12: warning: initializing 'unsigned char *' with an expression of type 'char [34]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 400, "Incorrect address parameter usage" },
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:962:12: warning: initializing 'unsigned char *' with an expression of type 'char [31]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 401, "Incorrect scts parameter usage" },
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:964:12: warning: initializing 'unsigned char *' with an expression of type 'char [31]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 500, "Incorrect scts parameter usage" },
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:965:12: warning: initializing 'unsigned char *' with an expression of type 'char [31]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 501, "Incorrect mode parameter usage" },
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:966:12: warning: initializing 'unsigned char *' with an expression of type 'char [32]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 502, "Incorrect parameter combination" },
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:968:12: warning: initializing 'unsigned char *' with an expression of type 'char [31]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 600, "Incorrect scts parameter usage" },
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:969:12: warning: initializing 'unsigned char *' with an expression of type 'char [34]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 601, "Incorrect address parameter usage" },
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:970:12: warning: initializing 'unsigned char *' with an expression of type 'char [31]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 602, "Incorrect mode parameter usage" },
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:971:12: warning: initializing 'unsigned char *' with an expression of type 'char [32]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 603, "Incorrect parameter combination" },
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:973:12: warning: initializing 'unsigned char *' with an expression of type 'char [25]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 800, "Changing password failed" },
           ^~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:974:12: warning: initializing 'unsigned char *' with an expression of type 'char [30]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 801, "Changing password not allowed" },
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:976:12: warning: initializing 'unsigned char *' with an expression of type 'char [27]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { 900, "Unsupported item requested" },
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_cimd2.c:999:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                text = octstr_create(cimd2_errors[i].text);
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:126:38: note: expanded from macro 'octstr_create'
    gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:123:40: note: passing argument to parameter 'cstr' here
Octstr *octstr_create_real(const char *cstr, const char *file, long line,
                                       ^
gw/smsc/smsc_cimd2.c:1185:13: warning: passing 'unsigned char [10]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    sprintf(minpacket, STX_str "%02d:%03d" TAB_str ETX_str, operation, seq);
            ^~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                           ^~~
gw/smsc/smsc_cimd2.c:1186:20: warning: passing 'unsigned char [10]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    packet->data = octstr_create(minpacket);
                   ^~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:126:38: note: expanded from macro 'octstr_create'
    gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:123:40: note: passing argument to parameter 'cstr' here
Octstr *octstr_create_real(const char *cstr, const char *file, long line,
                                       ^
gw/smsc/smsc_cimd2.c:1220:13: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    sprintf(parmh, TAB_str "%03d:", parmno);
            ^~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                           ^~~
gw/smsc/smsc_cimd2.c:1221:62: warning: passing 'unsigned char [6]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    octstr_insert_data(packet->data, position, parmh, strlen(parmh));
                                                             ^~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
gw/smsc/smsc_cimd2.c:1221:48: warning: passing 'unsigned char [6]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    octstr_insert_data(packet->data, position, parmh, strlen(parmh));
                                               ^~~~~
./gwlib/octstr.h:424:61: note: passing argument to parameter 'data' here
void octstr_insert_data(Octstr *ostr, long pos, const char *data, long len);
                                                            ^
gw/smsc/smsc_cimd2.c:1222:58: warning: passing 'unsigned char [6]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    octstr_insert(packet->data, value, position + strlen(parmh));
                                                         ^~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
gw/smsc/smsc_cimd2.c:1269:13: warning: passing 'unsigned char [128]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    sprintf(buf, "%ld", value);
            ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                           ^~~
gw/smsc/smsc_cimd2.c:1270:16: warning: passing 'unsigned char [128]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    valuestr = octstr_create(buf);
               ^~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:126:38: note: expanded from macro 'octstr_create'
    gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:123:40: note: passing argument to parameter 'cstr' here
Octstr *octstr_create_real(const char *cstr, const char *file, long line,
                                       ^
gw/smsc/smsc_cimd2.c:1299:13: warning: passing 'unsigned char [16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    sprintf(buf, "%02X", checksum);
            ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                           ^~~
gw/smsc/smsc_cimd2.c:1300:39: warning: passing 'unsigned char [16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    octstr_insert_data(data, len - 1, buf, 2);
                                      ^~~
./gwlib/octstr.h:424:61: note: passing argument to parameter 'data' here
void octstr_insert_data(Octstr *ostr, long pos, const char *data, long len);
                                                            ^
gw/smsc/smsc_cimd2.c:1311:13: warning: passing 'unsigned char [16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    sprintf(buf, "%03d", seq);
            ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                           ^~~
108 warnings generated.
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/smsc/smsc_emi.o -c gw/smsc/smsc_emi.c
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/smsc/smsc_emi_x25.o -c gw/smsc/smsc_emi_x25.c
gw/smsc/smsc_emi_x25.c:255:23: warning: passing 'char [1024]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    generate_checksum(my_buffer, message_footer);
                      ^~~~~~~~~
gw/smsc/smsc_emi_x25.c:127:52: note: passing argument to parameter 'buffer' here
static void generate_checksum(const unsigned char *buffer,
                                                   ^
gw/smsc/smsc_emi_x25.c:255:34: warning: passing 'char [10]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    generate_checksum(my_buffer, message_footer);
                                 ^~~~~~~~~~~~~~
gw/smsc/smsc_emi_x25.c:128:46: note: passing argument to parameter 'checksum_out' here
                              unsigned char *checksum_out);
                                             ^
gw/smsc/smsc_emi_x25.c:1001:23: warning: passing 'char [2048]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    generate_checksum(timestamp, receiver);
                      ^~~~~~~~~
gw/smsc/smsc_emi_x25.c:127:52: note: passing argument to parameter 'buffer' here
static void generate_checksum(const unsigned char *buffer,
                                                   ^
gw/smsc/smsc_emi_x25.c:1001:34: warning: passing 'char [2048]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    generate_checksum(timestamp, receiver);
                                 ^~~~~~~~
gw/smsc/smsc_emi_x25.c:128:46: note: passing argument to parameter 'checksum_out' here
                              unsigned char *checksum_out);
                                             ^
gw/smsc/smsc_emi_x25.c:1108:23: warning: passing 'char [10240]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    generate_checksum(my_buffer, message_footer);
                      ^~~~~~~~~
gw/smsc/smsc_emi_x25.c:127:52: note: passing argument to parameter 'buffer' here
static void generate_checksum(const unsigned char *buffer,
                                                   ^
gw/smsc/smsc_emi_x25.c:1108:34: warning: passing 'char [1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    generate_checksum(my_buffer, message_footer);
                                 ^~~~~~~~~~~~~~
gw/smsc/smsc_emi_x25.c:128:46: note: passing argument to parameter 'checksum_out' here
                              unsigned char *checksum_out);
                                             ^
gw/smsc/smsc_emi_x25.c:1208:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    sprintf(out, "%02X", j);
            ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                           ^~~
gw/smsc/smsc_emi_x25.c:1361:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case '<C4>':
         ^
gw/smsc/smsc_emi_x25.c:1363:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case '<D6>':
         ^
gw/smsc/smsc_emi_x25.c:1365:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case '<C5>':
         ^
gw/smsc/smsc_emi_x25.c:1367:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case '<DC>':
         ^
gw/smsc/smsc_emi_x25.c:1369:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case '<E4>':
         ^
gw/smsc/smsc_emi_x25.c:1371:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case '<F6>':
         ^
gw/smsc/smsc_emi_x25.c:1373:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case '<E5>':
         ^
gw/smsc/smsc_emi_x25.c:1375:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case '<FC>':
         ^
gw/smsc/smsc_emi_x25.c:1377:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case '<DF>':
         ^
gw/smsc/smsc_emi_x25.c:1379:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case '<A7>':
         ^
gw/smsc/smsc_emi_x25.c:1381:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case '<D1>':
         ^
gw/smsc/smsc_emi_x25.c:1383:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case '<F8>':
         ^
gw/smsc/smsc_emi_x25.c:1404:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case '<A3>':
         ^
gw/smsc/smsc_emi_x25.c:1408:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case '<A5>':
         ^
gw/smsc/smsc_emi_x25.c:1410:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case '<E8>':
         ^
gw/smsc/smsc_emi_x25.c:1412:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case '<E9>':
         ^
gw/smsc/smsc_emi_x25.c:1414:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case '<F9>':
         ^
gw/smsc/smsc_emi_x25.c:1416:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case '<EC>':
         ^
gw/smsc/smsc_emi_x25.c:1418:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case '<F2>':
         ^
gw/smsc/smsc_emi_x25.c:1420:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case '<C7>':
         ^
gw/smsc/smsc_emi_x25.c:1424:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case '<D8>':
         ^
gw/smsc/smsc_emi_x25.c:1428:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case '<C6>':
         ^
gw/smsc/smsc_emi_x25.c:1430:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case '<E6>':
         ^
gw/smsc/smsc_emi_x25.c:1432:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case '<C9>':
         ^
gw/smsc/smsc_emi_x25.c:1441:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case '<A4>':
         ^
gw/smsc/smsc_emi_x25.c:1468:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case '<BF>':
         ^
gw/smsc/smsc_emi_x25.c:1470:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case '<F1>':
         ^
gw/smsc/smsc_emi_x25.c:1472:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case '<E0>':
         ^
gw/smsc/smsc_emi_x25.c:1474:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case '<A1>':
         ^
gw/smsc/smsc_emi_x25.c:1638:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        return '<C4>';
               ^
gw/smsc/smsc_emi_x25.c:1640:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        return '<D6>';
               ^
gw/smsc/smsc_emi_x25.c:1642:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        return '<C5>';
               ^
gw/smsc/smsc_emi_x25.c:1644:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        return '<DC>';
               ^
gw/smsc/smsc_emi_x25.c:1646:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        return '<E4>';
               ^
gw/smsc/smsc_emi_x25.c:1648:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        return '<F6>';
               ^
gw/smsc/smsc_emi_x25.c:1650:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        return '<E5>';
               ^
gw/smsc/smsc_emi_x25.c:1652:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        return '<FC>';
               ^
gw/smsc/smsc_emi_x25.c:1654:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        return '<DF>';
               ^
gw/smsc/smsc_emi_x25.c:1656:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        return '<A7>';
               ^
gw/smsc/smsc_emi_x25.c:1658:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        return '<D1>';
               ^
gw/smsc/smsc_emi_x25.c:1660:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        return '<F8>';
               ^
gw/smsc/smsc_emi_x25.c:1678:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        return '<A3>';
               ^
gw/smsc/smsc_emi_x25.c:1682:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        return '<A5>';
               ^
gw/smsc/smsc_emi_x25.c:1684:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        return '<E8>';
               ^
gw/smsc/smsc_emi_x25.c:1686:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        return '<E9>';
               ^
gw/smsc/smsc_emi_x25.c:1688:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        return '<F9>';
               ^
gw/smsc/smsc_emi_x25.c:1690:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        return '<EC>';
               ^
gw/smsc/smsc_emi_x25.c:1692:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        return '<F2>';
               ^
gw/smsc/smsc_emi_x25.c:1694:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        return '<C7>';
               ^
gw/smsc/smsc_emi_x25.c:1698:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        return '<D8>';
               ^
gw/smsc/smsc_emi_x25.c:1702:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        return '<C6>';
               ^
gw/smsc/smsc_emi_x25.c:1704:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        return '<E6>';
               ^
gw/smsc/smsc_emi_x25.c:1706:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        return '<C9>';
               ^
gw/smsc/smsc_emi_x25.c:1715:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        return '<A4>';
               ^
gw/smsc/smsc_emi_x25.c:1742:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        return '<BF>';
               ^
gw/smsc/smsc_emi_x25.c:1744:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        return '<F1>';
               ^
gw/smsc/smsc_emi_x25.c:1746:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        return '<E0>';
               ^
gw/smsc/smsc_emi_x25.c:1748:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        return '<A1>';
               ^
65 warnings generated.
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/smsc/smsc_fake.o -c gw/smsc/smsc_fake.c
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/smsc/smsc_http.o -c gw/smsc/smsc_http.c
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/smsc/smsc_ois.o -c gw/smsc/smsc_ois.c
gw/smsc/smsc_ois.c:551:32: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                          (struct sockaddr *)&addr, &addrlen);
                                                    ^~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/socket.h:704:73: note: passing argument to parameter here
int     accept(int, struct sockaddr * __restrict, socklen_t * __restrict)
                                                                        ^
gw/smsc/smsc_ois.c:1585:54: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
    SAY2(8, "ois_extract_msg_from_buffer buflen=%d", smsc->buflen);
                                                ~~   ^~~~~~~~~~~~
                                                %zu
gw/smsc/smsc_ois.c:142:70: note: expanded from macro 'SAY2'
#define SAY2(d,s,t) { if (d<=ois_debug_level) debug("bb.sms.ois",0,s,t); }
                                                                   ~ ^
gw/smsc/smsc_ois.c:1648:55: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
    SAY2(3, "ois_extract_line_from_buffer buflen=%d", smsc->buflen);
                                                 ~~   ^~~~~~~~~~~~
                                                 %zu
gw/smsc/smsc_ois.c:142:70: note: expanded from macro 'SAY2'
#define SAY2(d,s,t) { if (d<=ois_debug_level) debug("bb.sms.ois",0,s,t); }
                                                                   ~ ^
3 warnings generated.
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/smsc/smsc_oisd.o -c gw/smsc/smsc_oisd.c
gw/smsc/smsc_oisd.c:163:7: warning: initializing 'unsigned char *' with an expression of type 'char [10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "Submit SM", SUBMIT_SM, 1, 0 },
      ^~~~~~~~~~~
gw/smsc/smsc_oisd.c:164:7: warning: initializing 'unsigned char *' with an expression of type 'char [14]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "Status Report", STATUS_REPORT, 0, 1 },
      ^~~~~~~~~~~~~~~
gw/smsc/smsc_oisd.c:165:7: warning: initializing 'unsigned char *' with an expression of type 'char [11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "Deliver SM", DELIVER_SM, 0, 1 },
      ^~~~~~~~~~~~
gw/smsc/smsc_oisd.c:166:7: warning: initializing 'unsigned char *' with an expression of type 'char [17]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    { "Retrieve Request", RETRIEVE_REQUEST, 1, 0 },
      ^~~~~~~~~~~~~~~~~~
gw/smsc/smsc_oisd.c:190:16: warning: passing 'unsigned char *const' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        return octstr_create(operations[i].name);
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:126:38: note: expanded from macro 'octstr_create'
    gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:123:40: note: passing argument to parameter 'cstr' here
Octstr *octstr_create_real(const char *cstr, const char *file, long line,
                                       ^
gw/smsc/smsc_oisd.c:195:28: warning: passing 'unsigned char *const' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
            Octstr *name = octstr_create(operations[i].name);
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:126:38: note: expanded from macro 'octstr_create'
    gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:123:40: note: passing argument to parameter 'cstr' here
Octstr *octstr_create_real(const char *cstr, const char *file, long line,
                                       ^
gw/smsc/smsc_oisd.c:472:20: warning: passing 'unsigned char [10]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    packet->data = octstr_create_from_data(header, 10);
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:135:48: note: expanded from macro 'octstr_create_from_data'
    gw_claim_area(octstr_create_from_data_real((data), (len), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:132:50: note: passing argument to parameter 'data' here
Octstr *octstr_create_from_data_real(const char *data, long len, const char *file,
                                                 ^
7 warnings generated.
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/smsc/smsc_sema.o -c gw/smsc/smsc_sema.c
gw/smsc/smsc_sema.c:176:40: warning: 'memset' call operates on objects of type 'char' while the size is based on a different type 'char *' [-Wsizeof-pointer-memaccess]
    memset(smsc->buffer,0,sizeof(smsc->buffer));
           ~~~~~~~~~~~~          ~~~~~~^~~~~~
gw/smsc/smsc_sema.c:176:40: note: did you mean to provide an explicit length?
    memset(smsc->buffer,0,sizeof(smsc->buffer));
                                 ~~~~~~^~~~~~
gw/smsc/smsc_sema.c:573:13: warning: passing 'unsigned char [5]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    sprintf(discnntbuff,"%cCLR\r",0x10);
            ^~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                           ^~~
gw/smsc/smsc_sema.c:599:16: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
            if(strstr(readbuff,finishconfirm))
                      ^~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
char    *strstr(const char *__big, const char *__little);
                            ^
gw/smsc/smsc_sema.c:599:25: warning: passing 'unsigned char [10]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
            if(strstr(readbuff,finishconfirm))
                               ^~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:89:45: note: passing argument to parameter '__little' here
char    *strstr(const char *__big, const char *__little);
                                               ^
gw/smsc/smsc_sema.c:573:5: warning: 'sprintf' will always overflow; destination buffer has size 5, but format string expands to at least 6 [-Wfortify-source]
    sprintf(discnntbuff,"%cCLR\r",0x10);
    ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:3: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
  ^
gw/smsc/smsc_sema.c:975:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    segments[0].content = octstr_create_from_data(&(pmsg->type), 1);/*msg type, in hex*/
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:135:48: note: expanded from macro 'octstr_create_from_data'
    gw_claim_area(octstr_create_from_data_real((data), (len), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:132:50: note: passing argument to parameter 'data' here
Octstr *octstr_create_from_data_real(const char *data, long len, const char *file,
                                                 ^
gw/smsc/smsc_sema.c:978:10: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                       &ccontinuebyte, 1);  /*continue char, in hex*/
                       ^~~~~~~~~~~~~~
./gwlib/octstr.h:424:61: note: passing argument to parameter 'data' here
void octstr_insert_data(Octstr *ostr, long pos, const char *data, long len);
                                                            ^
gw/smsc/smsc_sema.c:980:13: warning: passing 'unsigned char [4]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                       2, pmsg->optref, 4); /*operation reference, in hex*/
                          ^~~~~~~~~~~~
./gwlib/octstr.h:424:61: note: passing argument to parameter 'data' here
void octstr_insert_data(Octstr *ostr, long pos, const char *data, long len);
                                                            ^
gw/smsc/smsc_sema.c:984:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                       octstr_len(segments[0].content), &ccr, 1); /*<cr>*/
                                                        ^~~~
./gwlib/octstr.h:424:61: note: passing argument to parameter 'data' here
void octstr_insert_data(Octstr *ostr, long pos, const char *data, long len);
                                                            ^
gw/smsc/smsc_sema.c:992:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        segments[i].content= octstr_create_from_data(&(pmsg->type), 1); 
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:135:48: note: expanded from macro 'octstr_create_from_data'
    gw_claim_area(octstr_create_from_data_real((data), (len), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:132:50: note: passing argument to parameter 'data' here
Octstr *octstr_create_from_data_real(const char *data, long len, const char *file,
                                                 ^
gw/smsc/smsc_sema.c:994:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        octstr_insert_data(segments[i].content, 1, &ccontinuebyte, 1); 
                                                   ^~~~~~~~~~~~~~
./gwlib/octstr.h:424:61: note: passing argument to parameter 'data' here
void octstr_insert_data(Octstr *ostr, long pos, const char *data, long len);
                                                            ^
gw/smsc/smsc_sema.c:995:45: warning: passing 'unsigned char [4]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        octstr_insert_data(segments[i].content, 2, pmsg->optref, 4); 
                                                   ^~~~~~~~~~~~
./gwlib/octstr.h:424:61: note: passing argument to parameter 'data' here
void octstr_insert_data(Octstr *ostr, long pos, const char *data, long len);
                                                            ^
gw/smsc/smsc_sema.c:999:40: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                           octstr_len(segments[i].content), &ccr, 1); 
                                                            ^~~~
./gwlib/octstr.h:424:61: note: passing argument to parameter 'data' here
void octstr_insert_data(Octstr *ostr, long pos, const char *data, long len);
                                                            ^
gw/smsc/smsc_sema.c:1047:18: warning: passing 'unsigned char [5]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                if(strstr(data,cerr) != NULL ||
                               ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:89:45: note: passing argument to parameter '__little' here
char    *strstr(const char *__big, const char *__little);
                                               ^
gw/smsc/smsc_sema.c:1048:18: warning: passing 'unsigned char [5]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                   strstr(data,cclr) != NULL){
                               ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:89:45: note: passing argument to parameter '__little' here
char    *strstr(const char *__big, const char *__little);
                                               ^
gw/smsc/smsc_sema.c:1063:14: warning: passing 'unsigned char [5]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                        if(strstr(tmp1,tmp2) != NULL){
                                  ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
char    *strstr(const char *__big, const char *__little);
                            ^
gw/smsc/smsc_sema.c:1063:19: warning: passing 'unsigned char [5]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                        if(strstr(tmp1,tmp2) != NULL){
                                       ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:89:45: note: passing argument to parameter '__little' here
char    *strstr(const char *__big, const char *__little);
                                               ^
gw/smsc/smsc_sema.c:1083:14: warning: passing 'unsigned char [5]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                        if(strstr(tmp1, tmp2) != NULL){
                                  ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
char    *strstr(const char *__big, const char *__little);
                            ^
gw/smsc/smsc_sema.c:1083:20: warning: passing 'unsigned char [5]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                        if(strstr(tmp1, tmp2) != NULL){
                                        ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:89:45: note: passing argument to parameter '__little' here
char    *strstr(const char *__big, const char *__little);
                                               ^
gw/smsc/smsc_sema.c:1289:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        iusedbyte = line_scan_IA5_hex(octsrc, 1, tmp);
                                      ^~~~~~
gw/smsc/smsc_sema.h:373:44: note: passing argument to parameter here
static int line_scan_IA5_hex(unsigned char*, int, unsigned char*);
                                           ^
gw/smsc/smsc_sema.c:1297:36: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
            iusedbyte = line_scan_IA5_hex(octsrc, 4,tmp);
                                          ^~~~~~
gw/smsc/smsc_sema.h:373:44: note: passing argument to parameter here
static int line_scan_IA5_hex(unsigned char*, int, unsigned char*);
                                           ^
gw/smsc/smsc_sema.c:1302:36: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
            iusedbyte = line_scan_IA5_hex(octsrc, 14,tmp);
                                          ^~~~~~
gw/smsc/smsc_sema.h:373:44: note: passing argument to parameter here
static int line_scan_IA5_hex(unsigned char*, int, unsigned char*);
                                           ^
gw/smsc/smsc_sema.c:1313:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        iusedbyte = line_scan_IA5_hex(octsrc, 1, tmp);
                                      ^~~~~~
gw/smsc/smsc_sema.h:373:44: note: passing argument to parameter here
static int line_scan_IA5_hex(unsigned char*, int, unsigned char*);
                                           ^
gw/smsc/smsc_sema.c:1319:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        iusedbyte = line_scan_IA5_hex(octsrc,receive_sm->destaddlen,tmp);
                                      ^~~~~~
gw/smsc/smsc_sema.h:373:44: note: passing argument to parameter here
static int line_scan_IA5_hex(unsigned char*, int, unsigned char*);
                                           ^
gw/smsc/smsc_sema.c:1321:23: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        receive_sm->destadd= octstr_create_from_data(tmp,  receive_sm->destaddlen);
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:135:48: note: expanded from macro 'octstr_create_from_data'
    gw_claim_area(octstr_create_from_data_real((data), (len), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:132:50: note: passing argument to parameter 'data' here
Octstr *octstr_create_from_data_real(const char *data, long len, const char *file,
                                                 ^
gw/smsc/smsc_sema.c:1324:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        iusedbyte = line_scan_IA5_hex(octsrc, 4,tmp);
                                      ^~~~~~
gw/smsc/smsc_sema.h:373:44: note: passing argument to parameter here
static int line_scan_IA5_hex(unsigned char*, int, unsigned char*);
                                           ^
gw/smsc/smsc_sema.c:1329:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        iusedbyte = line_scan_IA5_hex(octsrc, 1, tmp);
                                      ^~~~~~
gw/smsc/smsc_sema.h:373:44: note: passing argument to parameter here
static int line_scan_IA5_hex(unsigned char*, int, unsigned char*);
                                           ^
gw/smsc/smsc_sema.c:1335:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        iusedbyte = line_scan_IA5_hex(octsrc, receive_sm->origaddlen, tmp);
                                      ^~~~~~
gw/smsc/smsc_sema.h:373:44: note: passing argument to parameter here
static int line_scan_IA5_hex(unsigned char*, int, unsigned char*);
                                           ^
gw/smsc/smsc_sema.c:1337:23: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        receive_sm->origadd= octstr_create_from_data(tmp,receive_sm->origaddlen);
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:135:48: note: expanded from macro 'octstr_create_from_data'
    gw_claim_area(octstr_create_from_data_real((data), (len), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:132:50: note: passing argument to parameter 'data' here
Octstr *octstr_create_from_data_real(const char *data, long len, const char *file,
                                                 ^
gw/smsc/smsc_sema.c:1341:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        iusedbyte = line_scan_IA5_hex(octsrc, 1,tmp);
                                      ^~~~~~
gw/smsc/smsc_sema.h:373:44: note: passing argument to parameter here
static int line_scan_IA5_hex(unsigned char*, int, unsigned char*);
                                           ^
gw/smsc/smsc_sema.c:1350:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        iusedbyte = line_scan_IA5_hex(octsrc, 1,tmp);
                                      ^~~~~~
gw/smsc/smsc_sema.h:373:44: note: passing argument to parameter here
static int line_scan_IA5_hex(unsigned char*, int, unsigned char*);
                                           ^
gw/smsc/smsc_sema.c:1356:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        iusedbyte = line_scan_IA5_hex(octsrc, 1,tmp);
                                      ^~~~~~
gw/smsc/smsc_sema.h:373:44: note: passing argument to parameter here
static int line_scan_IA5_hex(unsigned char*, int, unsigned char*);
                                           ^
gw/smsc/smsc_sema.c:1362:39: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        iusedbyte = internal_char_IA5_to_hex(octsrc, tmp);
                                             ^~~~~~
gw/smsc/smsc_sema.h:377:52: note: passing argument to parameter here
static int internal_char_IA5_to_hex(unsigned char *, unsigned char *);
                                                   ^
gw/smsc/smsc_sema.c:1367:39: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        iusedbyte = internal_char_IA5_to_hex(octsrc, tmp);
                                             ^~~~~~
gw/smsc/smsc_sema.h:377:52: note: passing argument to parameter here
static int internal_char_IA5_to_hex(unsigned char *, unsigned char *);
                                                   ^
gw/smsc/smsc_sema.c:1378:36: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
            iusedbyte = line_scan_IA5_hex(octsrc,receive_sm->textsizeoctect,tmp);          
                                          ^~~~~~
gw/smsc/smsc_sema.h:373:44: note: passing argument to parameter here
static int line_scan_IA5_hex(unsigned char*, int, unsigned char*);
                                           ^
gw/smsc/smsc_sema.c:1380:28: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
            receive_sm->shortmsg =octstr_create_from_data( tmp,receive_sm->textsizeoctect);
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:135:48: note: expanded from macro 'octstr_create_from_data'
    gw_claim_area(octstr_create_from_data_real((data), (len), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:132:50: note: passing argument to parameter 'data' here
Octstr *octstr_create_from_data_real(const char *data, long len, const char *file,
                                                 ^
gw/smsc/smsc_sema.c:1386:36: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
            iusedbyte = line_scan_IA5_hex(octsrc,receive_sm->textsizeoctect,tmp);
                                          ^~~~~~
gw/smsc/smsc_sema.h:373:44: note: passing argument to parameter here
static int line_scan_IA5_hex(unsigned char*, int, unsigned char*);
                                           ^
gw/smsc/smsc_sema.c:1390:29: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
            receive_sm->shortmsg = octstr_create_from_data(tmpgsm,
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:135:48: note: expanded from macro 'octstr_create_from_data'
    gw_claim_area(octstr_create_from_data_real((data), (len), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:132:50: note: passing argument to parameter 'data' here
Octstr *octstr_create_from_data_real(const char *data, long len, const char *file,
                                                 ^
gw/smsc/smsc_sema.c:1399:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        iusedbyte = line_scan_IA5_hex(octsrc,14,tmp);
                                      ^~~~~~
gw/smsc/smsc_sema.h:373:44: note: passing argument to parameter here
static int line_scan_IA5_hex(unsigned char*, int, unsigned char*);
                                           ^
gw/smsc/smsc_sema.c:1404:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        iusedbyte = line_scan_IA5_hex(octsrc,14,tmp);
                                      ^~~~~~
gw/smsc/smsc_sema.h:373:44: note: passing argument to parameter here
static int line_scan_IA5_hex(unsigned char*, int, unsigned char*);
                                           ^
gw/smsc/smsc_sema.c:1414:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        iusedbyte = line_scan_IA5_hex(octsrc, 1, tmp);
                                      ^~~~~~
gw/smsc/smsc_sema.h:373:44: note: passing argument to parameter here
static int line_scan_IA5_hex(unsigned char*, int, unsigned char*);
                                           ^
gw/smsc/smsc_sema.c:1420:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        iusedbyte = line_scan_IA5_hex(octsrc, receive_report->msisdnlen, tmp);
                                      ^~~~~~
gw/smsc/smsc_sema.h:373:44: note: passing argument to parameter here
static int line_scan_IA5_hex(unsigned char*, int, unsigned char*);
                                           ^
gw/smsc/smsc_sema.c:1422:27: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        receive_report->msisdn = octstr_create_from_data( tmp,receive_report->msisdnlen);
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:135:48: note: expanded from macro 'octstr_create_from_data'
    gw_claim_area(octstr_create_from_data_real((data), (len), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:132:50: note: passing argument to parameter 'data' here
Octstr *octstr_create_from_data_real(const char *data, long len, const char *file,
                                                 ^
gw/smsc/smsc_sema.c:1425:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        iusedbyte = line_scan_IA5_hex(octsrc, 1, tmp);
                                      ^~~~~~
gw/smsc/smsc_sema.h:373:44: note: passing argument to parameter here
static int line_scan_IA5_hex(unsigned char*, int, unsigned char*);
                                           ^
gw/smsc/smsc_sema.c:1431:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        iusedbyte = line_scan_IA5_hex(octsrc,4, tmp);
                                      ^~~~~~
gw/smsc/smsc_sema.h:373:44: note: passing argument to parameter here
static int line_scan_IA5_hex(unsigned char*, int, unsigned char*);
                                           ^
gw/smsc/smsc_sema.c:1436:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        iusedbyte = line_scan_IA5_hex(octsrc,4, tmp);
                                      ^~~~~~
gw/smsc/smsc_sema.h:373:44: note: passing argument to parameter here
static int line_scan_IA5_hex(unsigned char*, int, unsigned char*);
                                           ^
gw/smsc/smsc_sema.c:1441:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        iusedbyte = line_scan_IA5_hex(octsrc,14, tmp);
                                      ^~~~~~
gw/smsc/smsc_sema.h:373:44: note: passing argument to parameter here
static int line_scan_IA5_hex(unsigned char*, int, unsigned char*);
                                           ^
gw/smsc/smsc_sema.c:1446:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        iusedbyte = line_scan_IA5_hex(octsrc, 1, tmp);
                                      ^~~~~~
gw/smsc/smsc_sema.h:373:44: note: passing argument to parameter here
static int line_scan_IA5_hex(unsigned char*, int, unsigned char*);
                                           ^
gw/smsc/smsc_sema.c:1453:36: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
            iusedbyte = line_scan_IA5_hex(octsrc,14, tmp);
                                          ^~~~~~
gw/smsc/smsc_sema.h:373:44: note: passing argument to parameter here
static int line_scan_IA5_hex(unsigned char*, int, unsigned char*);
                                           ^
gw/smsc/smsc_sema.c:1459:36: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
            iusedbyte = line_scan_IA5_hex(octsrc,14, tmp);
                                          ^~~~~~
gw/smsc/smsc_sema.h:373:44: note: passing argument to parameter here
static int line_scan_IA5_hex(unsigned char*, int, unsigned char*);
                                           ^
gw/smsc/smsc_sema.c:1466:36: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
            iusedbyte = line_scan_IA5_hex(octsrc, 1, tmp);
                                          ^~~~~~
gw/smsc/smsc_sema.h:373:44: note: passing argument to parameter here
static int line_scan_IA5_hex(unsigned char*, int, unsigned char*);
                                           ^
gw/smsc/smsc_sema.c:1473:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        iusedbyte = line_scan_IA5_hex(octsrc, 1, tmp);
                                      ^~~~~~
gw/smsc/smsc_sema.h:373:44: note: passing argument to parameter here
static int line_scan_IA5_hex(unsigned char*, int, unsigned char*);
                                           ^
gw/smsc/smsc_sema.c:1479:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        iusedbyte = line_scan_IA5_hex(octsrc, receive_report->origaddlen, tmp);
                                      ^~~~~~
gw/smsc/smsc_sema.h:373:44: note: passing argument to parameter here
static int line_scan_IA5_hex(unsigned char*, int, unsigned char*);
                                           ^
gw/smsc/smsc_sema.c:1481:28: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        receive_report->origadd = octstr_create_from_data(tmp,  receive_report->msisdnlen);
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:135:48: note: expanded from macro 'octstr_create_from_data'
    gw_claim_area(octstr_create_from_data_real((data), (len), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:132:50: note: passing argument to parameter 'data' here
Octstr *octstr_create_from_data_real(const char *data, long len, const char *file,
                                                 ^
gw/smsc/smsc_sema.c:1484:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        iusedbyte = line_scan_IA5_hex(octsrc,14, tmp);
                                      ^~~~~~
gw/smsc/smsc_sema.h:373:44: note: passing argument to parameter here
static int line_scan_IA5_hex(unsigned char*, int, unsigned char*);
                                           ^
gw/smsc/smsc_sema.c:1525:8: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                            octstr_get_cstr(submit_sm->msisdn),
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:234:5: note: expanded from macro 'octstr_get_cstr'
    (octstr_get_cstr_real(ostr, __FILE__, __LINE__, __func__))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_sema.h:371:56: note: passing argument to parameter here
static int line_append_hex_IA5(Octstr* , unsigned char*, int);
                                                       ^
gw/smsc/smsc_sema.c:1535:8: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                            octstr_get_cstr(submit_sm->origadd),
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:234:5: note: expanded from macro 'octstr_get_cstr'
    (octstr_get_cstr_real(ostr, __FILE__, __LINE__, __func__))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_sema.h:371:56: note: passing argument to parameter here
static int line_append_hex_IA5(Octstr* , unsigned char*, int);
                                                       ^
gw/smsc/smsc_sema.c:1552:49: warning: passing 'unsigned char [10]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        octstr_insert_data(IA5msg, octstr_len(IA5msg), oc1byte, tSize);
                                                       ^~~~~~~
./gwlib/octstr.h:424:61: note: passing argument to parameter 'data' here
void octstr_insert_data(Octstr *ostr, long pos, const char *data, long len);
                                                            ^
gw/smsc/smsc_sema.c:1556:50: warning: passing 'unsigned char [10]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        octstr_insert_data(IA5msg, octstr_len(IA5msg), oc1byte, tSize);
                                                       ^~~~~~~
./gwlib/octstr.h:424:61: note: passing argument to parameter 'data' here
void octstr_insert_data(Octstr *ostr, long pos, const char *data, long len);
                                                            ^
gw/smsc/smsc_sema.c:1559:8: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                            octstr_get_cstr(submit_sm->shortmsg),
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:234:5: note: expanded from macro 'octstr_get_cstr'
    (octstr_get_cstr_real(ostr, __FILE__, __LINE__, __func__))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_sema.h:371:56: note: passing argument to parameter here
static int line_append_hex_IA5(Octstr* , unsigned char*, int);
                                                       ^
gw/smsc/smsc_sema.c:1650:44: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    octstr_insert_data(des,octstr_len(des),tmp,iall);
                                           ^~~
./gwlib/octstr.h:424:61: note: passing argument to parameter 'data' here
void octstr_insert_data(Octstr *ostr, long pos, const char *data, long len);
                                                            ^
gw/smsc/smsc_sema.c:1662:13: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    tmpfrom = from;
            ^ ~~~~
gw/smsc/smsc_sema.c:1665:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        cn=internal_char_IA5_to_hex(tmpfrom, cha);
                                    ^~~~~~~
gw/smsc/smsc_sema.h:377:52: note: passing argument to parameter here
static int internal_char_IA5_to_hex(unsigned char *, unsigned char *);
                                                   ^
gw/smsc/smsc_sema.c:1683:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case 0x01: return '<A3>';
                      ^
gw/smsc/smsc_sema.c:1685:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case 0x03: return '<A5>';
                      ^
gw/smsc/smsc_sema.c:1686:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case 0x04: return '<E8>';
                      ^
gw/smsc/smsc_sema.c:1687:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case 0x05: return '<E9>';
                      ^
gw/smsc/smsc_sema.c:1688:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case 0x06: return '<F9>';
                      ^
gw/smsc/smsc_sema.c:1689:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case 0x07: return '<EC>';
                      ^
gw/smsc/smsc_sema.c:1690:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case 0x08: return '<F2>';
                      ^
gw/smsc/smsc_sema.c:1691:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case 0x09: return '<C7>';
                      ^
gw/smsc/smsc_sema.c:1693:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case 0x0B: return '<D8>';
                      ^
gw/smsc/smsc_sema.c:1694:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case 0x0C: return '<F8>';
                      ^
gw/smsc/smsc_sema.c:1696:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case 0x0E: return '<C5>';
                      ^
gw/smsc/smsc_sema.c:1697:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case 0x0F: return '<E5>';
                      ^
gw/smsc/smsc_sema.c:1710:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case 0x1C: return '<C6>';
                      ^
gw/smsc/smsc_sema.c:1711:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case 0x1D: return '<E6>';
                      ^
gw/smsc/smsc_sema.c:1713:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case 0x1F: return '<C9>';
                      ^
gw/smsc/smsc_sema.c:1714:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case 0x5B: return '<C4>';
                      ^
gw/smsc/smsc_sema.c:1715:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case 0x5C: return '<D6>';
                      ^
gw/smsc/smsc_sema.c:1716:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case 0x5D: return '<D1>';
                      ^
gw/smsc/smsc_sema.c:1717:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case 0x5E: return '<DC>';
                      ^
gw/smsc/smsc_sema.c:1718:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case 0x5F: return '<A7>';
                      ^
gw/smsc/smsc_sema.c:1719:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case 0x60: return '<BF>';
                      ^
gw/smsc/smsc_sema.c:1721:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case 0x7C: return '<F6>';
                      ^
gw/smsc/smsc_sema.c:1722:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case 0x7D: return '<F1>';
                      ^
gw/smsc/smsc_sema.c:1723:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case 0x7E: return '<FC>';
                      ^
gw/smsc/smsc_sema.c:1724:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
    case 0x7F: return '<E0>';
                      ^
gw/smsc/smsc_sema.c:1797:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    int len = strlen(from);
                     ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
89 warnings generated.
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/smsc/smsc_smasi.o -c gw/smsc/smsc_smasi.c
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/smsc/smsc_smpp.o -c gw/smsc/smsc_smpp.c
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/smsc/smsc_soap.o -c gw/smsc/smsc_soap.c
gw/smsc/smsc_soap.c:1222:38: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    if ( !(responseDoc = xmlParseDoc(octstr_get_cstr(xmlResponse))) ) {
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:234:5: note: expanded from macro 'octstr_get_cstr'
    (octstr_get_cstr_real(ostr, __FILE__, __LINE__, __func__))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/www/kannel/work/.buildlink/include/libxml2/libxml/parser.h:945:32: note: passing argument to parameter 'cur' here
                xmlParseDoc             (const xmlChar *cur);
                                                        ^
gw/smsc/smsc_soap.c:1325:37: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    if ( !(requestDoc = xmlParseDoc(octstr_get_cstr(request))) ) {
                                    ^~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:234:5: note: expanded from macro 'octstr_get_cstr'
    (octstr_get_cstr_real(ostr, __FILE__, __LINE__, __func__))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/www/kannel/work/.buildlink/include/libxml2/libxml/parser.h:945:32: note: passing argument to parameter 'cur' here
                xmlParseDoc             (const xmlChar *cur);
                                                        ^
gw/smsc/smsc_soap.c:1561:37: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    if ( !(requestDoc = xmlParseDoc(octstr_get_cstr(request))) ) {
                                    ^~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:234:5: note: expanded from macro 'octstr_get_cstr'
    (octstr_get_cstr_real(ostr, __FILE__, __LINE__, __func__))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/www/kannel/work/.buildlink/include/libxml2/libxml/parser.h:945:32: note: passing argument to parameter 'cur' here
                xmlParseDoc             (const xmlChar *cur);
                                                        ^
gw/smsc/smsc_soap.c:1695:19: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    *out = strtol(nodeContent,&endPointer,10);
                  ^~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:167:26: note: passing argument to parameter '__str' here
long     strtol(const char *__str, char **__endptr, int __base);
                            ^
gw/smsc/smsc_soap.c:1729:20: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    *out = strtoll(nodeContent,&endPointer,10);
                   ^~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:172:23: note: passing argument to parameter '__str' here
         strtoll(const char *__str, char **__endptr, int __base);
                             ^
gw/smsc/smsc_soap.c:1761:12: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    *out = octstr_create(nodeContent);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:126:38: note: expanded from macro 'octstr_create'
    gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:123:40: note: passing argument to parameter 'cstr' here
Octstr *octstr_create_real(const char *cstr, const char *file, long line,
                                       ^
gw/smsc/smsc_soap.c:2201:42: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
            if (!octstr_str_compare(temp,node->name)) {
                                         ^~~~~~~~~~
./gwlib/octstr.h:334:57: note: passing argument to parameter 'str' here
int octstr_str_compare(const Octstr *ostr1, const char *str);
                                                        ^
gw/smsc/smsc_soap.c:2254:38: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        content = xmlGetProp(parent, octstr_get_cstr(attr_name));
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:234:5: note: expanded from macro 'octstr_get_cstr'
    (octstr_get_cstr_real(ostr, __FILE__, __LINE__, __func__))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/www/kannel/work/.buildlink/include/libxml2/libxml/tree.h:1067:22: note: passing argument to parameter 'name' here
                                         const xmlChar *name);
                                                        ^
gw/smsc/smsc_soap.c:2256:20: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
            temp = octstr_create(content);
                   ^~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:126:38: note: expanded from macro 'octstr_create'
    gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:123:40: note: passing argument to parameter 'cstr' here
Octstr *octstr_create_real(const char *cstr, const char *file, long line,
                                       ^
gw/smsc/smsc_soap.c:2264:20: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
            temp = octstr_create(content);
                   ^~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:126:38: note: expanded from macro 'octstr_create'
    gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:123:40: note: passing argument to parameter 'cstr' here
Octstr *octstr_create_real(const char *cstr, const char *file, long line,
                                       ^
gw/smsc/smsc_soap.c:2306:46: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                if (!octstr_str_compare(temp,node->name)) {
                                             ^~~~~~~~~~
./gwlib/octstr.h:334:57: note: passing argument to parameter 'str' here
int octstr_str_compare(const Octstr *ostr1, const char *str);
                                                        ^
gw/smsc/smsc_soap.c:2356:42: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
            content = xmlGetProp(parent, octstr_get_cstr(map->attribute));
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:234:5: note: expanded from macro 'octstr_get_cstr'
    (octstr_get_cstr_real(ostr, __FILE__, __LINE__, __func__))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/www/kannel/work/.buildlink/include/libxml2/libxml/tree.h:1067:22: note: passing argument to parameter 'name' here
                                         const xmlChar *name);
                                                        ^
gw/smsc/smsc_soap.c:2358:24: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                temp = octstr_create(content);
                       ^~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:126:38: note: expanded from macro 'octstr_create'
    gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:123:40: note: passing argument to parameter 'cstr' here
Octstr *octstr_create_real(const char *cstr, const char *file, long line,
                                       ^
gw/smsc/smsc_soap.c:2367:24: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                temp = octstr_create(content);
                       ^~~~~~~~~~~~~~~~~~~~~~
./gwlib/octstr.h:126:38: note: expanded from macro 'octstr_create'
    gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area'
#define gw_claim_area(ptr) (gw_native_noop(ptr))
                                           ^~~
./gwlib/octstr.h:123:40: note: passing argument to parameter 'cstr' here
Octstr *octstr_create_real(const char *cstr, const char *file, long line,
                                       ^
14 warnings generated.
clang -D_REENTRANT=1 -I. -Igw -I/opt/pkg/include/libxml2/libxml -pipe -Os -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -o gw/smsc/smsc_wrapper.o -c gw/smsc/smsc_wrapper.c
libtool -static -o libgw.a gw/bb_alog.o gw/bb_boxc.o gw/bb_http.o gw/bb_smscconn.o gw/bb_store.o gw/bb_udp.o gw/bearerbox.o gw/dlr.o gw/dlr_mem.o gw/dlr_mysql.o gw/dlr_oracle.o gw/dlr_pgsql.o gw/dlr_sdb.o gw/heartbeat.o gw/html.o gw/mime_decompiler.o gw/msg.o gw/numhash.o gw/ota_compiler.o gw/ota_prov.o gw/shared.o gw/sms.o gw/smsbox.o gw/smscconn.o gw/urltrans.o gw/wap-appl.o gw/wap-error.o gw/wap-maps.o gw/wap_push_ota.o gw/wap_push_pap_compiler.o gw/wap_push_pap_mime.o gw/wap_push_ppg.o gw/wap_push_ppg_pushuser.o gw/wap_push_si_compiler.o gw/wap_push_sl_compiler.o gw/wapbox.o gw/wml_compiler.o gw/xml_shared.o gw/smsc/emimsg.o gw/smsc/smasi_pdu.o gw/smsc/smpp_pdu.o gw/smsc/smsc.o gw/smsc/smsc_at.o gw/smsc/smsc_cgw.o gw/smsc/smsc_cimd.o gw/smsc/smsc_cimd2.o gw/smsc/smsc_emi.o gw/smsc/smsc_emi_x25.o gw/smsc/smsc_fake.o gw/smsc/smsc_http.o gw/smsc/smsc_ois.o gw/smsc/smsc_oisd.o gw/smsc/smsc_sema.o gw/smsc/smsc_smasi.o gw/smsc/smsc_smpp.o gw/smsc/smsc_soap.o gw/smsc/smsc_wrapper.o
libtool: Missing --mode=XXX
gmake: *** [Makefile:318: libgw.a] Error 255
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/www/kannel
*** Error code 1

Stop.
bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/www/kannel