=> Bootstrap dependency digest>=20010302: found digest-20190127 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for kannel-1.4.0nb13 for dir in gw gw/smsc gwlib test utils wmlscript checks wap radius; do \ clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -MM $dir/*.c | sed "s:^[^ ]:$dir/&:"; done > .depend clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/wap_push_ota.o -c gw/wap_push_ota.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/bb_alog.o -c gw/bb_alog.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/dlr.o -c gw/dlr.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/dlr_oracle.o -c gw/dlr_oracle.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/smsbox.o -c gw/smsbox.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/ota_prov.o -c gw/ota_prov.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/urltrans.o -c gw/urltrans.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/wap-maps.o -c gw/wap-maps.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/xml_shared.o -c gw/xml_shared.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); ^ clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/sms.o -c gw/sms.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/bb_boxc.o -c gw/bb_boxc.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/wml_compiler.o -c gw/wml_compiler.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/wap_push_sl_compiler.o -c gw/wap_push_sl_compiler.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/wap_push_ppg_pushuser.o -c gw/wap_push_ppg_pushuser.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 with different sign [-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) ^ 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 with different sign [-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 gw/wap_push_ppg_pushuser.c:1036:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] octstr_get_many_chars(prefix, os1, 0, start); ^~~~~~ Octstr *octstr_create_real(const char *cstr, const char *file, long line,./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 with different sign [-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); ^ 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 with different sign [-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 with different sign [-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/bb_boxc.c:918:36: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] gwthread_create(function, (void *)fd); ^ 1 warning generated. clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/wap_push_si_compiler.o -c gw/wap_push_si_compiler.c 3 warnings generated. clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/dlr_mem.o -c gw/dlr_mem.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/ota_compiler.o -c gw/ota_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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-Wpointer-sign] if (strcmp(child->name, "do") == 0) { ^~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 with different sign [-Wpointer-sign] if (strcmp(attr->name, "name") == 0) { ^~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 with different sign [-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 with different sign [-Wpointer-sign] if (strcmp(attr->name, "name") == 0) { ^~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 with different sign [-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 with different sign [-Wpointer-sign] if (strcmp(attr->name, "type") == 0) { ^~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 with different sign [-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 with different sign [-Wpointer-sign] if (strcmp(node->name, "b") == 0) ^~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 with different sign [-Wpointer-sign] if (strcmp(node->name, "big") == 0) ^~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 with different sign [-Wpointer-sign] if (strcmp(node->name, "em") == 0) ^~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 with different sign [-Wpointer-sign] if (strcmp(node->name, "i") == 0) ^~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 with different sign [-Wpointer-sign] if (strcmp(node->name, "small") == 0) ^~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 with different sign [-Wpointer-sign] if (strcmp(node->name, "strong") == 0) ^~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 with different sign [-Wpointer-sign] if (strcmp(node->name, "u") == 0) ^~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 with different sign [-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, ^ 2 warnings generated. clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/heartbeat.o -c gw/heartbeat.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/dlr_mysql.o -c gw/dlr_mysql.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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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/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 with different sign [-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 with different sign [-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 with different sign [-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, ^ clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/wapbox.o -c gw/wapbox.c 5 warnings generated. clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/dlr_sdb.o -c gw/dlr_sdb.c 1 warning generated. clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/shared.o -c gw/shared.c 3 warnings generated. clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/msg.o -c gw/msg.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/bb_udp.o -c gw/bb_udp.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/wap_push_pap_compiler.o -c gw/wap_push_pap_compiler.c 22 warnings generated. clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/dlr_pgsql.o -c gw/dlr_pgsql.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/html.o -c gw/html.c gw/msg.c:258:28: warning: passing 'unsigned char [4]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-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 with different sign [-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); ^ 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 with different sign [-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 with different sign [-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 with different sign [-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, ^ clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/numhash.o -c gw/numhash.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/wap-error.o -c gw/wap-error.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/mime_decompiler.o -c gw/mime_decompiler.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/wap-appl.o -c gw/wap-appl.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/wap_push_pap_mime.o -c gw/wap_push_pap_mime.c 2 warnings generated. clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/bb_smscconn.o -c gw/bb_smscconn.c 2 warnings generated. gw/numhash.c:345:16: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-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 with different sign [-Wpointer-sign] while((ptr = strchr(data, '\n'))) { /* each line is ended with linefeed */ ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 with different sign [-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 with different sign [-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) ^ clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/bb_http.o -c gw/bb_http.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/smscconn.o -c gw/smscconn.c 4 warnings generated. clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/wap_push_ppg.o -c gw/wap_push_ppg.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/bearerbox.o -c gw/bearerbox.c gw/wap-appl.c:517:24: warning: initializing 'unsigned char *' with an expression of type 'char *' converts between pointers to integer types with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-Wpointer-sign] value = wsp_bearer_indication_to_cstr(coded_value); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/bb_store.o -c gw/bb_store.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/smsc/smsc_sema.o -c gw/smsc/smsc_sema.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/smsc/smsc_http.o -c gw/smsc/smsc_http.c 7 warnings generated. clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/smsc/smsc_soap.o -c gw/smsc/smsc_soap.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/smsc/smpp_pdu.o -c gw/smsc/smpp_pdu.c 3 warnings generated. clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/smsc/smasi_pdu.o -c gw/smsc/smasi_pdu.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/smsc/smsc_cimd.o -c gw/smsc/smsc_cimd.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 with different sign [-Wpointer-sign] sprintf(discnntbuff,"%cCLR\r",0x10); ^~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' gw/smsc/smsc_soap.c:1222:38: warning: __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-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__)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gw/smsc/smsc_sema.c:599:16: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] /opt/work/www/kannel/work/.buildlink/include/libxml2/libxml/parser.h if(strstr(readbuff,finishconfirm)):842:32: note: passing argument to parameter 'cur' here ^~~~~~~~ xmlParseDoc (const xmlChar *cur); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 with different sign [-Wpointer-sign] if(strstr(readbuff,finishconfirm)) ^~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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_soap.c:1325:37: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-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__)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/work/www/kannel/work/.buildlink/include/libxml2/libxml/parser.h:842: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 with different sign [-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__)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/work/www/kannel/work/.buildlink/include/libxml2/libxml/parser.h:842: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 with different sign [-Wpointer-sign] *out = strtol(nodeContent,&endPointer,10); ^~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 with different sign [-Wpointer-sign] *out = strtoll(nodeContent,&endPointer,10); ^~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 with different sign [-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 with different sign [-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 with different sign [-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__)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/work/www/kannel/work/.buildlink/include/libxml2/libxml/tree.h:1030: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 with different sign [-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 with different sign [-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_sema.c:975:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] 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 with different sign [-Wpointer-sign] if (!octstr_str_compare(temp,node->name)) { ^~~~~~~~~~ segments[0].content = octstr_create_from_data(&(pmsg->type), 1);/*msg type, in hex*/./gwlib/octstr.h ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :334:57: note: passing argument to parameter 'str' here ./gwlib/octstr.h:135:48: note: expanded from macro 'octstr_create_from_data' int octstr_str_compare(const Octstr *ostr1, const char *str); ^ 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_soap.c:2356:42gw/smsc/smsc_sema.c:978:10: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] : warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/smsc/smsc_emi_x25.o -c gw/smsc/smsc_emi_x25.c content = xmlGetProp(parent, octstr_get_cstr(map->attribute)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &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); ^ ./gwlib/octstr.h:234:5: note: expanded from macro 'octstr_get_cstr' (octstr_get_cstr_real(ostr, __FILE__, __LINE__, __func__)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/work/www/kannel/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here gw/smsc/smsc_sema.c:980:13: const xmlChar *name); warning: passing 'unsigned char [4]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ^ 2, pmsg->optref, 4); /*operation reference, in hex*/ ^~~~~~~~~~~~ ./gwlib/octstr.h:424:61: note: passing argument to parameter 'data' here 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 with different sign [-Wpointer-sign] void octstr_insert_data(Octstr *ostr, long pos, const char *data, long len); ^ temp = octstr_create(content); ^~~~~~~~~~~~~~~~~~~~~~ ./gwlib/octstr.h:126:38: note: expanded from macro 'octstr_create' gw/smsc/smsc_sema.c:984:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ octstr_len(segments[0].content), &ccr, 1); /**/ ^~~~ ./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area' ./gwlib/octstr.h:424:61: note: passing argument to parameter 'data' here #define gw_claim_area(ptr) (gw_native_noop(ptr)) ^~~ void octstr_insert_data(Octstr *ostr, long pos, const char *data, long len); ^ ./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_sema.c:992:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] 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 with different sign [-Wpointer-sign] segments[i].content= octstr_create_from_data(&(pmsg->type), 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ temp = octstr_create(content); ^~~~~~~~~~~~~~~~~~~~~~ ./gwlib/octstr.h:135:48: note: expanded from macro 'octstr_create_from_data' ./gwlib/octstr.h:126:38: note: expanded from macro 'octstr_create' gw_claim_area(octstr_create_from_data_real((data), (len), __FILE__, __LINE__, __func__)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area' ./gwlib/gwmem.h:125:44: note: expanded from macro 'gw_claim_area' #define gw_claim_area(ptr) (gw_native_noop(ptr)) ^~~ #define gw_claim_area(ptr) (gw_native_noop(ptr)) ^~~ ./gwlib/octstr.h:123:40: note: passing argument to parameter 'cstr' here ./gwlib/octstr.h:132:50: note: passing argument to parameter 'data' here Octstr *octstr_create_real(const char *cstr, const char *file, long line, ^ 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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-Wpointer-sign] if(strstr(data,cerr) != NULL || ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 with different sign [-Wpointer-sign] strstr(data,cclr) != NULL){ ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 with different sign [-Wpointer-sign] if(strstr(tmp1,tmp2) != NULL){ ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 with different sign [-Wpointer-sign] if(strstr(tmp1,tmp2) != NULL){ ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 with different sign [-Wpointer-sign] if(strstr(tmp1, tmp2) != NULL){ ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 with different sign [-Wpointer-sign] if(strstr(tmp1, tmp2) != NULL){ ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 ''; ^ gw/smsc/smsc_sema.c:1685:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case 0x03: return ''; ^ gw/smsc/smsc_sema.c:1686:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case 0x04: return ''; ^ gw/smsc/smsc_sema.c:1687:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case 0x05: return ''; ^ gw/smsc/smsc_sema.c:1688:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case 0x06: return ''; ^ gw/smsc/smsc_sema.c:1689:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case 0x07: return ''; ^ gw/smsc/smsc_sema.c:1690:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case 0x08: return ''; ^ gw/smsc/smsc_sema.c:1691:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case 0x09: return ''; ^ gw/smsc/smsc_sema.c:1693:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case 0x0B: return ''; ^ gw/smsc/smsc_sema.c:1694:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case 0x0C: return ''; ^ gw/smsc/smsc_sema.c:1696:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case 0x0E: return ''; ^ gw/smsc/smsc_sema.c:1697:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case 0x0F: return ''; ^ gw/smsc/smsc_sema.c:1710:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case 0x1C: return ''; ^ gw/smsc/smsc_sema.c:1711:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case 0x1D: return ''; ^ gw/smsc/smsc_sema.c:1713:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case 0x1F: return ''; ^ gw/smsc/smsc_sema.c:1714:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case 0x5B: return ''; ^ gw/smsc/smsc_sema.c:1715:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case 0x5C: return ''; ^ gw/smsc/smsc_sema.c:1716:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case 0x5D: return ''; ^ gw/smsc/smsc_sema.c:1717:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case 0x5E: return ''; ^ gw/smsc/smsc_sema.c:1718:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case 0x5F: return ''; ^ gw/smsc/smsc_sema.c:1719:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case 0x60: return ''; ^ gw/smsc/smsc_sema.c:1721:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case 0x7C: return ''; ^ gw/smsc/smsc_sema.c:1722:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case 0x7D: return ''; ^ gw/smsc/smsc_sema.c:1723:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case 0x7E: return ''; ^ gw/smsc/smsc_sema.c:1724:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case 0x7F: return ''; ^ gw/smsc/smsc_sema.c:1797:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] int len = strlen(from); ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ 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 '': strcat(to, "_L-"); to += 3; break; ^ gw/smsc/smsc_cimd.c:795:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': strcat(to, "_A*"); to += 3; break; ^ gw/smsc/smsc_cimd.c:796:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': strcat(to, "_a*"); to += 3; break; ^ gw/smsc/smsc_cimd.c:797:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': strcat(to, "_a\""); to += 3; break; ^ gw/smsc/smsc_cimd.c:798:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': strcat(to, "_o\""); to += 3; break; ^ gw/smsc/smsc_cimd.c:799:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': strcat(to, "_A\""); to += 3; break; ^ gw/smsc/smsc_cimd.c:800:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': strcat(to, "_O\""); to += 3; break; ^ gw/smsc/smsc_cimd.c:801:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': strcat(to, "_Y-"); to += 3; break; ^ gw/smsc/smsc_cimd.c:802:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': strcat(to, "_e`"); to += 3; break; ^ gw/smsc/smsc_cimd.c:803:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': strcat(to, "_e"); to += 3; break; ^ gw/smsc/smsc_cimd.c:803:33: warning: illegal character encoding in string literal [-Winvalid-source-encoding] case '': strcat(to, "_e"); to += 3; break; ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 '': strcat(to, "_u`"); to += 3; break; ^ gw/smsc/smsc_cimd.c:805:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': strcat(to, "_i`"); to += 3; break; ^ gw/smsc/smsc_cimd.c:806:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': strcat(to, "_o`"); to += 3; break; ^ gw/smsc/smsc_cimd.c:807:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': strcat(to, "_C,"); to += 3; break; ^ gw/smsc/smsc_cimd.c:808:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': strcat(to, "_O/"); to += 3; break; ^ gw/smsc/smsc_cimd.c:809:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': strcat(to, "_o/"); to += 3; break; ^ gw/smsc/smsc_cimd.c:810:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': strcat(to, "_AE"); to += 3; break; ^ gw/smsc/smsc_cimd.c:811:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': strcat(to, "_ae"); to += 3; break; ^ gw/smsc/smsc_cimd.c:812:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': strcat(to, "_ss"); to += 3; break; ^ gw/smsc/smsc_cimd.c:813:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': strcat(to, "_E"); to += 3; break; ^ gw/smsc/smsc_cimd.c:813:33: warning: illegal character encoding in string literal [-Winvalid-source-encoding] case '': strcat(to, "_E"); to += 3; break; ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 '': strcat(to, "_??"); to += 3; break; ^ gw/smsc/smsc_cimd.c:815:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': strcat(to, "_U\""); to += 3; break; ^ gw/smsc/smsc_cimd.c:816:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': strcat(to, "_n~"); to += 3; break; ^ gw/smsc/smsc_cimd.c:817:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': strcat(to, "_u\""); to += 3; break; ^ gw/smsc/smsc_cimd.c:818:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': strcat(to, "_a`"); to += 3; break; ^ gw/smsc/smsc_cimd.c:819:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': strcat(to, "_!!"); to += 3; break; ^ gw/smsc/smsc_cimd.c:821:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': strcat(to, "_N~"); to += 3; break; ^ gw/smsc/smsc_cimd.c:825:14: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': strcat(to, ""); to++; break; ^ gw/smsc/smsc_cimd.c:825:31: warning: illegal character encoding in string literal [-Winvalid-source-encoding] case '': strcat(to, ""); to++; break; ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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, ""); ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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, ""); ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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, ""); ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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, ""); ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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, ""); ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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, ""); ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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, ""); ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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, ""); ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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, ""); ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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] == '') { ^ gw/smsc/smsc_cimd.c:984:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding] strcat(to, ""); ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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, ""); ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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, ""); ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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, ""); ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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, ""); ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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, ""); ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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, ""); ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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, ""); ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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, ""); ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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, ""); ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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] == '') { ^ gw/smsc/smsc_cimd.c:1014:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding] strcat(to, ""); ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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, ""); ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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, ""); ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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, ""); ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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, ""); ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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, ""); ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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, ""); ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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, ""); ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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, ""); ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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, ""); ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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, ""); ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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, ""); ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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, ""); ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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] == '') { ^ gw/smsc/smsc_cimd.c:1072:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding] strcat(to, ""); ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat' __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ gw/smsc/smpp_pdu.c:419:31: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-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); ^ 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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-Wpointer-sign] clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/smsc/smsc_at.o -c gw/smsc/smsc_at.c 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 with different sign [-Wpointer-sign] sprintf(out, "%02X", j); ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 '': ^ gw/smsc/smsc_emi_x25.c:1363:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': ^ gw/smsc/smsc_emi_x25.c:1365:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': ^ gw/smsc/smsc_emi_x25.c:1367:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': ^ gw/smsc/smsc_emi_x25.c:1369:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': ^ gw/smsc/smsc_emi_x25.c:1371:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': ^ gw/smsc/smsc_emi_x25.c:1373:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': ^ gw/smsc/smsc_emi_x25.c:1375:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': ^ gw/smsc/smsc_emi_x25.c:1377:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': ^ gw/smsc/smsc_emi_x25.c:1379:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': ^ gw/smsc/smsc_emi_x25.c:1381:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': ^ gw/smsc/smsc_emi_x25.c:1383:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': ^ gw/smsc/smsc_emi_x25.c:1404:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': ^ gw/smsc/smsc_emi_x25.c:1408:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': ^ gw/smsc/smsc_emi_x25.c:1410:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': ^ gw/smsc/smsc_emi_x25.c:1412:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': ^ gw/smsc/smsc_emi_x25.c:1414:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': ^ gw/smsc/smsc_emi_x25.c:1416:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': ^ gw/smsc/smsc_emi_x25.c:1418:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': ^ gw/smsc/smsc_emi_x25.c:1420:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': ^ gw/smsc/smsc_emi_x25.c:1424:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': ^ gw/smsc/smsc_emi_x25.c:1428:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': ^ gw/smsc/smsc_emi_x25.c:1430:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': ^ gw/smsc/smsc_emi_x25.c:1432:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': ^ gw/smsc/smsc_emi_x25.c:1441:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': ^ gw/smsc/smsc_emi_x25.c:1468:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': ^ gw/smsc/smsc_emi_x25.c:1470:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': ^ gw/smsc/smsc_emi_x25.c:1472:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': ^ gw/smsc/smsc_emi_x25.c:1474:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': ^ gw/smsc/smsc_emi_x25.c:1638:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding] return ''; ^ gw/smsc/smsc_emi_x25.c:1640:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding] return ''; ^ gw/smsc/smsc_emi_x25.c:1642:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding] return ''; ^ gw/smsc/smsc_emi_x25.c:1644:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding] return ''; ^ gw/smsc/smsc_emi_x25.c:1646:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding] return ''; ^ gw/smsc/smsc_emi_x25.c:1648:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding] return ''; ^ gw/smsc/smsc_emi_x25.c:1650:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding] return ''; ^ gw/smsc/smsc_emi_x25.c:1652:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding] return ''; ^ gw/smsc/smsc_emi_x25.c:1654:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding] return ''; ^ gw/smsc/smsc_emi_x25.c:1656:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding] return ''; ^ gw/smsc/smsc_emi_x25.c:1658:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding] return ''; ^ gw/smsc/smsc_emi_x25.c:1660:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding] return ''; ^ gw/smsc/smsc_emi_x25.c:1678:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding] return ''; ^ gw/smsc/smsc_emi_x25.c:1682:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding] return ''; ^ gw/smsc/smsc_emi_x25.c:1684:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding] return ''; ^ gw/smsc/smsc_emi_x25.c:1686:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding] return ''; ^ gw/smsc/smsc_emi_x25.c:1688:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding] return ''; ^ gw/smsc/smsc_emi_x25.c:1690:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding] return ''; ^ gw/smsc/smsc_emi_x25.c:1692:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding] return ''; ^ gw/smsc/smsc_emi_x25.c:1694:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding] return ''; ^ gw/smsc/smsc_emi_x25.c:1698:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding] return ''; ^ gw/smsc/smsc_emi_x25.c:1702:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding] return ''; ^ gw/smsc/smsc_emi_x25.c:1704:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding] return ''; ^ gw/smsc/smsc_emi_x25.c:1706:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding] return ''; ^ gw/smsc/smsc_emi_x25.c:1715:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding] return ''; ^ gw/smsc/smsc_emi_x25.c:1742:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding] return ''; ^ gw/smsc/smsc_emi_x25.c:1744:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding] return ''; ^ gw/smsc/smsc_emi_x25.c:1746:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding] return ''; ^ gw/smsc/smsc_emi_x25.c:1748:16: warning: illegal character encoding in character literal [-Winvalid-source-encoding] return ''; ^ clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/smsc/smsc_smpp.o -c gw/smsc/smsc_smpp.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.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h:97:25: note: expanded from macro 'SSIZE_MAX' #define SSIZE_MAX LONG_MAX /* max value for a ssize_t */ ^~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/limits.h:47:19: note: expanded from macro 'LONG_MAX' #define LONG_MAX __LONG_MAX__clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/smsc/smsc_cimd2.o -c gw/smsc/smsc_cimd2.c ^~~~~~~~~~~~ :40: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 with different sign [-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 with different sign [-Wpointer-sign] sprintf(command, "AT+CMGS=%ld", octstr_len(pdu) / 2); ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 with different sign [-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 with different sign [-Wpointer-sign] sprintf(command, "%s%s", sc, octstr_get_cstr(pdu)); ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 with different sign [-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) ^ 68 warnings generated. clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/smsc/smsc_smasi.o -c gw/smsc/smsc_smasi.c 65 warnings generated. clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/smsc/smsc_emi.o -c gw/smsc/smsc_emi.c 14 warnings generated. clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/smsc/smsc_ois.o -c gw/smsc/smsc_ois.c 88 warnings generated. clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/smsc/emimsg.o -c gw/smsc/emimsg.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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-Wpointer-sign] sprintf(minpacket, STX_str "%02d:%03d" TAB_str ETX_str, operation, seq); ^~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 with different sign [-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 with different sign [-Wpointer-sign] sprintf(parmh, TAB_str "%03d:", parmno); ^~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 with different sign [-Wpointer-sign] octstr_insert_data(packet->data, position, parmh, strlen(parmh)); ^~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 with different sign [-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 with different sign [-Wpointer-sign] octstr_insert(packet->data, value, position + strlen(parmh)); ^~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 with different sign [-Wpointer-sign] sprintf(buf, "%ld", value); ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 with different sign [-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 with different sign [-Wpointer-sign] sprintf(buf, "%02X", checksum); ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 with different sign [-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 with different sign [-Wpointer-sign] sprintf(buf, "%03d", seq); ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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_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.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:700: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); } ~ ^ clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/smsc/smsc_fake.o -c gw/smsc/smsc_fake.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/smsc/smsc_cgw.o -c gw/smsc/smsc_cgw.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/smsc/smsc.o -c gw/smsc/smsc.c 7 warnings generated. clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/smsc/smsc_oisd.o -c gw/smsc/smsc_oisd.c 108 warnings generated. clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gw/smsc/smsc_wrapper.o -c gw/smsc/smsc_wrapper.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wmlscript/wserror.o -c wmlscript/wserror.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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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, ^ clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wmlscript/wmlsc.o -c wmlscript/wmlsc.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wmlscript/ws.o -c wmlscript/ws.c 3 warnings generated. clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wmlscript/wsfalloc.o -c wmlscript/wsfalloc.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wmlscript/wsstream_data.o -c wmlscript/wsstream_data.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wmlscript/wsieee754.o -c wmlscript/wsieee754.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wmlscript/wsbuffer.o -c wmlscript/wsbuffer.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wmlscript/wsstream.o -c wmlscript/wsstream.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wmlscript/wmlsdasm.o -c wmlscript/wmlsdasm.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wmlscript/wsstdlib.o -c wmlscript/wsstdlib.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wmlscript/wsutf8.o -c wmlscript/wsutf8.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wmlscript/wsstree.o -c wmlscript/wsstree.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wmlscript/wsencode.o -c wmlscript/wsencode.c 7 warnings generated. clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wmlscript/wslexer.o -c wmlscript/wslexer.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wmlscript/wshash.o -c wmlscript/wshash.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wmlscript/wsbc.o -c wmlscript/wsbc.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wmlscript/wsalloc.o -c wmlscript/wsalloc.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wmlscript/wsstream_file.o -c wmlscript/wsstream_file.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wmlscript/wsgram.o -c wmlscript/wsgram.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wmlscript/wsasm.o -c wmlscript/wsasm.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wmlscript/wsopt.o -c wmlscript/wsopt.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wap/wap_events.o -c wap/wap_events.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wap/wtls_pdu.o -c wap/wtls_pdu.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wap/wtls_statesupport.o -c wap/wtls_statesupport.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wap/wtp_resp.o -c wap/wtp_resp.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wap/wsp_session.o -c wap/wsp_session.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wap/timers.o -c wap/timers.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wap/cookies.o -c wap/cookies.c 1 warning generated. clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wap/wsp_caps.o -c wap/wsp_caps.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wap/wap.o -c wap/wap.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wap/wtp.o -c wap/wtp.c In file included from wap/wtp_resp.c:290: wap/wtp_resp_states.def:150:1: warning: returning 'char [7]' from a function with result type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] STATE_NAME(LISTEN) ^~~~~~~~~~~~~~~~~~ wap/wtp_resp.c:288:53: note: expanded from macro 'STATE_NAME' #define STATE_NAME(state) case state: return #state; ^~~~~~ :91:1: note: expanded from here "LISTEN" ^~~~~~~~ In file included from wap/wtp_resp.c:290: wap/wtp_resp_states.def:151:1: warning: returning 'char [11]' from a function with result type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] STATE_NAME(TIDOK_WAIT) ^~~~~~~~~~~~~~~~~~~~~~ wap/wtp_resp.c:288:53: note: expanded from macro 'STATE_NAME' #define STATE_NAME(state) case state: return #state; ^~~~~~ :92:1: note: expanded from here "TIDOK_WAIT" ^~~~~~~~~~~~ In file included from wap/wtp_resp.c:290: wap/wtp_resp_states.def:152:1: warning: returning 'char [17]' from a function with result type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] STATE_NAME(INVOKE_RESP_WAIT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wtp_resp.c:288:53: note: expanded from macro 'STATE_NAME' #define STATE_NAME(state) case state: return #state; ^~~~~~ :93:1: note: expanded from here "INVOKE_RESP_WAIT" ^~~~~~~~~~~~~~~~~~ In file included from wap/wtp_resp.c:290: wap/wtp_resp_states.def:153:1: warning: returning 'char [12]' from a function with result type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] STATE_NAME(RESULT_WAIT) ^~~~~~~~~~~~~~~~~~~~~~~ wap/wtp_resp.c:288:53: note: expanded from macro 'STATE_NAME' #define STATE_NAME(state) case state: return #state; ^~~~~~ :94:1: note: expanded from here "RESULT_WAIT" ^~~~~~~~~~~~~ In file included from wap/wtp_resp.c:290: wap/wtp_resp_states.def:154:1: warning: returning 'char [17]' from a function with result type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] STATE_NAME(RESULT_RESP_WAIT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wtp_resp.c:288:53: note: expanded from macro 'STATE_NAME' #define STATE_NAME(state) case state: return #state; ^~~~~~ :95:1: note: expanded from here "RESULT_RESP_WAIT" ^~~~~~~~~~~~~~~~~~ In file included from wap/wtp_resp.c:290: wap/wtp_resp_states.def:155:1: warning: returning 'char [19]' from a function with result type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] STATE_NAME(WAIT_TIMEOUT_STATE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wtp_resp.c:288:53: note: expanded from macro 'STATE_NAME' #define STATE_NAME(state) case state: return #state; ^~~~~~ :96:1: note: expanded from here "WAIT_TIMEOUT_STATE" ^~~~~~~~~~~~~~~~~~~~ wap/wtp_resp.c:292:19: warning: returning 'char [14]' from a function with result type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] return "unknown state"; ^~~~~~~~~~~~~~~ clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wap/wtls-secmgr.o -c wap/wtls-secmgr.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wap/wtp_tid.o -c wap/wtp_tid.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wap/wap_addr.o -c wap/wap_addr.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wap/wsp_strings.o -c wap/wsp_strings.c 7 warnings generated. clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wap/wtls.o -c wap/wtls.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wap/wtp_init.o -c wap/wtp_init.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wap/wtls_pdusupport.o -c wap/wtls_pdusupport.c wap/wtp_tid.c:215:6: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] if (abs(rcv_tid - last_tid) <= WTP_TID_WINDOW_SIZE) { ^ wap/wtp_tid.c:215:6: note: use function 'labs' instead if (abs(rcv_tid - last_tid) <= WTP_TID_WINDOW_SIZE) { ^~~ labs wap/wtp_tid.c:223:13: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] if (abs(rcv_tid - last_tid) >= WTP_TID_WINDOW_SIZE){ ^ wap/wtp_tid.c:223:13: note: use function 'labs' instead if (abs(rcv_tid - last_tid) >= WTP_TID_WINDOW_SIZE){ ^~~ labs clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wap/wtp_pack.o -c wap/wtp_pack.c 2 warnings generated. clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wap/wtp_pdu.o -c wap/wtp_pdu.c In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:108:19: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "Accept", WSP_HEADER_ACCEPT) ^~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:109:19: warning: initializing 'unsigned char *' with an expression of type 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "Accept-Charset", WSP_HEADER_ACCEPT_CHARSET) ^~~~~~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:110:19: warning: initializing 'unsigned char *' with an expression of type 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "Accept-Encoding", WSP_HEADER_ACCEPT_ENCODING) ^~~~~~~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:111:19: warning: initializing 'unsigned char *' with an expression of type 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "Accept-Language", WSP_HEADER_ACCEPT_LANGUAGE) ^~~~~~~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:112:19: warning: initializing 'unsigned char *' with an expression of type 'char [14]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "Accept-Ranges", WSP_HEADER_ACCEPT_RANGES) ^~~~~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:113:19: warning: initializing 'unsigned char *' with an expression of type 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "Age", WSP_HEADER_AGE) ^~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:114:19: warning: initializing 'unsigned char *' with an expression of type 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "Allow", WSP_HEADER_ALLOW) ^~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:115:19: warning: initializing 'unsigned char *' with an expression of type 'char [14]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "Authorization", WSP_HEADER_AUTHORIZATION) ^~~~~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:116:19: warning: initializing 'unsigned char *' with an expression of type 'char [14]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "Cache-Control", WSP_HEADER_CACHE_CONTROL) ^~~~~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:117:19: warning: initializing 'unsigned char *' with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "Connection", WSP_HEADER_CONNECTION) ^~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:118:19: warning: initializing 'unsigned char *' with an expression of type 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "Content-Base", WSP_HEADER_CONTENT_BASE) ^~~~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:119:19: warning: initializing 'unsigned char *' with an expression of type 'char [17]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "Content-Encoding", WSP_HEADER_CONTENT_ENCODING) ^~~~~~~~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:120:19: warning: initializing 'unsigned char *' with an expression of type 'char [17]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "Content-Language", WSP_HEADER_CONTENT_LANGUAGE) ^~~~~~~~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:121:19: warning: initializing 'unsigned char *' with an expression of type 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "Content-Length", WSP_HEADER_CONTENT_LENGTH) ^~~~~~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:122:19: warning: initializing 'unsigned char *' with an expression of type 'char [17]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "Content-Location", WSP_HEADER_CONTENT_LOCATION) ^~~~~~~~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:123:19: warning: initializing 'unsigned char *' with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "Content-MD5", WSP_HEADER_CONTENT_MD5) ^~~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:124:19: warning: initializing 'unsigned char *' with an expression of type 'char [14]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "Content-Range", WSP_HEADER_CONTENT_RANGE) ^~~~~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:125:19: warning: initializing 'unsigned char *' with an expression of type 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "Content-Type", WSP_HEADER_CONTENT_TYPE) ^~~~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:126:19: warning: initializing 'unsigned char *' with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "Date", WSP_HEADER_DATE) ^~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:127:19: warning: initializing 'unsigned char *' with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "Etag", WSP_HEADER_ETAG) ^~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:128:19: warning: initializing 'unsigned char *' with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "Expires", WSP_HEADER_EXPIRES) ^~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:129:19: warning: initializing 'unsigned char *' with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "From", WSP_HEADER_FROM) ^~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:130:19: warning: initializing 'unsigned char *' with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "Host", WSP_HEADER_HOST) ^~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:131:19: warning: initializing 'unsigned char *' with an expression of type 'char [18]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "If-Modified-Since", WSP_HEADER_IF_MODIFIED_SINCE) ^~~~~~~~~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:132:19: warning: initializing 'unsigned char *' with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "If-Match", WSP_HEADER_IF_MATCH) ^~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:133:19: warning: initializing 'unsigned char *' with an expression of type 'char [14]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "If-None-Match", WSP_HEADER_IF_NONE_MATCH) ^~~~~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:134:19: warning: initializing 'unsigned char *' with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "If-Range", WSP_HEADER_IF_RANGE) ^~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:135:19: warning: initializing 'unsigned char *' with an expression of type 'char [20]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "If-Unmodified-Since", WSP_HEADER_IF_UNMODIFIED_SINCE) ^~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:136:19: warning: initializing 'unsigned char *' with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "Location", WSP_HEADER_LOCATION) ^~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:137:19: warning: initializing 'unsigned char *' with an expression of type 'char [14]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "Last-Modified", WSP_HEADER_LAST_MODIFIED) ^~~~~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:138:19: warning: initializing 'unsigned char *' with an expression of type 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "Max-Forwards", WSP_HEADER_MAX_FORWARDS) ^~~~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:139:19: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "Pragma", WSP_HEADER_PRAGMA) ^~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:140:19: warning: initializing 'unsigned char *' with an expression of type 'char [19]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "Proxy-Authenticate", WSP_HEADER_PROXY_AUTHENTICATE) ^~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:141:19: warning: initializing 'unsigned char *' with an expression of type 'char [20]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "Proxy-Authorization", WSP_HEADER_PROXY_AUTHORIZATION) ^~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:142:19: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "Public", WSP_HEADER_PUBLIC) ^~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:143:19: warning: initializing 'unsigned char *' with an expression of type 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "Range", WSP_HEADER_RANGE) ^~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:144:19: warning: initializing 'unsigned char *' with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "Referer", WSP_HEADER_REFERER) ^~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:145:19: warning: initializing 'unsigned char *' with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "Retry-After", WSP_HEADER_RETRY_AFTER) ^~~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:146:19: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "Server", WSP_HEADER_SERVER) ^~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:147:19: warning: initializing 'unsigned char *' with an expression of type 'char [18]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "Transfer-Encoding", WSP_HEADER_TRANSFER_ENCODING) ^~~~~~~~~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:148:19: warning: initializing 'unsigned char *' with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "Upgrade", WSP_HEADER_UPGRADE) ^~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:149:19: warning: initializing 'unsigned char *' with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "User-Agent", WSP_HEADER_USER_AGENT) ^~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:150:19: warning: initializing 'unsigned char *' with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "Vary", WSP_HEADER_VARY) ^~~~~~ In file included from wap/wtp_init.c:289: wap/wtp_init_states.def:93:1: warning: returning 'char [21]' from a function with result type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' INIT_STATE_NAME(INITIATOR_NULL_STATE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wtp_init.cwap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' :287:58: note: expanded from macro 'INIT_STATE_NAME' #define VSTRING(version, string) { string, version }, ^~~~~~ #define INIT_STATE_NAME(state) case state: return #state; ^~~~~~ :57:1: note: expanded from here wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' "INITIATOR_NULL_STATE" ^~~~~~~~~~~~~~~~~~~~~~ static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:151:19: warning: initializing 'unsigned char *' with an expression of type 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] wap/wtp_init.c:289: wap/wtp_init_states.def:94:1: warning: returning 'char [22]' from a function with result type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "Via", WSP_HEADER_VIA) ^~~~~ INIT_STATE_NAME(INITIATOR_RESULT_WAIT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.def:99wap/wtp_init.c::58: note: expanded from macro 'VNSTRING' 287:58: note: expanded from macro 'INIT_STATE_NAME' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ #define INIT_STATE_NAME(state) case state: return #state; ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' :58:1: note: expanded from here #define VSTRING(version, string) { string, version }, "INITIATOR_RESULT_WAIT" ^~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' wap/wtp_init.c:291:19: warning: returning 'char [14]' from a function with result type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ return "unknown state"; ^~~~~~~~~~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:152:19: warning: initializing 'unsigned char *' with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "Warning", WSP_HEADER_WARNING) ^~~~~~~~~ wap/wsp_strings.def:99:58: note: clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wap/wsp_unit.o -c wap/wsp_unit.c expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:153:19: warning: initializing 'unsigned char *' with an expression of type 'char [17]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "WWW-Authenticate", WSP_HEADER_WWW_AUTHENTICATE) ^~~~~~~~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:154:19: warning: initializing 'unsigned char *' with an expression of type 'char [20]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_1, "Content-Disposition", WSP_HEADER_CONTENT_DISPOSITION) ^~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:155:19: warning: initializing 'unsigned char *' with an expression of type 'char [21]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_2, "X-Wap-Application-Id", WSP_HEADER_X_WAP_APPLICATION_ID) ^~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:156:19: warning: initializing 'unsigned char *' with an expression of type 'char [18]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_2, "X-Wap-Content-URI", WSP_HEADER_X_WAP_CONTENT_URI) ^~~~~~~~~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:157:19: warning: initializing 'unsigned char *' with an expression of type 'char [20]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_2, "X-Wap-Initiator-URI", WSP_HEADER_X_WAP_INITIATOR_URI) ^~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:158:19: warning: initializing 'unsigned char *' with an expression of type 'char [19]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_2, "Accept-Application", WSP_HEADER_ACCEPT_APPLICATION) ^~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:159:19: warning: initializing 'unsigned char *' with an expression of type 'char [18]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_2, "Bearer-Indication", WSP_HEADER_BEARER_INDICATION) ^~~~~~~~~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:160:19: warning: initializing 'unsigned char *' with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_2, "Push-Flag", WSP_HEADER_PUSH_FLAG) ^~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:161:19: warning: initializing 'unsigned char *' with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_2, "Profile", WSP_HEADER_PROFILE) ^~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:162:19: warning: initializing 'unsigned char *' with an expression of type 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_2, "Profile-Diff", WSP_HEADER_PROFILE_DIFF) ^~~~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:163:19: warning: initializing 'unsigned char *' with an expression of type 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_2, "Profile-Warning", WSP_HEADER_PROFILE_WARNING) ^~~~~~~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:164:19: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_3, "Expect", WSP_HEADER_EXPECT) ^~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:165:19: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_3, "TE", WSP_HEADER_TE) ^~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:166:19: warning: initializing 'unsigned char *' with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_3, "Trailer", WSP_HEADER_TRAILER) ^~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:167:19: warning: initializing 'unsigned char *' with an expression of type 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_3, "Accept-Charset", WSP_HEADER_ACCEPT_CHARSET_V13) ^~~~~~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:168:19: warning: initializing 'unsigned char *' with an expression of type 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_3, "Accept-Encoding", WSP_HEADER_ACCEPT_ENCODING_V13) ^~~~~~~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:169:19: warning: initializing 'unsigned char *' with an expression of type 'char [14]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_3, "Cache-Control", WSP_HEADER_CACHE_CONTROL_V13) ^~~~~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:170:19: warning: initializing 'unsigned char *' with an expression of type 'char [14]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_3, "Content-Range", WSP_HEADER_CONTENT_RANGE_V13) ^~~~~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:171:19: warning: initializing 'unsigned char *' with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_3, "X-WAP-Tod", WSP_HEADER_X_WAP_TOD) ^~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:172:19: warning: initializing 'unsigned char *' with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_3, "Content-ID", WSP_HEADER_CONTENT_ID) ^~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:173:19: warning: initializing 'unsigned char *' with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_3, "Set-Cookie", WSP_HEADER_SET_COOKIE) ^~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:174:19: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_3, "Cookie", WSP_HEADER_COOKIE) ^~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:175:19: warning: initializing 'unsigned char *' with an expression of type 'char [17]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_3, "Encoding-Version", WSP_HEADER_ENCODING_VERSION) ^~~~~~~~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:176:19: warning: initializing 'unsigned char *' with an expression of type 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_4, "Profile-Warning", WSP_HEADER_PROFILE_WARNING_V14) ^~~~~~~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:177:19: warning: initializing 'unsigned char *' with an expression of type 'char [20]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_4, "Content-Disposition", WSP_HEADER_CONTENT_DISPOSITION_V14) ^~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:178:19: warning: initializing 'unsigned char *' with an expression of type 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_4, "X-WAP-Security", WSP_HEADER_X_WAP_SECURITY) ^~~~~~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:179:19: warning: initializing 'unsigned char *' with an expression of type 'char [14]' converts between pointers to integer types with different sign [-Wpointer-sign] VNSTRING(WSP_1_4, "Cache-Control", WSP_HEADER_CACHE_CONTROL_V14) ^~~~~~~~~~~~~~~ wap/wsp_strings.def:99:58: note: expanded from macro 'VNSTRING' #define VNSTRING(version, string, name) VSTRING(version, string) ^~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:186:18: warning: initializing 'unsigned char *' with an expression of type 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "*/*") ^~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:187:18: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "text/*") ^~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:188:18: warning: initializing 'unsigned char *' with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "text/html") ^~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:189:18: warning: initializing 'unsigned char *' with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "text/plain") ^~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:190:18: warning: initializing 'unsigned char *' with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "text/x-hdml") ^~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:191:18: warning: initializing 'unsigned char *' with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "text/x-ttml") ^~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:192:18: warning: initializing 'unsigned char *' with an expression of type 'char [17]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "text/x-vCalendar") ^~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:193:18: warning: initializing 'unsigned char *' with an expression of type 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "text/x-vCard") ^~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:194:18: warning: initializing 'unsigned char *' with an expression of type 'char [17]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "text/vnd.wap.wml") ^~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:195:18: warning: initializing 'unsigned char *' with an expression of type 'char [23]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "text/vnd.wap.wmlscript") ^~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:196:18: warning: initializing 'unsigned char *' with an expression of type 'char [25]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "application/vnd.wap.catc") ^~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:197:18: warning: initializing 'unsigned char *' with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "multipart/*") ^~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:198:18: warning: initializing 'unsigned char *' with an expression of type 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "multipart/mixed") ^~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:199:18: warning: initializing 'unsigned char *' with an expression of type 'char [20]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "multipart/form-data") ^~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:200:18: warning: initializing 'unsigned char *' with an expression of type 'char [21]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "multipart/byteranges") ^~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:201:18: warning: initializing 'unsigned char *' with an expression of type 'char [22]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "multipart/alternative") ^~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:202:18: warning: initializing 'unsigned char *' with an expression of type 'char [14]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "application/*") ^~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:203:18: warning: initializing 'unsigned char *' with an expression of type 'char [20]' converts between pointers to integer types with different sign [-Wpointer-sign] clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wap/wsp_pdu.o -c wap/wsp_pdu.c VSTRING(WSP_1_1, "application/java-vm") ^~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:204:18: warning: initializing 'unsigned char *' with an expression of type 'char [34]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "application/x-www-form-urlencoded") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:205:18: warning: initializing 'unsigned char *' with an expression of type 'char [20]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "application/x-hdmlc") ^~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:206:18: warning: initializing 'unsigned char *' with an expression of type 'char [25]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "application/vnd.wap.wmlc") ^~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:207:18: warning: initializing 'unsigned char *' with an expression of type 'char [31]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "application/vnd.wap.wmlscriptc") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:208:18: warning: initializing 'unsigned char *' with an expression of type 'char [25]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "application/vnd.wap.wsic") ^~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:209:18: warning: initializing 'unsigned char *' with an expression of type 'char [27]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "application/vnd.wap.uaprof") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:210:18: warning: initializing 'unsigned char *' with an expression of type 'char [40]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "application/vnd.wap.wtls-ca-certificate") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:211:18: warning: initializing 'unsigned char *' with an expression of type 'char [42]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "application/vnd.wap.wtls-user-certificate") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:212:18: warning: initializing 'unsigned char *' with an expression of type 'char [27]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "application/x-x509-ca-cert") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:213:18: warning: initializing 'unsigned char *' with an expression of type 'char [29]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "application/x-x509-user-cert") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:214:18: warning: initializing 'unsigned char *' with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "image/*") ^~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:215:18: warning: initializing 'unsigned char *' with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "image/gif") ^~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:216:18: warning: initializing 'unsigned char *' with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "image/jpeg") ^~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:217:18: warning: initializing 'unsigned char *' with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "image/tiff") ^~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:218:18: warning: initializing 'unsigned char *' with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "image/png") ^~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:219:18: warning: initializing 'unsigned char *' with an expression of type 'char [19]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "image/vnd.wap.wbmp") ^~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:220:18: warning: initializing 'unsigned char *' with an expression of type 'char [32]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "application/vnd.wap.multipart.*") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:221:18: warning: initializing 'unsigned char *' with an expression of type 'char [36]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "application/vnd.wap.multipart.mixed") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wap/wsp_headers.o -c wap/wsp_headers.c static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:222:18: warning: initializing 'unsigned char *' with an expression of type 'char [40]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "application/vnd.wap.multipart.form-data") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:223:18: warning: initializing 'unsigned char *' with an expression of type 'char [41]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "application/vnd.wap.multipart.byteranges") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:224:18: warning: initializing 'unsigned char *' with an expression of type 'char [42]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "application/vnd.wap.multipart.alternative") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:225:18: warning: initializing 'unsigned char *' with an expression of type 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "application/xml") ^~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:226:18: warning: initializing 'unsigned char *' with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "text/xml") ^~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:227:18: warning: initializing 'unsigned char *' with an expression of type 'char [26]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "application/vnd.wap.wbxml") ^~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:228:18: warning: initializing 'unsigned char *' with an expression of type 'char [30]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "application/x-x968-cross-cert") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:229:18: warning: initializing 'unsigned char *' with an expression of type 'char [27]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "application/x-x968-ca-cert") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:230:18: warning: initializing 'unsigned char *' with an expression of type 'char [29]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "application/x-x968-user-cert") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:231:18: warning: initializing 'unsigned char *' with an expression of type 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_1, "text/vnd.wap.si") ^~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:232:18: warning: initializing 'unsigned char *' with an expression of type 'char [24]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_2, "application/vnd.wap.sic") ^~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:233:18: warning: initializing 'unsigned char *' with an expression of type 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_2, "text/vnd.wap.sl") ^~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:234:18: warning: initializing 'unsigned char *' with an expression of type 'char [24]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_2, "application/vnd.wap.slc") ^~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:235:18: warning: initializing 'unsigned char *' with an expression of type 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_2, "text/vnd.wap.co") ^~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:236:18: warning: initializing 'unsigned char *' with an expression of type 'char [24]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_2, "application/vnd.wap.coc") ^~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:237:18: warning: initializing 'unsigned char *' with an expression of type 'char [38]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_2, "application/vnd.wap.multipart.related") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:238:18: warning: initializing 'unsigned char *' with an expression of type 'char [24]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_2, "application/vnd.wap.sia") ^~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:239:18: warning: initializing 'unsigned char *' with an expression of type 'char [30]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_3, "text/vnd.wap.connectivity-xml") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:240:18: warning: initializing 'unsigned char *' with an expression of type 'char [39]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_3, "application/vnd.wap.connectivity-wbxml") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:241:18: warning: initializing 'unsigned char *' with an expression of type 'char [23]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_4, "application/pkcs7-mime") ^~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:242:18: warning: initializing 'unsigned char *' with an expression of type 'char [39]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_4, "application/vnd.wap.hashed-certificate") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:243:18: warning: initializing 'unsigned char *' with an expression of type 'char [39]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_4, "application/vnd.wap.signed-certificate") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:244:18: warning: initializing 'unsigned char *' with an expression of type 'char [34]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_4, "application/vnd.wap.cert-response") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:245:18: warning: initializing 'unsigned char *' with an expression of type 'char [22]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_4, "application/xhtml+xml") ^~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:246:18: warning: initializing 'unsigned char *' with an expression of type 'char [20]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_4, "application/wml+xml") ^~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:247:18: warning: initializing 'unsigned char *' with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_4, "text/css") ^~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:248:18: warning: initializing 'unsigned char *' with an expression of type 'char [32]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_4, "application/vnd.wap.mms-message") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:249:18: warning: initializing 'unsigned char *' with an expression of type 'char [41]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_4, "application/vnd.wap.rollover-certificate") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:250:18: warning: initializing 'unsigned char *' with an expression of type 'char [31]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_5, "application/vnd.wap.locc+wbxml") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:251:18: warning: initializing 'unsigned char *' with an expression of type 'char [28]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_5, "application/vnd.wap.loc+xml") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:252:18: warning: initializing 'unsigned char *' with an expression of type 'char [32]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_5, "application/vnd.syncml.dm+wbxml") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:253:18: warning: initializing 'unsigned char *' with an expression of type 'char [30]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_5, "application/vnd.syncml.dm+xml") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:254:18: warning: initializing 'unsigned char *' with an expression of type 'char [36]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_5, "application/vnd.syncml.notification") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:255:18: warning: initializing 'unsigned char *' with an expression of type 'char [30]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_5, "application/vnd.wap.xhtml+xml") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:256:18: warning: initializing 'unsigned char *' with an expression of type 'char [27]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_5, "application/vnd.wv.csp.cir") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:257:18: warning: initializing 'unsigned char *' with an expression of type 'char [27]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_5, "application/vnd.oma.dd+xml") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:258:18: warning: initializing 'unsigned char *' with an expression of type 'char [32]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_5, "application/vnd.oma.drm.message") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:259:18: warning: initializing 'unsigned char *' with an expression of type 'char [32]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_5, "application/vnd.oma.drm.content") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:260:18: warning: initializing 'unsigned char *' with an expression of type 'char [35]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_5, "application/vnd.oma.drm.rights+xml") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:261:18: warning: initializing 'unsigned char *' with an expression of type 'char [37]' converts between pointers to integer types with different sign [-Wpointer-sign] VSTRING(WSP_1_5, "application/vnd.oma.drm.rights+wbxml") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:116:36: note: expanded from macro 'VSTRING' #define VSTRING(version, string) { string, version }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:270:8: warning: initializing 'unsigned char *' with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("big5", 2026) ^~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:271:8: warning: initializing 'unsigned char *' with an expression of type 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("iso-10646-ucs-2", 1000) ^~~~~~~~~~~~~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:272:8: warning: initializing 'unsigned char *' with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("iso-8859-1", 4) ^~~~~~~~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:273:8: warning: initializing 'unsigned char *' with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("iso-8859-2", 5) ^~~~~~~~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:274:8: warning: initializing 'unsigned char *' with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("iso-8859-3", 6) ^~~~~~~~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:275:8: warning: initializing 'unsigned char *' with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("iso-8859-4", 7) ^~~~~~~~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:276:8: warning: initializing 'unsigned char *' with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("iso-8859-5", 8) ^~~~~~~~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:277:8: warning: initializing 'unsigned char *' with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("iso-8859-6", 9) ^~~~~~~~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:278:8: warning: initializing 'unsigned char *' with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("iso-8859-7", 10) ^~~~~~~~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:279:8: warning: initializing 'unsigned char *' with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("iso-8859-8", 11) ^~~~~~~~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:280:8: warning: initializing 'unsigned char *' with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("iso-8859-9", 12) ^~~~~~~~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:281:8: warning: initializing 'unsigned char *' with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("shift_JIS", 17) ^~~~~~~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:282:8: warning: initializing 'unsigned char *' with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("us-ascii", 3) ^~~~~~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:283:8: warning: initializing 'unsigned char *' with an expression of type 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("utf-8", 106) ^~~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:288:18: warning: initializing 'unsigned char *' with an expression of type 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign] VASSIGN(WSP_1_1, "q", 0) ^~~ wap/wsp_strings.c:121:44: note: expanded from macro 'VASSIGN' #define VASSIGN(version, string, number) { string, number, version }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:289:18: warning: initializing 'unsigned char *' with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] VASSIGN(WSP_1_1, "charset", 1) ^~~~~~~~~ wap/wsp_strings.c:121:44: note: expanded from macro 'VASSIGN' #define VASSIGN(version, string, number) { string, number, version }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:290:18: warning: initializing 'unsigned char *' with an expression of type 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] VASSIGN(WSP_1_1, "level", 2) ^~~~~~~ wap/wsp_strings.c:121:44: note: expanded from macro 'VASSIGN' #define VASSIGN(version, string, number) { string, number, version }, ^~~~~~ wap/wsp_strings.c:118:63: notewap/wtp_pdu.c:447:17: warning: initializing 'unsigned char *' with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] : expanded from macro 'NUMBERED' unsigned char *dbg = "wap.wtp"; ^ ~~~~~~~~~ static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:291:18: warning: initializing 'unsigned char *' with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign] VASSIGN(WSP_1_1, "type", 3) ^~~~~~ In file included from wap/wtp_pdu.c:470: wap/wtp_pdu.def:57:1: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] wap/wsp_strings.c:121:44: note: expanded from macro 'VASSIGN' PDU(Invoke, "...", ^~~~~~~~~~~~~~~~~~ #define VASSIGN(version, string, number) { string, number, version }, ^~~~~~ wap/wtp_pdu.c:453:9: note: expanded from macro 'PDU' wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' debug(dbg, 0, "%*sWTP %s PDU at %p:", \ ^~~ static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ ./gwlib/log.h:114:24: note: passing argument to parameter here In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:292:18: warning: initializing 'unsigned char *' with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign] void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); VASSIGN(WSP_1_1, "name", 5) ^~~~~~ ^ wap/wsp_strings.c:121:44: note: expanded from macro 'VASSIGN' In file included from wap/wtp_pdu.c:470#define VASSIGN(version, string, number) { string, number, version }, ^~~~~~ : wap/wtp_pdu.def:58:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' UINT(con, "Continue flag (CON)", 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ wap/wtp_pdu.c:458:8: note: In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:293:18: warning: initializing 'unsigned char *' with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] expanded from macro 'UINT' VASSIGN(WSP_1_1, "filename", 6) ^~~~~~~~~~ debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~ wap/wsp_strings.c:121:44: note: expanded from macro 'VASSIGN' wap/wtp_pdu.c:455:#define VASSIGN(version, string, number) { string, number, version }, ^~~~~~ 3: note: expanded from macro 'PDU' wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' fields \ ^~~~~~ static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ ./gwlib/log.h:114:24: note: passing argument to parameter here In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:294:18: warning: initializing 'unsigned char *' with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ VASSIGN(WSP_1_1, "differences", 7) ^~~~~~~~~~~~~ wap/wsp_strings.c:121:44: In file included from wap/wtp_pdu.c:470: wap/wtp_pdu.def:60:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] note: expanded from macro 'VASSIGN' UINT(gtr, "Group trailer (GTR)", 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #define VASSIGN(version, string, number) { string, number, version },wap/wtp_pdu.c:458:8: note: expanded from macro 'UINT' ^~~~~~ debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' wap/wtp_pdu.c:455:3: note: expanded from macro 'PDU' fields \ ^~~~~~ ./gwlib/log.h:114:24: note: passing argument to parameter here static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ In file included from wap/wsp_strings.c:122: In file included from wap/wtp_pdu.c:470: wap/wtp_pdu.def:61:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] wap/wsp_strings.def:295:18: warning: initializing 'unsigned char *' with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] UINT(ttr, "Transmission trailer (TTR)", 1) VASSIGN(WSP_1_1, "padding", 8) ^~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:121:44: note: expanded from macro 'VASSIGN' wap/wtp_pdu.c:458:#define VASSIGN(version, string, number) { string, number, version }, ^~~~~~ 8: note: expanded from macro 'UINT' wap/wsp_strings.c: debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~ 118wap/wtp_pdu.c:455:3: note: :expanded from macro 'PDU' fields \ ^~~~~~63 3 warnings generated. ./gwlib/log.h:114:24: note: passing argument to parameter here : note: expanded from macro 'NUMBERED' void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:296:18: warning: initializing 'unsigned char *' with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign] VASSIGN(WSP_1_2, "type", 9) In file included from wap/wtp_pdu.c:470: wap/wtp_pdu.def:62:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ^~~~~~ UINT(rid, "Re-transmission indicator (RID)", 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.cwap/wtp_pdu.c:458:8: note: expanded from macro 'UINT' :121:44: note: expanded from macro 'VASSIGN' debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~ #define VASSIGN(version, string, number) { string, number, version }, ^~~~~~ wap/wtp_pdu.c:455:3: note: expanded from macro 'PDU' wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' fields \ ^~~~~~ ./gwlib/log.h:114:24: note: passing argument to parameter here static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:297:18: warning: initializing 'unsigned char *' with an expression of type 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] VASSIGN(WSP_1_2, "start", 10) ^~~~~~~ wap/wsp_strings.c:121:44: note: expanded from macro 'VASSIGN' In file included from #define VASSIGN(version, string, number) { string, number, version }, ^~~~~~ wap/wtp_pdu.cwap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' :470: wap/wtp_pdu.def:63:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ UINT(tid, "Transaction ID (TID)", 16) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:298:18: warning: initializing 'unsigned char *' with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] wap/wtp_pdu.c:458:8: note: expanded from macro 'UINT' VASSIGN(WSP_1_2, "start-info", 11) ^~~~~~~~~~~~ debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~ wap/wsp_strings.c:121:44: note: expanded from macro 'VASSIGN' wap/wtp_pdu.c:455:3: note: expanded from macro 'PDU' #define VASSIGN(version, string, number) { string, number, version }, ^~~~~~ fields \ ^~~~~~ ./gwlib/log.h:114:24: note: passing argument to parameter here wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:299In file included from wap/wtp_pdu.c:470: wap/wtp_pdu.def:64:2: warning: :18: warning: initializing 'unsigned char *' with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] VASSIGN(WSP_1_3, "comment", 12) UINT(version, "WTP protocol version", 2) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~ wap/wtp_pdu.c:458:8: note: expanded from macro 'UINT' clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wap/wsp_push_client.o -c wap/wsp_push_client.c wap/wsp_strings.c debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~ :121:44wap/wtp_pdu.c:455:3: note: expanded from macro 'PDU' fields \ ^~~~~~ ./gwlib/log.h:114:24: note: passing argument to parameter here void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ In file included from wap/wtp_pdu.c:470: wap/wtp_pdu.def:65:2: warning: : notepassing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] : expanded from macro 'VASSIGN' UINT(tidnew, "TIDnew flag", 1)#define VASSIGN(version, string, number) { string, number, version }, ^~~~~~ clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o wap/wsp.o -c wap/wsp.c ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:300:18: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] VASSIGN(WSP_1_3, "domain", 13) ^~~~~~~~ wap/wtp_pdu.cwap/wsp_strings.c:121:44: note: expanded from macro 'VASSIGN' :458#define VASSIGN(version, string, number) { string, number, version }, ^~~~~~ :8: note: expanded from macro 'UINT' wap/wsp_strings.c:118: debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); 63 ^~~ : note: wap/wtp_pdu.c:455:3: note: expanded from macro 'PDU' expanded from macro 'NUMBERED' fields \ ^~~~~~ static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ ./gwlib/log.h:114:24: note: passing argument to parameter here void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ In file included from wap/wtp_pdu.c:470: wap/wtp_pdu.def:66:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] UINT(uack, "User ack flag", 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wtp_pdu.c:458:8: note: expanded from macro 'UINT' debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~ In file included from wap/wtp_pdu.c:455:3: note: expanded from macro 'PDU' wap/wsp_strings.c:122: wap/wsp_strings.def:301:18: warning: initializing 'unsigned char *' with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] fields \ ^~~~~~ VASSIGN(WSP_1_3, "max-age", 14) ^~~~~~~~~./gwlib/log.hclang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o radius/radius_acct.o -c radius/radius_acct.c :114:24: note: passing argument to parameter here void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ wap/wsp_strings.c:121:44: note: expanded from macro 'VASSIGN' In file included from wap/wtp_pdu.c:470: wap/wtp_pdu.def:68:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] UINT(class, "Transaction class (TCL)", 2) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wtp_pdu.c:458:8: note: expanded from macro 'UINT' debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~ wap/wtp_pdu.c#define VASSIGN(version, string, number) { string, number, version }, ^~~~~~ :wap/wsp_strings.c455:3: note: expanded from macro 'PDU' :118:63: note: expanded from macro 'NUMBERED' fields \ ^~~~~~ static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ ./gwlib/log.h:114:24:In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:302:18: warning: initializing 'unsigned char *' with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign] noteVASSIGN(WSP_1_3, "path", 15) ^~~~~~ : passing argument to parameter here wap/wsp_strings.c:121:44void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ : note: expanded from macro 'VASSIGN' #define VASSIGN(version, string, number) { string, number, version }, ^~~~~~ In file included from wap/wtp_pdu.c:470: wap/wtp_pdu.def:70:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:303:18: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] REST(user_data, "Payload") ^~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wtp_pdu.c:465:8VASSIGN(WSP_1_3, "secure", 16) ^~~~~~~~ :wap/wsp_strings.c:121:44: note: expanded from macro 'VASSIGN' note: expanded from macro 'REST' #define VASSIGN(version, string, number) { string, number, version }, ^~~~~~ debug(dbg, 0, "%*s %s:", level, "", docstring); \ ^~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' wap/wtp_pdu.c:455:3: static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ note: expanded from macro 'PDU' In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:304:18: warning: initializing 'unsigned char *' with an expression of type 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] fields \ ^~~~~~ VASSIGN(WSP_1_4, "sec", 17) ^~~~~ ./gwlib/log.hwap/wsp_strings.c:121::44: note: expanded from macro 'VASSIGN' 114:24: note: passing argument to parameter here #define VASSIGN(version, string, number) { string, number, version }, ^~~~~~void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:305:18: warning: initializing 'unsigned char *' with an expression of type 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] In file included from wap/wtp_pdu.c:470: wap/wtp_pdu.def:73:1: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] VASSIGN(WSP_1_4, "mac", 18)PDU(Result, "...", ^~~~~~~~~~~~~~~~~~ ^~~~~ wap/wtp_pdu.c:453:9: note: expanded from macro 'PDU' debug(dbg, 0, "%*sWTP %s PDU at %p:", \ wap/wsp_strings.c:121:44: note: expanded from macro 'VASSIGN' #define VASSIGN(version, string, number) { string, number, version }, ^~~~~~ ^~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' ./gwlib/log.h:114:24: note: passing argument to parameter here static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4);In file included from wap/wsp_strings.c:122 : wap/wsp_strings.def:306:18: warning: initializing 'unsigned char *' with an expression of type 'char [14]' converts between pointers to integer types with different sign [-Wpointer-sign] ^ VASSIGN(WSP_1_4, "creation-date", 19) ^~~~~~~~~~~~~~~ wap/wsp_strings.c:121:44: note: expanded from macro 'VASSIGN' In file included from wap/wtp_pdu.c:470: wap/wtp_pdu.def:74:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] #define VASSIGN(version, string, number) { string, number, version }, UINT(con, "Continue flag (CON)", 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~wap/wtp_pdu.c:458:8: note : expanded from macro 'UINT' debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field);wap/wsp_strings.c ^~~ :118:63: note: expanded from macro 'NUMBERED' wap/wtp_pdu.c:455:3 static const struct numbered_element name##_strings[] = { strings }; \ : ^~~~~~~ note: expanded from macro 'PDU' fields \ In file included from wap/wsp_strings.c: ^~~~~~ ./gwlib/log.h:114:24: note: passing argument to parameter here 122: wap/wsp_strings.def:307:18void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ : warning: initializing 'unsigned char *' with an expression of type 'char [18]' converts between pointers to integer types with different sign [-Wpointer-sign] VASSIGN(WSP_1_4, "modification-date", 20) ^~~~~~~~~~~~~~~~~~~ In file included from wap/wtp_pdu.c:470: wap/wtp_pdu.def:wap/wsp_strings.c:121:4476:2: note: expanded from macro 'VASSIGN' :#define VASSIGN(version, string, number) { string, number, version }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ warningIn file included from wap/wsp_strings.c:122: wap/wsp_strings.def:308:18: warning: initializing 'unsigned char *' with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] : passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] VASSIGN(WSP_1_4, "read-date", 21) ^~~~~~~~~~~ wap/wsp_strings.c:121:44: note: expanded from macro 'VASSIGN' UINT(gtr, "Group trailer (GTR)", 1)#define VASSIGN(version, string, number) { string, number, version }, ^~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:118:63:wap/wtp_pdu.c:458:8 note: expanded from macro 'NUMBERED' : note: static const struct numbered_element name##_strings[] = { strings }; \expanded from macro 'UINT' ^~~~~~~ debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~ wap/wtp_pdu.c:455:3: note: expanded from macro 'PDU' In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:309:18: warning: initializing 'unsigned char *' with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign] VASSIGN(WSP_1_4, "size", 22) ^~~~~~ fields \ ^~~~~~ wap/wsp_strings.c:./gwlib/log.h:114:24: note: 121:44: note: expanded from macro 'VASSIGN' passing argument to parameter here #define VASSIGN(version, string, number) { string, number, version }, ^~~~~~ void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED'In file included from wap/wtp_pdu.c:470 : wap/wtp_pdu.def:77:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ UINT(ttr, "Transmission trailer (TTR)", 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from wap/wtp_pdu.c:458:8: note: expanded from macro 'UINT'wap/wsp_strings.c:122: wap/wsp_strings.def:310:18: warning: initializing 'unsigned char *' with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign] VASSIGN(WSP_1_4, "name", 23) ^~~~~~ wap/wsp_strings.c:121:44: note: expanded from macro 'VASSIGN' debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~ wap/wtp_pdu.c:455#define VASSIGN(version, string, number) { string, number, version }, ^~~~~~ :3: note: wap/wsp_strings.c:118:63expanded from macro 'PDU' : fields \ ^~~~~~ note: expanded from macro 'NUMBERED' ./gwlib/log.h:114:24: note: passing argument to parameter here static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:311:18: warning: initializing 'unsigned char *' with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] In file included from wap/wtp_pdu.c:470: wap/wtp_pdu.def:78:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] VASSIGN(WSP_1_4, "filename", 24) ^~~~~~~~~~ UINT(rid, "Re-transmission indicator (RID)", 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:121:44: note: expanded from macro 'VASSIGN' wap/wtp_pdu.c:458:8: note: expanded from macro 'UINT' #define VASSIGN(version, string, number) { string, number, version }, ^~~~~~ debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' wap/wtp_pdu.c:455:3: note: expanded from macro 'PDU' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ fields \ ^~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:312:18: warning: initializing 'unsigned char *' with an expression of type 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ./gwlib/log.h:114:24: note: passing argument to parameter here VASSIGN(WSP_1_4, "start", 25) ^~~~~~~ void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4);wap/wsp_strings.c:121:44: note: expanded from macro 'VASSIGN' ^ #define VASSIGN(version, string, number) { string, number, version }, ^~~~~~ wap/wsp_strings.c:118:In file included from wap/wtp_pdu.c:470: wap/wtp_pdu.def63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ :79:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:313:18: warning: initializing 'unsigned char *' with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] UINT(tid, "Transaction ID (TID)", 16) VASSIGN(WSP_1_4, "start-info", 26) ^~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.cwap/wtp_pdu.c:121:44:: note: expanded from macro 'VASSIGN' 458:#define VASSIGN(version, string, number) { string, number, version }, ^~~~~~ 8: note: expanded from macro 'UINT' wap/wsp_unit.cwap/wsp_strings.c:118:63: note: :expanded from macro 'NUMBERED'281:31: debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~ warning: wap/wtp_pdu.c static const struct numbered_element name##_strings[] = { strings }; \: ^~~~~~~ 455:3: note: expanded from macro 'PDU' passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:314:18: warning: initializing 'unsigned char *' with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] VASSIGN(WSP_1_4, "comment", 27) ^~~~~~~~~ wap/wsp_strings.c:121:44: note: expanded from macro 'VASSIGN' octstr_insert_data(ospdu, 0, &tid, 1); ^~~~ fields \ ^~~~~~ #define VASSIGN(version, string, number) { string, number, version },./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);wap/wsp_strings.c:118:63: note ^ : expanded from macro 'NUMBERED' ./gwlib/log.h:114:24: note: passing argument to parameter here static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:315:18: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] In file included from wap/wtp_pdu.c:470: wap/wtp_pdu.def:81:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] VASSIGN(WSP_1_4, "domain", 28) REST(user_data, "Payload") ^~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_unit.cwap/wtp_pdu.c:465:8: note: expanded from macro 'REST' :318:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] debug(dbg, 0, "%*s %s:", level, "", docstring); \ ^~~ ^~~~~~~~ octstr_insert_data(ospdu, 0, &push_id, 1); ^~~~~~~~ wap/wsp_strings.c:121:44: note: expanded from macro 'VASSIGN' wap/wtp_pdu.c:455:3: note: expanded from macro 'PDU' ./gwlib/octstr.h:424:61: note: passing argument to parameter 'data' here #define VASSIGN(version, string, number) { string, number, version }, ^~~~~~ fields \ ^~~~~~ void octstr_insert_data(Octstr *ostr, long pos, const char *data, long len); ./gwlib/log.h:114:24: note: passing argument to parameter here ^ wap/wsp_strings.c:118:63: notevoid debug(const char *, int, const char *, ...) PRINTFLIKE(3,4);: expanded from macro 'NUMBERED' ^ static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:316:18: warning: initializing 'unsigned char *' with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign]In file included from wap/wtp_pdu.c:470: wap/wtp_pdu.def:84:1: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] PDU(Ack, "...", ^~~~~~~~~~~~~~~ VASSIGN(WSP_1_4, "path", 29) ^~~~~~ wap/wtp_pdu.c:453:9: note: expanded from macro 'PDU' wap/wsp_strings.c debug(dbg, 0, "%*sWTP %s PDU at %p:", \:121:44: note: expanded from macro 'VASSIGN' ^~~ #define VASSIGN(version, string, number) { string, number, version }, ^~~~~~ ./gwlib/log.h:114:24: note: passing argument to parameter here wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wtp_pdu.c:470: wap/wtp_pdu.def:85:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] UINT(con, "Continue flag (CON)", 1)In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:321:8: warning: initializing 'unsigned char *' with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign] STRING("gzip") ^~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.cwap/wtp_pdu.c:458:8: note: expanded from macro 'UINT' :115: debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~ 26: note: expanded from macro 'STRING' wap/wtp_pdu.c:455:3: note: expanded from macro 'PDU' #define STRING(string) { string, 0 }, ^~~~~~ fields \ ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' ./gwlib/log.h:114:24: note: passing argument to parameter here static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:322:8: warning: initializing 'unsigned char *' with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] In file included from wap/wtp_pdu.c:470: wap/wtp_pdu.def:87:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] STRING("compress") ^~~~~~~~~~ UINT(tidverify, "TID verify / TID OK flag", 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:115:26: note: expanded from macro 'STRING' wap/wtp_pdu.c:#define STRING(string) { string, 0 }, ^~~~~~ 458:8: note: expanded from macro 'UINT' wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~ static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ wap/wtp_pdu.c:455:3: note: expanded from macro 'PDU' In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:323:8: warning: initializing 'unsigned char *' with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] fields \ ^~~~~~ STRING("deflate") ^~~~~~~~~ ./gwlib/log.h:114:24: note: passing argument to parameter here wap/wsp_strings.c:115:26: note: expanded from macro 'STRING' void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ #define STRING(string) { string, 0 }, ^~~~~~ wap/wsp_strings.c:113:61In file included from wap/wtp_pdu.c:470: wap/wtp_pdu.def:89:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] : note: expanded from macro 'LINEAR' UINT(rid, "Re-transmission indicator (RID)", 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ wap/wtp_pdu.c:458:8: note: In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:328:8: warning: initializing 'unsigned char *' with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign] expanded from macro 'UINT'STRING("none") ^~~~~~ debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~ wap/wsp_strings.c:115:26: note: expanded from macro 'STRING' wap/wtp_pdu.c:#define STRING(string) { string, 0 }, ^~~~~~ 455:3: note: expanded from macro 'PDU' wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' fields \ ^~~~~~ static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ ./gwlib/log.h:114:24: note: passing argument to parameter here In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:329:8: warning: initializing 'unsigned char *' with an expression of type 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ STRING("bytes") ^~~~~~~ wap/wsp_strings.c:115:26: note: expanded from macro 'STRING' In file included from wap/wtp_pdu.c:470: wap/wtp_pdu.def:90:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] #define STRING(string) { string, 0 }, ^~~~~~ UINT(tid, "Transaction ID (TID)", 16)wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ wap/wtp_pdu.c:458:8: note: expanded from macro 'UINT' debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:334:9: warning: initializing 'unsigned char *' with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] wap/wtp_pdu.c:455:3: note: expanded from macro 'PDU' NSTRING("no-cache", WSP_CACHE_CONTROL_NO_CACHE) ^~~~~~~~~~ fields \ wap/wsp_strings.def:wap/wsp_pdu.c ^~~~~~:325:17: warning: initializing 'unsigned char *' with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] 94:38: note: expanded from macro 'NSTRING' unsigned char *dbg = "wap.wsp";./gwlib/log.h:114:24: note: passing argument to parameter here void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ ^ ~~~~~~~~~ #define NSTRING(string, name) STRING(string) ^~~~~~ wap/wsp_strings.c:115:26: note: expanded from macro 'STRING' In file included from wap/wtp_pdu.c:470: wap/wtp_pdu.def:94:1: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] #define STRING(string) { string, 0 }, ^~~~~~ In file included from wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' wap/wsp_pdu.c:347: wap/wsp_pdu.def:57:1: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] static const struct linear_element name##_strings[] = { strings }; \PDU(Connect, "...", ^~~~~~~~~~~~~~~~~~~ ^~~~~~~ PDU(Abort, "...", ^~~~~~~~~~~~~~~~~ wap/wsp_pdu.c:331:9: note: expanded from macro 'PDU' In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:335:9: warning: initializing 'unsigned char *' with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] wap/wtp_pdu.c:453:9: note: expanded from macro 'PDU' debug(dbg, 0, "%*sWSP %s PDU at %p:", \ ^~~ debug(dbg, 0, "%*sWTP %s PDU at %p:", \./gwlib/log.h:114:24: noteNSTRING("no-store", WSP_CACHE_CONTROL_NO_STORE) ^~~~~~~~~~ ^~~ : wap/wsp_strings.def./gwlib/log.h:114:24: note: passing argument to parameter here :wap/wsp_headers.c94:38: note: expanded from macro 'NSTRING' :1002:42: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] #define NSTRING(string, name) STRING(string) ^~~~~~ octstr_insert_data(warn_text, 0, "e, 1); ^~~~~~ wap/wsp_strings.c:115:26./gwlib/octstr.h:424:61: note: passing argument to parameter 'data' here : note: expanded from macro 'STRING' void octstr_insert_data(Octstr *ostr, long pos, const char *data, long len);#define STRING(string) { string, 0 }, ^~~~~~ void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ ^ passing argument to parameter herewap/wsp_strings.c:113:61: In file included from wap/wtp_pdu.c:void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ 470: wap/wtp_pdu.def:95:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] wap/wsp_headers.c:1128:20: warning: In file included from assigning to 'unsigned char *' from 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign]wap/wsp_pdu.c : UINT(con, "Continue flag (CON)", 1) 3472: warning ch = "no-cache";wap/wsp_pdu.def : ^ ~~~~~~~~~~59:2 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~note : expanded from macro 'LINEAR's generated. : warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] wap/wtp_pdu.c:458:8: wap/wsp_headers.c:1293:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] UINT(version, "WSP protocol version", 8) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_pdu.c ch = octstr_get_cstr(decoded); ^ ~~~~~~~~~~~~~~~~~~~~~~~~ static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ :336:8: note: expanded from macro 'UINT' In file included from wap/wsp_strings.c: debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~ 122: wap/wsp_strings.def:336:9: warning: initializing 'unsigned char *' with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] note: expanded from macro 'UINT' wap/wsp_headers.c:1302:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field);NSTRING("max-age", WSP_CACHE_CONTROL_MAX_AGE)wap/wsp_pdu.c:333 http_header_add(unpacked, headername, ch); ^~~ :3: note: expanded from macro 'PDU' ^~~~~~~~~ ^~~~~~~~~~ wap/wtp_pdu.c:455:3: note: expanded from macro 'PDU' ./gwlib/http.h:465:43wap/wsp_strings.def:94: fields \38: note: expanded from macro 'NSTRING' fields \ #define NSTRING(string, name) STRING(string) ^~~~~~ ^~~~~~ :wap/wsp_strings.c ./gwlib/log.h:clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o radius/radius_pdu.o -c radius/radius_pdu.c 115:26: note: :114:24: note: passing argument to parameter here expanded from macro 'STRING' note: passing argument to parameter 'name' here #define STRING(string) { string, 0 }, ^~~~~~void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^~~~~~ void http_header_add(List *headers, char *name, char *contents); ^ ^ wap/wsp_strings.c:113:61:In file included from wap/wtp_pdu.c:470: wap/wtp_pdu.def:97:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] note: expanded from macro 'LINEAR' ./gwlib/log.h:114: UINT(abort_type, "Abort type", 3) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 24: note: passing argument to parameter here static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ wap/wsp_headers.c:1302:43: warning: In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:337:9:passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]wap/wtp_pdu.c:458:8: note: expanded from macro 'UINT' void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); warning: initializing 'unsigned char *' with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] ^~~ NSTRING("max-stale", WSP_CACHE_CONTROL_MAX_STALE) wap/wtp_pdu.c:455:3:In file included from wap/wsp_pdu.c:347: wap/wsp_pdu.def:60:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] note: expanded from macro 'PDU' http_header_add(unpacked, headername, ch); ^~ ./gwlib/http.h:465: ^~~~~~~~~~~55: fields \ note ^~~~~~ ./gwlib/log.h UINTVAR(capabilities_len, "Length of capabilities")wap/wsp_strings.def : ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~94:38::In file included from : passing argument to parameter 'contents' here void http_header_add(List *headers, char *name, char *contents); ^ note: expanded from macro 'NSTRING' wap/wsp_push_client.cwap/wsp_pdu.c:338:8114: :note: expanded from macro 'UINTVAR'24 #define NSTRING(string, name) STRING(string) debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field);: ^~~ wap/wsp_pdu.c :333: : ^~~~~~211: wap/wsp_push_client_states.def: 66:1:note warning: 3returning 'char [23]' from a function with result type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] : passing argument to parameter herePUSH_CLIENT_STATE_NAME(PUSH_CLIENT_NULL_STATE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ wap/wsp_strings.c:In file included from wap/wtp_pdu.c:470: wap/wtp_pdu.def:98note115:26: note: expanded from macro 'STRING' :2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] wap/wsp_push_client.c: UINT(tid, "Transaction ID (TID)", 16) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 209wap/wtp_pdu.c:458:8: note: expanded from macro 'UINT' :63: note: expanded from macro 'PUSH_CLIENT_STATE_NAME' debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~ #define STRING(string) { string, 0 }, ^~~~~~ #define PUSH_CLIENT_STATE_NAME(state) case state : return #state;wap/wsp_strings.cwap/wtp_pdu.c:455:3: note: expanded from macro 'PDU' : expanded from macro 'PDU' : fields \ ^~~~~~ 113:61: note: expanded from macro 'LINEAR' ^~~~~~ fields \:57:1: note: expanded from here ^~~~~~ ./gwlib/log.h:114:24: note: passing argument to parameter here static const struct linear_element name##_strings[] = { strings }; \./gwlib/log.h:114: "PUSH_CLIENT_NULL_STATE" ^~~~~~~wap/wsp_headers.c24: ^~~~~~~~~~~~~~~~~~~~~~~~1784In file included from wap/wsp_strings.c:122: wap/wsp_strings.defvoid debug(const char *, int, const char *, ...) PRINTFLIKE(3,4);:44 ^:338 : :: In file included from warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]wap/wsp_pdu.cnote9: ::passing argument to parameter here In file included from 347 wap/wsp_push_client.c : octstr_insert_data(packed, oldlen, &octet, 1);warningvoid debug(const char *, int, const char *, ...) PRINTFLIKE(3,4);: :211initializing 'unsigned char *' with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] wap/wsp_pdu.def : NSTRING("min-fresh", WSP_CACHE_CONTROL_MIN_FRESH) ^~~~~~:wap/wsp_push_client_states.def: 67:1:61 ^~~~~~~~~~~ warning: returning 'char [22]' from a function with result type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ./gwlib/octstr.h ^PUSH_CLIENT_STATE_NAME(PUSH_CLIENT_RECEIVING) wap/wsp_strings.def:2: :94warning: :38::^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]wap/wsp_push_client.c note424:: In file included from UINTVAR(headers_len, "Length of session headers")61 : ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~wap/wtp_pdu.c:470 expanded from macro 'NSTRING'209 :: wap/wsp_pdu.c note: passing argument to parameter 'data' herewap/wtp_pdu.def ::void octstr_insert_data(Octstr *ostr, long pos, const char *data, long len);63 ^ 99#define NSTRING(string, name) STRING(string)wap/wsp_headers.c::338: ^~~~~~ :wap/wsp_strings.c8: : note1788:2:note:40 :warning115: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] : UINT(abort_reason, "Abort reason", 8)expanded from macro 'UINTVAR' ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~:26:: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); wap/wtp_pdu.c:458:8: note note: ^~~ octstr_insert_data(packed, oldlen, &octet, 1); ^~~~~~ expanded from macro 'PUSH_CLIENT_STATE_NAME': expanded from macro 'UINT'expanded from macro 'STRING' ./gwlib/octstr.h:424: #define PUSH_CLIENT_STATE_NAME(state) case state : return #state; debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~ wap/wtp_pdu.c:455wap/wsp_pdu.c#define STRING(string) { string, 0 }, ^~~~~~ :61: note ^~~~~~: passing argument to parameter 'data' here:wap/wsp_strings.c333:58: :113:3void octstr_insert_data(Octstr *ostr, long pos, const char *data, long len);: ^note :: expanded from macro 'PDU' 3 fields \ ^~~~~~ : note: expanded from macro 'PDU' 1: note: expanded from here ./gwlib/log.h:11461 fields \"PUSH_CLIENT_RECEIVING": ^~~~~~ : 24note./gwlib/log.h: :114^~~~~~~~~~~~~~~~~~~~~~~:24: note: passing argument to parameter here : note: passing argument to parameter hereexpanded from macro 'LINEAR' void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ ^ In file included from wap/wsp_pdu.c:347: wap/wsp_pdu.def:62:2: warningIn file included from : wap/wsp_strings.c:122: wap/wsp_strings.def:339:9: warning: initializing 'unsigned char *' with an expression of type 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign] wap/wsp_push_client.c:213In file included from wap/wtp_pdu.c:16NSTRING("only-if-cached", WSP_CACHE_CONTROL_ONLY_IF_CACHED):470: wap/wtp_pdu.def:103:1: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] : warning: returning 'char [14]' from a function with result type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] PDU(Segmented_invoke, "...", return "unknown state"; ^~~~~~~~~~~~~~~ passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~ OCTSTR(capabilities, "Requested capabilities", capabilities_len) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wtp_pdu.c:453:9: note: expanded from macro 'PDU' wap/wsp_pdu.c:340:8: note: expanded from macro 'OCTSTR' debug(dbg, 0, "%*sWTP %s PDU at %p:", \ ^~~ wap/wsp_strings.def:94:38: note: expanded from macro 'NSTRING' debug(dbg, 0, "%*s %s:", level, "", docstring); \ #define NSTRING(string, name) STRING(string) ^~~~~~ ^~~wap/wsp_strings.c:115:26: note: expanded from macro 'STRING' ./gwlib/log.h:114:24: note: passing argument to parameter here #define STRING(string) { string, 0 }, ^~~~~~ wap/wsp_pdu.c:333:3: note: expanded from macro 'PDU' wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ fields \ ^~~~~~ In file included from wap/wtp_pdu.c:470: wap/wtp_pdu.def:104:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ./gwlib/log.h: UINT(con, "Continue flag (CON)", 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 114wap/wtp_pdu.c:458:8: note: expanded from macro 'UINT' :24: In file included from note: passing argument to parameter here debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~ wap/wsp_strings.c:122: wap/wsp_strings.def:340:9: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^NSTRING("public", WSP_CACHE_CONTROL_PUBLIC) ^~~~~~~~ wap/wtp_pdu.c:455:3: note: expanded from macro 'PDU' wap/wsp_strings.def fields \ ^~~~~~ :94:38: note: expanded from macro 'NSTRING' In file included from wap/wsp_pdu.c:347: wap/wsp_pdu.def:63:2: #define NSTRING(string, name) STRING(string)warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ./gwlib/log.h ^~~~~~ OCTSTR(headers, "Session headers", headers_len) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_pdu.c:340:wap/wsp_strings.c8:114:24: note: passing argument to parameter here : notevoid debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ : expanded from macro 'OCTSTR' :115:26: note: expanded from macro 'STRING' debug(dbg, 0, "%*s %s:", level, "", docstring); \In file included from #define STRING(string) { string, 0 }, ^~~~~~ wap/wtp_pdu.c:470: wap/wtp_pdu.def:106:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ^~~ UINT(gtr, "Group trailer (GTR)", 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.cwap/wtp_pdu.c:458:8: note: expanded from macro 'UINT' :113: debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~radius/radius_acct.c:380:26 : warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers to integer types with different sign [-Wpointer-sign] 61: note: expanded from macro 'LINEAR' wap/wsp_pdu.c:333 static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ :3: note: expanded from macro 'PDU' In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:341:9: warning: initializing 'unsigned char *' with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] if ((cfg_get_integer(&nas_ports, grp, octstr_imm("nas-ports"))) == -1) { ^~~~~~~~~~ wap/wtp_pdu.c:455 fields \ ^~~~~~ ./gwlib/cfg.hNSTRING("private", WSP_CACHE_CONTROL_PRIVATE) ^~~~~~~~~ :3: note: expanded from macro 'PDU' : fields \ ^~~~~~ wap/wsp_strings.def:94:38: note: expanded from macro 'NSTRING' 86:#define NSTRING(string, name) STRING(string) ^~~~~~ 27: note: passing argument to parameter 'n' here ./gwlib/log.h:114:24: note: passing argument to parameter here wap/wsp_strings.c./gwlib/log.h:114:24: note: passing argument to parameter here int cfg_get_integer(long *n, CfgGroup *grp, Octstr *varname); ^ void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ :115:26: note: expanded from macro 'STRING' void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); #define STRING(string) { string, 0 }, ^~~~~~ ^ wap/wsp_strings.c:113:61:In file included from wap/wsp_pdu.c:347: wap/wsp_pdu.def:66:1: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] In file included from wap/wtp_pdu.cPDU(ConnectReply, "...", ^~~~~~~~~~~~~~~~~~~~~~~~ :470: wap/wtp_pdu.def:107:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]wap/wsp_pdu.c note: expanded from macro 'LINEAR' UINT(ttr, "Transmission trailer (TTR)", 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static const struct linear_element name##_strings[] = { strings }; \wap/wtp_pdu.c:458:8: note: expanded from macro 'UINT' ^~~~~~~ :331:9 debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:342:9: warning: initializing 'unsigned char *' with an expression of type 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] : note: expanded from macro 'PDU' NSTRING("no-transform", WSP_CACHE_CONTROL_NO_TRANSFORM) ^~~~~~~~~~~~~~ clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gwlib/gwmem-check.o -c gwlib/gwmem-check.c wap/wtp_pdu.c:455:3: note: expanded from macro 'PDU' debug(dbg, 0, "%*sWSP %s PDU at %p:", \ fields \ ^~~~~~ ^~~ wap/wsp_strings.def:94:38: note: expanded from macro 'NSTRING' ./gwlib/log.h:114:24: note: passing argument to parameter here #define NSTRING(string, name) STRING(string) ^~~~~~void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ ./gwlib/log.h:114:24: notewap/wsp_strings.c:115:26: note: expanded from macro 'STRING' : passing argument to parameter here In file included from wap/wsp_pdu.c:347: wap/wsp_pdu.def:68:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ UINTVAR(sessionid, "Session ID") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #define STRING(string) { string, 0 },wap/wsp_pdu.c:338:8: note: expanded from macro 'UINTVAR' ^~~~~~ In file included from wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' wap/wtp_pdu.c:470: wap/wtp_pdu.def:108:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ UINT(rid, "Re-transmission indicator (RID)", 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); wap/wtp_pdu.c:458:8: note: expanded from macro 'UINT' ^~~ debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field);wap/wsp_pdu.c:333:3: note: expanded from macro 'PDU' ^~~ In file included from fields \wap/wtp_pdu.cwap/wsp_strings.c:122: wap/wsp_strings.def:343:9: warning: initializing 'unsigned char *' with an expression of type 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] ^~~~~~ :455:3: note: expanded from macro 'PDU' ./gwlib/log.h:114:24: note: passing argument to parameter here NSTRING("must-revalidate", WSP_CACHE_CONTROL_MUST_REVALIDATE) ^~~~~~~~~~~~~~~~~ fields \ wap/wsp_strings.def:94:38: note: expanded from macro 'NSTRING' ^~~~~~ #define NSTRING(string, name) STRING(string) ^~~~~~ void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ ./gwlib/log.h:114:24: note: passing argument to parameter here wap/wsp_strings.c:115void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ :26: noteIn file included from wap/wtp_pdu.c:470: wap/wtp_pdu.def:109:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] In file included from wap/wsp_pdu.c:347: wap/wsp_pdu.def:69:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] UINT(tid, "Transaction ID (TID)", 16) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ : wap/wtp_pdu.c:458:8: note: expanded from macro 'UINT' expanded from macro 'STRING' UINTVAR(capabilities_len, "Length of capabilities") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #define STRING(string) { string, 0 },wap/wsp_pdu.c:338:8: note: expanded from macro 'UINTVAR' ^~~~~~ debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~ wap/wsp_pdu.c:333:3: note: expanded from macro 'PDU' static const struct linear_element name##_strings[] = { strings }; \ wap/wtp_pdu.c:455:3: note: expanded from macro 'PDU' ^~~~~~~ fields \ ^~~~~~ fields \ ^~~~~~ In file included from wap/wsp_strings.c./gwlib/log.h./gwlib/log.h:114:24: note: passing argument to parameter here :122: wap/wsp_strings.def:344:9::114:24:void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ note: passing argument to parameter here In file included from wap/wsp_pdu.c:347: wap/wsp_pdu.def:70:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] warning: initializing 'unsigned char *' with an expression of type 'char [17]' converts between pointers to integer types with different sign [-Wpointer-sign] void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ UINTVAR(headers_len, "Length of session headers") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NSTRING("proxy-revalidate", WSP_CACHE_CONTROL_PROXY_REVALIDATE) ^~~~~~~~~~~~~~~~~~ In file included from wap/wtp_pdu.c:470: wap/wtp_pdu.def:wap/wsp_strings.def:94:38: note: expanded from macro 'NSTRING' 110:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] wap/wsp_pdu.c#define NSTRING(string, name) STRING(string):338:8: ^~~~~~ wap/wsp_strings.c UINT(psn, "Packet sequence number", 8):115:26: note: expanded from macro 'STRING' note: expanded from macro 'UINTVAR' ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~ wap/wtp_pdu.c:458:8: note: expanded from macro 'UINT' #define STRING(string) { string, 0 }, ^~~~~~ debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~ wap/wsp_pdu.cwap/wsp_strings.cwap/wtp_pdu.c:455:3: note: expanded from macro 'PDU' :113:61: note: expanded from macro 'LINEAR' :333: static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ 3: noteIn file included from wap/wsp_strings.c:122: wap/wsp_strings.def:345:9: warning: initializing 'unsigned char *' with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] fields \ ^~~~~~ NSTRING("s-maxage", WSP_CACHE_CONTROL_S_MAXAGE) ^~~~~~~~~~ : wap/wsp_strings.def:94:38: note: expanded from macro 'NSTRING' expanded from macro 'PDU' #define NSTRING(string, name) STRING(string) ^~~~~~ fields \ ^~~~~~ ./gwlib/log.h:114:24: note: passing argument to parameter here wap/wsp_strings.c:115:26: note: expanded from macro 'STRING' ./gwlib/log.h:114:24:#define STRING(string) { string, 0 },void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); note: passing argument to parameter here ^ ^~~~~~ void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ wap/wsp_strings.c:In file included from wap/wtp_pdu.c:470: wap/wtp_pdu.def:112:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] In file included from wap/wsp_pdu.c:347: wap/wsp_pdu.def:71:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] REST(user_data, "Payload") ^~~~~~~~~~~~~~~~~~~~~~~~~~ OCTSTR(capabilities, "Accepted capabilities", capabilities_len) 113:61 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~: note: expanded from macro 'LINEAR' wap/wtp_pdu.c:465 static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ :8: note: expanded from macro 'REST' debug(dbg, 0, "%*s %s:", level, "", docstring); \ ^~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:350:8: warning: initializing 'unsigned char *' with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] wap/wsp_pdu.cSTRING("form-data") ^~~~~~~~~~~ :340:8wap/wsp_strings.c:115wap/wtp_pdu.c::26: note: expanded from macro 'STRING' :455:3: note: expanded from macro 'PDU' #define STRING(string) { string, 0 }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' note: expanded from macro 'OCTSTR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ fields \ ^~~~~~ ./gwlib/log.h:114:In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:351:8: warning: initializing 'unsigned char *' with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] 24STRING("attachment"): debug(dbg, 0, "%*s %s:", level, "", docstring); \ ^~~note: passing argument to parameter here ^~~~~~~~~~~~ wap/wsp_strings.c:115:26:wap/wsp_pdu.c:333:3: note note: expanded from macro 'STRING' : expanded from macro 'PDU'#define STRING(string) { string, 0 }, void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^~~~~~ ^ wap/wsp_strings.c:113:61: fields \ note: expanded from macro 'LINEAR' ^~~~~~ static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ ./gwlib/log.h:114:24: note: passing argument to parameter here In file included from wap/wtp_pdu.c:470: wap/wtp_pdu.def:115:1: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ PDU(Segmented_result, "...", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wtp_pdu.c:453:9: note: expanded from macro 'PDU' In file included from wap/wsp_pdu.c:347: wap/wsp_pdu.def:72:2: debug(dbg, 0, "%*sWTP %s PDU at %p:", \ ^~~ warning: ./gwlib/log.h:114:24: note: passing argument to parameter here passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ OCTSTR(headers, "Session headers", headers_len) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:358wap/wsp_pdu.c:340:8: note: expanded from macro 'OCTSTR' :8: warning: initializing 'unsigned char *' with an expression of type 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign] debug(dbg, 0, "%*s %s:", level, "", docstring); \ ^~~ In file included from wap/wtp_pdu.c:470: wap/wtp_pdu.def:116:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("*", 0) /* Special any-language value */ ^~~ wap/wsp_pdu.c:333:3: note: expanded from macro 'PDU' UINT(con, "Continue flag (CON)", 1) fields \ ^~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' ./gwlib/log.h:114:24: note: passing argument to parameter here wap/wtp_pdu.c:458void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ :8: note: expanded from macro 'UINT' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~ wap/wtp_pdu.cIn file included from wap/wsp_pdu.c:347: wap/wsp_pdu.def:75wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' :: static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ 1: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] In file included from wap/wsp_strings.c:122PDU(Redirect, "Problem: need REPEAT structure to parse addresses", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ : wap/wsp_strings.def:359:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] 455:3: note: expanded from macro 'PDU' ASSIGN("aa", 0x01) /* Afar */ fields \ ^~~~~~ ^~~~ ./gwlib/log.hwap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' :114#define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ :24: note: passing argument to parameter here wap/wsp_pdu.c:331:9: note: expanded from macro 'PDU' wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); debug(dbg, 0, "%*sWSP %s PDU at %p:", \ ^~~ ^ static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ ./gwlib/log.h:114:24: note: passing argument to parameter here In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:360:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ In file included from wap/wtp_pdu.c:470: wap/wtp_pdu.def:118:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("ab", 0x02) /* Abkhazian */ ^~~~ In file included from wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' wap/wsp_pdu.c:347: wap/wsp_pdu.def:77:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] UINT(gtr, "Group trailer (GTR)", 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ UINT(permanent, "Permanent Redirect flag", 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_pdu.c:336:8:wap/wsp_strings.cwap/wtp_pdu.c:458:8: note: expanded from macro 'UINT' :118: debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~ 63: note: expanded from macro 'NUMBERED' note: expanded from macro 'UINT' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~ wap/wtp_pdu.cwap/wsp_pdu.c: 333:3In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:361:8: warning: note: : :455:1initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] warning generatedexpanded from macro 'PDU'3: note: expanded from macro 'PDU' ASSIGN("af", 0x03) /* Afrikaans */ ^~~~ . fields \ ^~~~~~ fields \wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' ./gwlib/log.h:114:24: note: passing argument to parameter here ^~~~~~ void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ ./gwlib/log.h:114:24: note: passing argument to parameter here wap/wsp_strings.c:118void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ :63: In file included from In file included from wap/wtp_pdu.c:470: wap/wtp_pdu.def:3 warnings generated119. :2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] note: expanded from macro 'NUMBERED' UINT(ttr, "Transmission trailer (TTR)", 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wtp_pdu.c:458:8: note: expanded from macro 'UINT' wap/wsp_pdu.c:347: wap/wsp_pdu.def:78:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ UINT(reuse_security, "Reuse Security Session flag", 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.defwap/wsp_pdu.c:336:8: note: expanded from macro 'UINT' :362:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ASSIGN("am", 0x04) /* Amharic */ ^~~~ ^~~wap/wsp_strings.c:120:34: note: wap/wtp_pdu.cexpanded from macro 'ASSIGN' :wap/wsp_pdu.c:333:3: note: expanded from macro 'PDU' 455:3:#define ASSIGN(string, number) { string, number, 0 }, fields \ ^~~~~~ note: clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gwlib/md5.o -c gwlib/md5.c expanded from macro 'PDU' wap/wsp_strings.c ^~~~~~ fields \ ^~~~~~ ./gwlib/log.h:114:24: note:118:63: note: expanded from macro 'NUMBERED' ./gwlib/log.h:114:24: : passing argument to parameter here static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:363:8: warning: clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gwlib/thread.o -c gwlib/thread.c initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] note: ASSIGN("ar", 0x05) /* Arabic */ ^~~~ passing argument to parameter herewap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' In file included from wap/wsp_pdu.c:347: wap/wsp_pdu.def:80:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] #define ASSIGN(string, number) { string, number, 0 }, REST(addresses, "Redirect addresses") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~ wap/wsp_pdu.c:343:8: note: void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^expanded from macro 'REST' wap/wsp_strings.c debug(dbg, 0, "%*s %s:", level, "", docstring); \ : ^~~ 118wap/wsp_pdu.c::333:3: note: expanded from macro 'PDU' 63: note: expanded from macro 'NUMBERED' fields \ ^~~~~~ In file included from wap/wtp_pdu.c:470: wap/wtp_pdu.def:120:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ ./gwlib/log.h:114:24: note: passing argument to parameter here UINT(rid, "Re-transmission indicator (RID)", 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from wap/wtp_pdu.c:458:8: note: expanded from macro 'UINT' wap/wsp_strings.cvoid debug(const char *, int, const char *, ...) PRINTFLIKE(3,4);:122 debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~ : wap/wsp_strings.def:364:8: ^ wap/wtp_pdu.cwarning: :455:3: note: expanded from macro 'PDU' initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] fields \ ^~~~~~ ASSIGN("as", 0x06) /* Assamese */ ^~~~ ./gwlib/log.hwap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' :114:24: note: passing argument to parameter here In file included from wap/wsp_pdu.c:void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ 347: wap/wsp_pdu.def:83:1In file included from wap/wtp_pdu.c:470: wap/wtp_pdu.def:121:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] : warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] UINT(tid, "Transaction ID (TID)", 16)PDU(Disconnect, "...", ^~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~wap/wtp_pdu.c:458:8: note: expanded from macro 'UINT' wap/wsp_pdu.c:331:9 : note: wap/wsp_strings.c:118 debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~ :63: note: expanded from macro 'NUMBERED' expanded from macro 'PDU' wap/wtp_pdu.c: debug(dbg, 0, "%*sWSP %s PDU at %p:", \ ^~~ 455:3: note: expanded from macro 'PDU' static const struct numbered_element name##_strings[] = { strings }; \ fields \ ^~~~~~ ^~~~~~~ ./gwlib/log.h:114./gwlib/log.h:114:24: note: passing argument to parameter here :24: notevoid debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ : passing argument to parameter here In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:365:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] In file included from wap/wsp_pdu.c:347: wap/wsp_pdu.def:85:2: warningASSIGN("ay", 0x07) /* Aymara */: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ^~~~ void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4);wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' ^ #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ UINTVAR(sessionid, "Session ID") wap/wsp_strings.c:118:63In file included from : note: expanded from macro 'NUMBERED' ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ wap/wtp_pdu.cIn file included from :470wap/wsp_pdu.cwap/wsp_strings.c:338::122: 8: wap/wtp_pdu.defnote: :wap/wsp_strings.def122:2::: warning: expanded from macro 'UINTVAR' 366:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~ ASSIGN("az", 0x08) /* Azerbaijani */ UINT(psn, "Packet sequence number", 8) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~ wap/wtp_pdu.c:458:8: note: expanded from macro 'UINT' wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); wap/wsp_pdu.c: ^~~ #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wtp_pdu.cwap/wsp_strings.c333:118:63: note: expanded from macro 'NUMBERED' :455:3 static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ : note: expanded from macro 'PDU' fields \In file included from wap/wsp_strings.c:122: :wap/wsp_strings.def:367: 83: ^~~~~~ note: expanded from macro 'PDU' ./gwlib/log.h:114: fields \24 ^~~~~~:: note: passing argument to parameter here warning./gwlib/log.hvoid debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ :: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign]In file included from wap/wtp_pdu.c:470114: :ASSIGN("ba", 0x09) /* Bashkir */ ^~~~ wap/wtp_pdu.defwap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' :24#define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' 124: note: passing argument to parameter here :2:void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ REST(user_data, "Payload") ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:368:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] wap/wtp_pdu.c:ASSIGN("be", 0x0a) /* Byelorussian */ ^~~~465: In file included from wap/wsp_pdu.c:347: wap/wsp_pdu.def:88:1: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] 8: note: expanded from macro 'REST' PDU(Get, "...",wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' debug(dbg, 0, "%*s %s:", level, "", docstring); \ ^~~ ^~~~~~~~~~~~~~~ #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wtp_pdu.c:455:3: note: expanded from macro 'PDU' wap/wsp_pdu.c:331:9: note: wap/wsp_strings.c fields \:118:63expanded from macro 'PDU' : note: expanded from macro 'NUMBERED' ^~~~~~ debug(dbg, 0, "%*sWSP %s PDU at %p:", \ ^~~ ./gwlib/log.h:114:24: note: passing argument to parameter here static const struct numbered_element name##_strings[] = { strings }; \ void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ ./gwlib/log.h ^~~~~~~ :114:24: note: passing argument to parameter here In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:369:8: warningIn file included from wap/wsp_pdu.c:347: wap/wsp_pdu.def:: void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4);initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ^ 90:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("bg", 0x0b) /* Bulgarian */ ^~~~ UINT(subtype, "GET, OPTIONS, HEAD, DELETE, or TRACE", 4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' wap/wsp_pdu.c:336:8: note: expanded from macro 'UINT' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ In file included from wap/wtp_pdu.c:470: wap/wtp_pdu.def:127:1: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field);PDU(Negative_ack, "...", ^~~~~~~~~~~~~~~~~~~~~~~~ ^~~ wap/wtp_pdu.c:453:9: note: expanded from macro 'PDU' wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' debug(dbg, 0, "%*sWTP %s PDU at %p:", \ ^~~ static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ ./gwlib/log.h:114:24: note: passing argument to parameter here In file included from wap/wsp_strings.c:void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ 122: wap/wsp_strings.def:370:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] wap/wsp_pdu.c:333:3: note: expanded from macro 'PDU' ASSIGN("bh", 0x0c) /* Bihari */ fields \ ^~~~~~ ^~~~ In file included from wap/wtp_pdu.c:470: wap/wtp_pdu.def:128:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ./gwlib/log.hwap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' :114:24: note: passing argument to parameter here #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ UINT(con, "Continue flag (CON)", 1)void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); wap/wsp_strings.c ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^wap/wtp_pdu.c:458:8: note: expanded from macro 'UINT' : debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~ 118:63: note: expanded from macro 'NUMBERED' wap/wtp_pdu.c:455:3: note: expanded from macro 'PDU' In file included from wap/wsp_pdu.c:347: wap/wsp_pdu.def:91:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] static const struct numbered_element name##_strings[] = { strings }; \ UINTVAR(uri_len, "Length of URI") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~wap/wsp_pdu.c:338:8: note: expanded from macro 'UINTVAR' fields \ ^~~~~~ debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~ ./gwlib/log.h:114:wap/wsp_pdu.c24: note:333:3: note: expanded from macro 'PDU' In file included from : passing argument to parameter here fields \ ^~~~~~ wap/wsp_strings.c:122: wap/wsp_strings.def:371:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ ASSIGN("bi", 0x0d) /* Bislama */ ^~~~ ./gwlib/log.hwap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' In file included from wap/wtp_pdu.c:470: wap/wtp_pdu.def:131:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]:114:24: note: passing argument to parameter here #define ASSIGN(string, number) { string, number, 0 }, void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ UINT(rid, "Re-transmission indicator (RID)", 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~ In file included from wap/wsp_strings.cwap/wtp_pdu.c:118:63: note: expanded from macro 'NUMBERED' wap/wsp_pdu.c:347: wap/wsp_pdu.def:92:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :458:8: note: expanded from macro 'UINT' OCTSTR(uri, "URI", uri_len) debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ wap/wtp_pdu.c:455:3: note: expanded from macro 'PDU' In file included from fields \ ^~~~~~ wap/wsp_strings.c:122: wap/wsp_strings.def:372:8: warning./gwlib/log.h:114:24: note: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] : passing argument to parameter here wap/wsp_pdu.c:340:8: note: expanded from macro 'OCTSTR' ASSIGN("bn", 0x0e) /* Bengali; Bangla */ ^~~~ void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4);wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' ^#define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ debug(dbg, 0, "%*s %s:", level, "", docstring); \ ^~~ wap/wsp_strings.c:118:63: noteIn file included from wap/wtp_pdu.c:470: wap/wtp_pdu.def:132:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] : expanded from macro 'NUMBERED' UINT(tid, "Transaction ID (TID)", 16) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static const struct numbered_element name##_strings[] = { strings }; \wap/wtp_pdu.c:458:8: note: expanded from macro 'UINT' ^~~~~~~ wap/wsp_pdu.c:333:3: note: expanded from macro 'PDU' In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:373:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~ fields \ ^~~~~~ ASSIGN("bo", 0x0f) /* Tibetan */ ^~~~ wap/wtp_pdu.cwap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' :455:3: note: expanded from macro 'PDU' #define ASSIGN(string, number) { string, number, 0 }, fields \ ^~~~~~ ^~~~~~ ./gwlib/log.h:114:24: note: passing argument to parameter here ./gwlib/log.h:void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ 114:24: note: passing argument to parameter here In file included from wap/wtp_pdu.c:470: wap/wtp_pdu.def:133:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ wap/wsp_strings.c UINT(nmissing, "Number of missing packets", 8):118:63: note: expanded from macro 'NUMBERED' ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from wap/wtp_pdu.c:458:8: note: expanded from macro 'UINT' wap/wsp_pdu.c:347: wap/wsp_pdu.def:93:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); REST(headers, "Request headers") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~ static const struct numbered_element name##_strings[] = { strings }; \ wap/wsp_pdu.c:343:8: note: expanded from macro 'REST' wap/wtp_pdu.c:455:3: note: expanded from macro 'PDU' debug(dbg, 0, "%*s %s:", level, "", docstring); \ ^~~ ^~~~~~~ wap/wsp_pdu.c:333:3: note: expanded from macro 'PDU' fields \ fields \ ^~~~~~ ^~~~~~ ./gwlib/log.h:114:24: note: passing argument to parameter here ./gwlib/log.h:114:In file included from 24: note: passing argument to parameter here wap/wsp_strings.c:122: wap/wsp_strings.def:374:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ In file included from wap/wtp_pdu.c:470: wap/wtp_pdu.def:134:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] OCTSTR(missing, "Missing packet PSNs", nmissing) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ASSIGN("br", 0x10) /* Breton */ ^~~~ wap/wtp_pdu.c:462:8: note: expanded from macro 'OCTSTR' wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' debug(dbg, 0, "%*s %s:", level, "", docstring); \ ^~~ #define ASSIGN(string, number) { string, number, 0 },wap/wtp_pdu.c:455:3: note: expanded from macro 'PDU' fields \ ^~~~~~ In file included from wap/wsp_pdu.c:347: wap/wsp_pdu.def:96:1: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ./gwlib/log.hPDU(Post, "...", ^~~~~~~~~~~~~~~~ :114:24: note: passing argument to parameter here wap/wsp_pdu.c:331: ^~~~~~9: note: expanded from macro 'PDU' void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); debug(dbg, 0, "%*sWSP %s PDU at %p:", \ ^~~ ^ ./gwlib/log.h:114:24: note: passing argument to parameter here wap/wtp_pdu.c:480:9: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' debug(dbg, 0, "%*sWTP PDU at %p:", level, "", (void *)pdu); ^~~ static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4);In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:375:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ^ ASSIGN("ca", 0x11) /* Catalan */ ^~~~ ./gwlib/log.h:114:24: note: passing argument to parameter here In file included from wap/wsp_pdu.c:347: wap/wsp_pdu.def:98:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] wap/wsp_strings.c: UINT(subtype, "POST or PUT", 4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 120:34: note: expanded from macro 'ASSIGN' void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ wap/wsp_pdu.c:336:8: note: expanded from macro 'UINT' wap/wtp_pdu.c:481 debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~ :9: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ debug(dbg, 0, "%*s unknown type %u", level, "", pdu->type); ^~~ wap/wsp_pdu.c:333:3: note: expanded from macro 'PDU' ./gwlib/log.h:114:24: note: passing argument to parameter here wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' fields \ ^~~~~~ static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:376:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ./gwlib/log.h:114:24: note: passing argument to parameter here ASSIGN("co", 0x12) /* Corsican */ ^~~~ void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4);wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' ^ #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' In file included from wap/wsp_pdu.c:347 static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ : wap/wsp_pdu.def:99:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] In file included from wap/wsp_strings.c: UINTVAR(uri_len, "Length of URI") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 122wap/wsp_pdu.c:338:8: note: expanded from macro 'UINTVAR' : wap/wsp_strings.def:377:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~ ASSIGN("cs", 0x13) /* Czech */ ^~~~ wap/wsp_pdu.c:333:3: note: expanded from macro 'PDU' wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' fields \ ^~~~~~ #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ ./gwlib/log.h:114:24:wap/wsp_strings.c:118 :63: note: expanded from macro 'NUMBERED' gwlib/gwmem-check.c:498:63: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] note: passing argument to parameter here static const struct numbered_element name##_strings[] = { strings }; \ panic(errno, "Memory allocation of %d bytes failed.", size); ~~ ^~~~ %zu ^~~~~~~ void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:378:In file included from wap/wsp_pdu.c:347: wap/wsp_pdu.def:100:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] UINTVAR(headers_len, "Length of headers") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_pdu.c:338:8: note: expanded from macro 'UINTVAR' 8 debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~ : warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] wap/wsp_pdu.c:333:3: note: expanded from macro 'PDU' ASSIGN("cy", 0x14) /* Welsh */ ^~~~ fields \ ^~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' ./gwlib/log.h:114#define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ :24: note: passing argument to parameter here wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:379:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] In file included from wap/wsp_pdu.cASSIGN("da", 0x15) /* Danish */ ^~~~ :347: wap/wsp_pdu.def:101:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' OCTSTR(uri, "URI", uri_len) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_pdu.c:340:8: note: expanded from macro 'OCTSTR' wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' debug(dbg, 0, "%*s %s:", level, "", docstring); \ ^~~ static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ wap/wsp_pdu.c:333:3: note: expanded from macro 'PDU' In file included from fields \ ^~~~~~ wap/wsp_strings.c:122: wap/wsp_strings.def:380:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ./gwlib/log.h:114:24: note: passing argument to parameter here ASSIGN("de", 0x16) /* German */ ^~~~ void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' In file included from wap/wsp_pdu.c:#define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ 347: wap/wsp_pdu.def:102:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' OCTSTR(headers, "Content type and request headers", headers_len) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ wap/wsp_pdu.c:340:8: note: expanded from macro 'OCTSTR' In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:381:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] debug(dbg, 0, "%*s %s:", level, "", docstring); \ ASSIGN("dz", 0x17) /* Bhutani */ ^~~~ ^~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' wap/wsp_pdu.c:333:3: note: expanded from macro 'PDU' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ fields \ ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' ./gwlib/log.h:114:24: note: passing argument to parameter here static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:382:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("el", 0x18) /* Greek */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' In file included from wap/wsp_pdu.c:347: wap/wsp_pdu.def:103:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ REST(data, "Request data") ^~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' wap/wsp_pdu.c:343:8: note: expanded from macro 'REST' static const struct numbered_element name##_strings[] = { strings }; \ debug(dbg, 0, "%*s %s:", level, "", docstring); \ ^~~ ^~~~~~~ wap/wsp_pdu.c:333:In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:383:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] 3: note: expanded from macro 'PDU' ASSIGN("en", 0x19) /* English */ ^~~~ fields \ ^~~~~~ ./gwlib/log.h:114:24: note: passing argument to parameter here wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^#define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_pdu.c:347: wap/wsp_pdu.def:106:1: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:384:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] PDU(Reply, "...", ^~~~~~~~~~~~~~~~~ ASSIGN("eo", 0x1a) /* Esperanto */ ^~~~ wap/wsp_pdu.cwap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' :331:#define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ 9: note: expanded from macro 'PDU' wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' debug(dbg, 0, "%*sWSP %s PDU at %p:", \ ^~~ static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ ./gwlib/log.h:114:24: note: passing argument to parameter here In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:385:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ASSIGN("es", 0x1b) /* Spanish */ ^~~~ ^wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' In file included from wap/wsp_pdu.c:347: wap/wsp_pdu.def:108:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ UINT(status, "Status code", 8) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from wap/wsp_pdu.c:336:8: note: expanded from macro 'UINT' wap/wsp_strings.c:122: wap/wsp_strings.def:386:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~ ASSIGN("et", 0x1c) /* Estonian */ ^~~~ wap/wsp_pdu.c:333:3: note: expanded from macro 'PDU' wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' fields \ ^~~~~~ ./gwlib/log.h:114:24: note: passing argument to parameter here #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' In file included from wap/wsp_pdu.c:347: wap/wsp_pdu.def:109:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ UINTVAR(headers_len, "Length of headers") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from wap/wsp_pdu.c:338:8: note: expanded from macro 'UINTVAR' wap/wsp_strings.c:122: wap/wsp_strings.def:387:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ASSIGN("eu", 0x1d) /* Basque */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ ^~~ In file included from wap/wsp_pdu.c:333:3: note: expanded from macro 'PDU' wap/wsp_strings.c:122: wap/wsp_strings.def:388:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] fields \ ASSIGN("fa", 0x1e) /* Persian */ ^~~~ ^~~~~~wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' ./gwlib/log.h:114:24: note: passing argument to parameter here #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' In file included from wap/wsp_pdu.c:347: wap/wsp_pdu.def:110:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ OCTSTR(headers, "Content type and reply headers", headers_len) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:389:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] wap/wsp_pdu.c:ASSIGN("fi", 0x1f) /* Finnish */ ^~~~ 340:8: note: expanded from macro 'OCTSTR' wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' debug(dbg, 0, "%*s %s:", level, "", docstring); \ ^~~ #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_pdu.c:333:3: note: expanded from macro 'PDU' wap/wsp_strings.c fields \ ^~~~~~ :118:63: note: expanded from macro 'NUMBERED' ./gwlib/log.h:114:24: note: passing argument to parameter here static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:390:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] In file included from wap/wsp_pdu.c:347: wap/wsp_pdu.def:111:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("fj", 0x20) /* Fiji */ ^~~~ REST(data, "Reply data") ^~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' wap/wsp_pdu.c:#define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ 343:8: note: expanded from macro 'REST' wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' debug(dbg, 0, "%*s %s:", level, "", docstring); \ ^~~ static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ wap/wsp_pdu.c:333:3: note: expanded from macro 'PDU' In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:391:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] fields \ ^~~~~~ ./gwlib/log.h:114:24: note: passing argument to parameter here ASSIGN("fo", 0x82) /* Faroese */ ^~~~ void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' In file included from wap/wsp_pdu.c:347 static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ : wap/wsp_pdu.def:114:1: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:392:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] PDU(Push, "...", ^~~~~~~~~~~~~~~~ ASSIGN("fr", 0x22) /* French */ ^~~~ wap/wsp_pdu.cwap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' :331:9: note: expanded from macro 'PDU' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ debug(dbg, 0, "%*sWSP %s PDU at %p:", \ ^~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' ./gwlib/log.h:114:24: note: passing argument to parameter here static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:393:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] In file included from wap/wsp_pdu.c:347: wap/wsp_pdu.def:116:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("fy", 0x83) /* Frisian */ ^~~~ UINTVAR(headers_len, "Length of headers")wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_pdu.c:338:8: note: expanded from macro 'UINTVAR' wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~ wap/wsp_pdu.c:333:3: note: expanded from macro 'PDU' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ fields \ ^~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:394:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ./gwlib/log.h:114:24: note: passing argument to parameter here ASSIGN("ga", 0x24) /* Irish */ ^~~~ void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ wap/wsp_strings.c:120:34: note: In file included from wap/wsp_pdu.c:347: wap/wsp_pdu.def:117:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] expanded from macro 'ASSIGN' OCTSTR(headers, "Content type and headers", headers_len) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #define ASSIGN(string, number) { string, number, 0 },wap/wsp_pdu.c:340:8: note: expanded from macro 'OCTSTR' ^~~~~~ debug(dbg, 0, "%*s %s:", level, "", docstring); \ ^~~ wap/wsp_strings.c:118:63: wap/wsp_pdu.c:333:3: note: expanded from macro 'PDU' note fields \: expanded from macro 'NUMBERED' ^~~~~~ ./gwlib/log.h:114:24: note: passing argument to parameter here static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:395:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] In file included from wap/wsp_pdu.c:347: wap/wsp_pdu.def:118:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("gd", 0x25) /* Scots Gaelic */ ^~~~ REST(data, "Push data")wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' ^~~~~~~~~~~~~~~~~~~~~~~ #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_pdu.c:343:8: note: expanded from macro 'REST' wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' debug(dbg, 0, "%*s %s:", level, "", docstring); \ ^~~ static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ wap/wsp_pdu.c:333:3: note: expanded from macro 'PDU' In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:396:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("gl", 0x26) /* Galician */ ^~~~ fields \wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' ^~~~~~ #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ ./gwlib/log.h:114:24: note: passing argument to parameter here wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:397:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] In file included from wap/wsp_pdu.cASSIGN("gn", 0x27) /* Guarani */ ^~~~ :wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' 347: wap/wsp_pdu.def:121:1: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ PDU(ConfirmedPush, "...", ^~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' wap/wsp_pdu.c:331:9: note: expanded from macro 'PDU' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ debug(dbg, 0, "%*sWSP %s PDU at %p:", \ ^~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:398:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ./gwlib/log.h:114:24: note: passing argument to parameter here ASSIGN("gu", 0x28) /* Gujarati */ ^~~~ void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ wap/wsp_strings.c:120:34: noteIn file included from wap/wsp_pdu.c:347: wap/wsp_pdu.def:123:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] : expanded from macro 'ASSIGN' UINTVAR(headers_len, "Length of headers") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_pdu.c:338:8: note: expanded from macro 'UINTVAR' wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~ wap/wsp_pdu.c:333: 3: note: expanded from macro 'PDU' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ fields \ ^~~~~~ ./gwlib/log.h:114:24: note: passing argument to parameter here In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:399:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ ASSIGN("ha", 0x29) /* Hausa */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' In file included from wap/wsp_pdu.c:#define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ 347: wap/wsp_pdu.def:124:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' OCTSTR(headers, "Content type and headers", headers_len) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ wap/wsp_pdu.c:340:In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:400:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] 8: note: expanded from macro 'OCTSTR' ASSIGN("he", 0x2a) /* Hebrew (formerly iw) */ ^~~~ debug(dbg, 0, "%*s %s:", level, "", docstring); \ ^~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' wap/wsp_pdu.c:333:3: note: expanded from macro 'PDU' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ fields \ ^~~~~~ wap/wsp_strings.c:118:./gwlib/log.h63: note: expanded from macro 'NUMBERED' :114:24: note: passing argument to parameter here static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:401:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("hi", 0x2b) /* Hindi */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' In file included from wap/wsp_pdu.c:347: wap/wsp_pdu.def:125:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ REST(data, "Push data")wap/wsp_strings.c: ^~~~~~~~~~~~~~~~~~~~~~~ 118:63: note: expanded from macro 'NUMBERED'wap/wsp_pdu.c :343:8: static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gwlib/http.o -c gwlib/http.c note: expanded from macro 'REST' In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:402:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] debug(dbg, 0, "%*s %s:", level, "", docstring); \ ^~~ ASSIGN("hr", 0x2c) /* Croatian */ ^~~~ wap/wsp_pdu.cwap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' :333:#define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ 3: note: expanded from macro 'PDU' wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:403:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] fields \ ^~~~~~ ASSIGN("hu", 0x2d) /* Hungarian */ ^~~~ ./gwlib/log.h:114:24: note: passing argument to parameter here wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' In file included from wap/wsp_pdu.c static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ :347: wap/wsp_pdu.def:128:1: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] In file included from PDU(Suspend, "...", ^~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:122: wap/wsp_strings.def:404:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] wap/wsp_pdu.c:331:9: note: expanded from macro 'PDU' ASSIGN("hy", 0x2e) /* Armenian */ ^~~~ debug(dbg, 0, "%*sWSP %s PDU at %p:", \ ^~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' ./gwlib/log.h:114#define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ :24: note: passing argument to parameter here wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_pdu.c:347: wap/wsp_pdu.def:130:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:405:8: warning UINTVAR(sessionid, "Session ID") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ : initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] wap/wsp_pdu.c:338:8: note: expanded from macro 'UINTVAR' ASSIGN("ia", 0x84) /* Interlingua */ ^~~~ debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_pdu.c:333:3: note: expanded from macro 'PDU' wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' fields \ ^~~~~~ ./gwlib/log.h:114:24: static const struct numbered_element name##_strings[] = { strings }; \note ^~~~~~~ : passing argument to parameter here In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:406:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ ASSIGN("id", 0x30) /* Indonesian (formerly in) */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ In file included from wap/wsp_pdu.c:347: wap/wsp_pdu.defwap/wsp_strings.c:133:1: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :PDU(Resume, "...", ^~~~~~~~~~~~~~~~~~ 118:63: note: expanded from macro 'NUMBERED' wap/wsp_pdu.c:331:9: note: expanded from macro 'PDU' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ debug(dbg, 0, "%*sWSP %s PDU at %p:", \ ^~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:407:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ./gwlib/log.h:114:24:ASSIGN("ie", 0x86) /* Interlingue */ note: passing argument to parameter here ^~~~ void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' ^#define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' In file included from wap/wsp_pdu.c:347: wap/wsp_pdu.def:135:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ UINTVAR(sessionid, "Session ID") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~gwlib/md5.c:397:26: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] In file included from wap/wsp_strings.c:122 md5_update(&context, octstr_get_cstr(data), octstr_len(data)); ^~~~~~~~~~~~~~~~~~~~~ : wap/wsp_strings.def ./gwlib/octstr.h:234:5: :408:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] notewap/wsp_pdu.c:338:8: note: expanded from macro 'UINTVAR' ASSIGN("ik", 0x87) /* Inupiak */ ^~~~ debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' ^~~ : expanded from macro 'octstr_get_cstr' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_pdu.c:333:3: note: expanded from macro 'PDU' (octstr_get_cstr_real(ostr, __FILE__, __LINE__, __func__)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' gwlib/md5.c:195:63: static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~note : passing argument to parameter 'input' here fields \ ^~~~~~ In file included from ./gwlib/log.hwap/wsp_strings.c:122: wap/wsp_strings.def:409:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] static void md5_update(md5_ctx *context, const unsigned char *input, ^ ASSIGN("is", 0x33) /* Icelandic */ :114:24: note: passing argument to parameter here gwlib/md5.c:400:void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ 11: warning: passing 'unsigned char [16]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ^~~~ enc = octstr_create(digest); wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' ^~~~~~~~~~~~~~~~~~~~~ In file included from wap/wsp_pdu.c:347: wap/wsp_pdu.def:136:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ./gwlib/octstr.h:126:38 UINTVAR(capabilities_len, "Length of capabilities") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #define ASSIGN(string, number) { string, number, 0 },: ^~~~~~ wap/wsp_pdu.c: note: expanded from macro 'octstr_create'wap/wsp_strings.c:118:63: note: 338expanded from macro 'NUMBERED' gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static const struct numbered_element name##_strings[] = { strings }; \:8: note: ^~~~~~~ expanded from macro 'UINTVAR' In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:410:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ASSIGN("it", 0x34) /* Italian */ ^~~~ ^~~wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' gwlib/gwmem.h#define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ :125:44: note: expanded from macro 'gw_claim_area' wap/wsp_strings.cwap/wsp_pdu.c:333:3: #define gw_claim_area(ptr) (gw_native_noop(ptr)) ^~~ :note: expanded from macro 'PDU' 118 fields \ ^~~~~~ :63:./gwlib/log.h:114:24: note: passing argument to parameter here note: expanded from macro 'NUMBERED' void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ ./gwlib/octstr.h:123:40: In file included from wap/wsp_pdu.c:347: wap/wsp_pdu.def:137:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] note: passing argument to parameter 'cstr' here OCTSTR(capabilities, "Reserved capabilities field", capabilities_len) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ Octstr *octstr_create_real(const char *cstr, const char *file, long line, ^In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:411:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] wap/wsp_pdu.c:340:8: note: expanded from macro 'OCTSTR' ASSIGN("iu", 0x89) /* Inuktitut */ ^~~~ debug(dbg, 0, "%*s %s:", level, "", docstring); \ ^~~ wap/wsp_pdu.c:333:3: note: expanded from macro 'PDU' wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' fields \ ^~~~~~#define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' ./gwlib/log.h:114:24: note: passing argument to parameter here static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:412:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] In file included from wap/wsp_pdu.c:347: wap/wsp_pdu.def:gwlib/md5.c:ASSIGN("ja", 0x36) /* Japanese */138416:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] :2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] md5_digest(md5str, octstr_get_cstr(digest)); REST(headers, "Session headers") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~ ^~~~ wap/wsp_pdu.cwap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' :343:8: note: expanded from macro 'REST' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ ./gwlib/octstr.h:234:5: note: expanded from macro 'octstr_get_cstr' debug(dbg, 0, "%*s %s:", level, "", docstring); \ ^~~ wap/wsp_strings.c:118:63: (octstr_get_cstr_real(ostr, __FILE__, __LINE__, __func__)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_pdu.c:333:3: note: expanded from macro 'PDU' note: expanded from macro 'NUMBERED' gwlib/md5.c:102:53: note: passing argument to parameter 'digest' here static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ fields \ ^~~~~~ static void md5_digest(char *md5str, unsigned char *digest) ^ ./gwlib/log.h:114:24: note: passing argument to parameter here In file included from wap/wsp_strings.c:void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ 122: wap/wsp_strings.def:413:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("jw", 0x37) /* Javanese */ ^~~~ In file included from wap/wsp_pdu.c:347: wap/wsp_pdu.def:141:1: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' PDU(sia, "...", ^~~~~~~~~~~~~~~ #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_pdu.c:331:9: note: expanded from macro 'PDU' wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' debug(dbg, 0, "%*sWSP %s PDU at %p:", \ ^~~ static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ ./gwlib/log.h:114:24: note: passing argument to parameter here In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:414:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ ASSIGN("ka", 0x38) /* Georgian */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' In file included from wap/wsp_pdu.c:#define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ 347: wap/wsp_pdu.def:142:wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' 5: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ UINT(version, "sia version", 8) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~In file included from wap/wsp_strings.c: 122: wap/wsp_strings.def:415:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("kk", 0x39) /* Kazakh */ ^~~~ wap/wsp_pdu.c:336:8: note: expanded from macro 'UINT' wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~#define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ wap/wsp_pdu.c:333In file included from wap/wsp_strings.c::3122: wap/wsp_strings.def:416:8: note: expanded from macro 'PDU' : warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] fields \ ^~~~~~ ./gwlib/log.h:114:24: note: passing argument to parameter here ASSIGN("kl", 0x8a) /* Greenlandic */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' In file included from wap/wsp_pdu.c:347 static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ : wap/wsp_pdu.def:In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:417:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] 143:5: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("km", 0x3b) /* Cambodian */ ^~~~ UINTVAR(appidlist_len, "Length of application id list") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.cwap/wsp_pdu.c:338:8: note: expanded from macro 'UINTVAR' :120:34: note: expanded from macro 'ASSIGN' debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field); ^~~ #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_pdu.c:333:3: note: expanded from macro 'PDU' wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' fields \ ^~~~~~ static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ ./gwlib/log.h:114:24: note: passing argument to parameter here In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:418:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ ASSIGN("kn", 0x3c) /* Kannada */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' In file included from wap/wsp_pdu.c:347: wap/wsp_pdu.def:144:5: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ OCTSTR(application_id_list, "application id list", appidlist_len) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.cwap/wsp_pdu.c:340:8: note: expanded from macro 'OCTSTR' :118: debug(dbg, 0, "%*s %s:", level, "", docstring); \ ^~~ 63: note: expanded from macro 'NUMBERED' wap/wsp_pdu.c:333:3: note: expanded from macro 'PDU' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ fields \ ^~~~~~ ./gwlib/log.h:114:24: note: passing argument to parameter here In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:419:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ ASSIGN("ko", 0x3d) /* Korean */ ^~~~ wap/wsp_strings.c:120:34In file included from wap/wsp_pdu.c:347: wap/wsp_pdu.def:145:5: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] : note: UINTVAR(contactpoints_len, "Length of contact point list") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ expanded from macro 'ASSIGN'wap/wsp_pdu.c:338:8: note: expanded from macro 'UINTVAR' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ debug(dbg, 0, "%*s %s: %lu", level, "", docstring, p->field);wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' ^~~ static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ wap/wsp_pdu.c:333:3: note: expanded from macro 'PDU' In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:420:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] fields \ ^~~~~~ ./gwlib/log.h:114:24: note: passing argument to parameter here ASSIGN("ks", 0x3e) /* Kashmiri */ ^~~~ void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ In file included from wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: wap/wsp_pdu.cnote:347: wap/wsp_pdu.def:146:5: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] : expanded from macro 'NUMBERED' OCTSTR(contactpoints, "list of contact points", contactpoints_len) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ wap/wsp_pdu.c:340:8: note: expanded from macro 'OCTSTR' In file included from wap/wsp_strings.c: debug(dbg, 0, "%*s %s:", level, "", docstring); \ ^~~ 122: wap/wsp_strings.def:421:8wap/wsp_pdu.c: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] :333:3: note: expanded from macro 'PDU' ASSIGN("ku", 0x3f) /* Kurdish */ ^~~~ fields \ ^~~~~~ wap/wsp_strings.c:./gwlib/log.h:114:24: note: passing argument to parameter here 120:34: note: expanded from macro 'ASSIGN' void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^#define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' wap/wsp_pdu.c:356:9: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ debug(dbg, 0, "%*sWSP PDU at %p:", level, "", (void *)pdu); ^~~In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:422:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ./gwlib/log.h:114:24: note: passing argument to parameter here ASSIGN("ky", 0x40) /* Kirghiz */ ^~~~ void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ wap/wsp_strings.c:120:34:wap/wsp_pdu.c:357:9: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] note: expanded from macro 'ASSIGN' debug(dbg, 0, "%*s unknown type %u", level, "", pdu->type); ^~~ ./gwlib/log.h:114:24: note: passing argument to parameter here #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ void debug(const char *, int, const char *, ...) PRINTFLIKE(3,4); ^ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:423:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("la", 0x8b) /* Latin */ ^~~~ wap/wsp_strings.c:120:34:1 note: expanded from macro 'ASSIGN' warning generated. #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:424:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("ln", 0x42) /* Lingala */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:425:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("lo", 0x43) /* Laothian */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:426:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("lt", 0x44) /* Lithuanian */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:427:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("lv", 0x45) /* Latvian, Lettish */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:428:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("mg", 0x46) /* Malagasy */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gwlib/fdset.o -c gwlib/fdset.c In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:429:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("mi", 0x47) /* Maori */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:430:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("mk", 0x48) /* Macedonian */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:431:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("ml", 0x49) /* Malayalam */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:432:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("mn", 0x4a) /* Mongolian */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:433:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("mo", 0x4b) /* Moldavian */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:434:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("mr", 0x4c) /* Marathi */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:435:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("ms", 0x4d) /* Malay */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:436:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("mt", 0x4e) /* Maltese */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:437:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("my", 0x4f) /* Burmese */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:438:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("na", 0x81) /* Nauru */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:439:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("ne", 0x51) /* Nepali */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:440:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("nl", 0x52) /* Dutch */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:441:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("no", 0x53) /* Norwegian */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:442:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("oc", 0x54) /* Occitan */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:443:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("om", 0x55) /* (Afan) Oromo */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:444:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("or", 0x56) /* Oriya */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:445:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("pa", 0x57) /* Punjabi */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:446:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("pl", 0x58) /* Polish */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:447:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("ps", 0x59) /* Pashto, Pushto */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:448:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("pt", 0x5a) /* Portuguese */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:449:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("qu", 0x5b) /* Quechua */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:450:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("rm", 0x8c) /* Rhaeto-Romance */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:451:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("rn", 0x5d) /* Kirundi */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:452:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("ro", 0x5e) /* Romanian */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:453:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("ru", 0x5f) /* Russian */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:454:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("rw", 0x60) /* Kinyarwanda */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:455:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("sa", 0x61) /* Sanskrit */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:456:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("sd", 0x62) /* Sindhi */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:53 warnings generated. 457:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("sg", 0x63) /* Sangro (Sangho) */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:458:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("sh", 0x64) /* Serbo-Croatian */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:459:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("si", 0x65) /* Sinhalese */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:460:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("sk", 0x66) /* Slovak */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:461:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("sl", 0x67) /* Slovenian */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:462:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("sm", 0x68) /* Samoan */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:463:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("sn", 0x69) /* Shona */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:464:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("so", 0x6a) /* Somali */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:465:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("sq", 0x6b) /* Albanian */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:466:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("sr", 0x6c) /* Serbian */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gwlib/cfg.o -c gwlib/cfg.c #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:467:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("ss", 0x6d) /* Siswati */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:468:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("st", 0x6e) /* Sesotho */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:469:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("su", 0x6f) /* Sundanese */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:470:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("sv", 0x70) /* Swedish */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:471:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("sw", 0x71) /* Swahili */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:472:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("ta", 0x72) /* Tamil */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:473:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("te", 0x73) /* Telugu */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:474:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("tg", 0x74) /* Tajik */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:475:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("th", 0x75) /* Thai */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:476:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("ti", 0x76) /* Tigrinya */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:477:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("tk", 0x77) /* Turkmen */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:478:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("tl", 0x78) /* Tagalog */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:479:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("tn", 0x79) /* Setswana */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:480:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("to", 0x7a) /* Tonga */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:481:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("tr", 0x7b) /* Turkish */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:482:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("ts", 0x7c) /* Tsonga */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:483:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("tt", 0x7d) /* Tatar */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:484:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("tw", 0x7e) /* Twi */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:485:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("ug", 0x7f) /* Uighur */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:486:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("uk", 0x50) /* Ukrainian */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:487:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("ur", 0x21) /* Urdu */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:488:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("uz", 0x23) /* Uzbek */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:489:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("vi", 0x2f) /* Vietnamese */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:490:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("vo", 0x85) /* Volapuk */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:491:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("wo", 0x31) /* Wolof */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:492:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("xh", 0x32) /* Xhosa */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:493:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("yi", 0x88) /* Yiddish (formerly ji) */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:494:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("yo", 0x35) /* Yoruba */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:495:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("za", 0x3a) /* Zhuang */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:496:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("zh", 0x41) /* Chinese */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gwlib/accesslog.o -c gwlib/accesslog.c #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:497:8: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("zu", 0x5c) /* Zulu */ ^~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:502:8: warning: initializing 'unsigned char *' with an expression of type 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("GET", 0x40) ^~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:503:8: warning: initializing 'unsigned char *' with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("OPTIONS", 0x41) ^~~~~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:504:8: warning: initializing 'unsigned char *' with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("HEAD", 0x42) ^~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:505:8: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("DELETE", 0x43) ^~~~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:506:8: warning: initializing 'unsigned char *' with an expression of type 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("TRACE", 0x44) ^~~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:507:8: warning: initializing 'unsigned char *' with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("POST", 0x60) ^~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:508:8: warning: initializing 'unsigned char *' with an expression of type 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("PUT", 0x61) ^~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:513:8: warning: initializing 'unsigned char *' with an expression of type 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] STRING("close") ^~~~~~~ wap/wsp_strings.c:115:26: note: expanded from macro 'STRING' #define STRING(string) { string, 0 }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:518:8: warning: initializing 'unsigned char *' with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] STRING("chunked") ^~~~~~~~~ wap/wsp_strings.c:115:26: note: expanded from macro 'STRING' #define STRING(string) { string, 0 }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:523:8: warning: initializing 'unsigned char *' with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] STRING("any_ipv4") ^~~~~~~~~~ wap/wsp_strings.c:115:26: note: expanded from macro 'STRING' #define STRING(string) { string, 0 }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:524:8: warning: initializing 'unsigned char *' with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] STRING("any_ipv6") ^~~~~~~~~~ wap/wsp_strings.c:115:26: note: expanded from macro 'STRING' #define STRING(string) { string, 0 }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:525:8: warning: initializing 'unsigned char *' with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] STRING("gsm_usd_any") ^~~~~~~~~~~~~ wap/wsp_strings.c:115:26: note: expanded from macro 'STRING' #define STRING(string) { string, 0 }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:526:8: warning: initializing 'unsigned char *' with an expression of type 'char [18]' converts between pointers to integer types with different sign [-Wpointer-sign] STRING("gsm_sms_gsmmsisdn") ^~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:115:26: note: expanded from macro 'STRING' #define STRING(string) { string, 0 }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:527:8: warning: initializing 'unsigned char *' with an expression of type 'char [37]' converts between pointers to integer types with different sign [-Wpointer-sign] STRING("ansi-136_guts/r-data_ansi_136_msisdn") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:115:26: note: expanded from macro 'STRING' #define STRING(string) { string, 0 }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:528:8: warning: initializing 'unsigned char *' with an expression of type 'char [29]' converts between pointers to integer types with different sign [-Wpointer-sign] STRING("is-95_cdma_sms_is_637_msisdn") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:115:26: note: expanded from macro 'STRING' #define STRING(string) { string, 0 }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:529:8: warning: initializing 'unsigned char *' with an expression of type 'char [20]' converts between pointers to integer types with different sign [-Wpointer-sign] STRING("is-95_cdma_csd_ipv4") ^~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:115:26: note: expanded from macro 'STRING' #define STRING(string) { string, 0 }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:530:8: warning: initializing 'unsigned char *' with an expression of type 'char [23]' converts between pointers to integer types with different sign [-Wpointer-sign] STRING("is-95_packet_data_ipv4") ^~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:115:26: note: expanded from macro 'STRING' #define STRING(string) { string, 0 }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:531:8: warning: initializing 'unsigned char *' with an expression of type 'char [18]' converts between pointers to integer types with different sign [-Wpointer-sign] STRING("ansi-136_csd_ipv4") ^~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:115:26: note: expanded from macro 'STRING' #define STRING(string) { string, 0 }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:532:8: warning: initializing 'unsigned char *' with an expression of type 'char [26]' converts between pointers to integer types with different sign [-Wpointer-sign] STRING("ansi-136_packet_data_ipv4") ^~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:115:26: note: expanded from macro 'STRING' #define STRING(string) { string, 0 }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:533:8: warning: initializing 'unsigned char *' with an expression of type 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] STRING("gsm_csd_ipv4") ^~~~~~~~~~~~~~ wap/wsp_strings.c:115:26: note: expanded from macro 'STRING' #define STRING(string) { string, 0 }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:534:8: warning: initializing 'unsigned char *' with an expression of type 'char [14]' converts between pointers to integer types with different sign [-Wpointer-sign] STRING("gsm_gprs_ipv4") ^~~~~~~~~~~~~~~ wap/wsp_strings.c:115:26: note: expanded from macro 'STRING' #define STRING(string) { string, 0 }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:535:8: warning: initializing 'unsigned char *' with an expression of type 'char [14]' converts between pointers to integer types with different sign [-Wpointer-sign] STRING("gsm_ussd_ipv4") ^~~~~~~~~~~~~~~ wap/wsp_strings.c:115:26: note: expanded from macro 'STRING' #define STRING(string) { string, 0 }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:536:8: warning: initializing 'unsigned char *' with an expression of type 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign] STRING("amps_cdpd_ipv4") ^~~~~~~~~~~~~~~~ wap/wsp_strings.c:115:26: note: expanded from macro 'STRING' #define STRING(string) { string, 0 }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:537:8: warning: initializing 'unsigned char *' with an expression of type 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] STRING("pdc_csd_ipv4") ^~~~~~~~~~~~~~ wap/wsp_strings.c:115:26: note: expanded from macro 'STRING' #define STRING(string) { string, 0 }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:538:8: warning: initializing 'unsigned char *' with an expression of type 'char [21]' converts between pointers to integer types with different sign [-Wpointer-sign] STRING("pdc_packet_data_ipv4") ^~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:115:26: note: expanded from macro 'STRING' #define STRING(string) { string, 0 }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:539:8: warning: initializing 'unsigned char *' with an expression of type 'char [21]' converts between pointers to integer types with different sign [-Wpointer-sign] STRING("iden_sms_iden_msisdn") ^~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:115:26: note: expanded from macro 'STRING' #define STRING(string) { string, 0 }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:540:8: warning: initializing 'unsigned char *' with an expression of type 'char [14]' converts between pointers to integer types with different sign [-Wpointer-sign] STRING("iden_csd_ipv4") ^~~~~~~~~~~~~~~ wap/wsp_strings.c:115:26: note: expanded from macro 'STRING' #define STRING(string) { string, 0 }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:541:8: warning: initializing 'unsigned char *' with an expression of type 'char [22]' converts between pointers to integer types with different sign [-Wpointer-sign] STRING("iden_packet_data_ipv4") ^~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:115:26: note: expanded from macro 'STRING' #define STRING(string) { string, 0 }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:542:8: warning: initializing 'unsigned char *' with an expression of type 'char [32]' converts between pointers to integer types with different sign [-Wpointer-sign] STRING("paging_network_flex_flex_msisdn") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:115:26: note: expanded from macro 'STRING' #define STRING(string) { string, 0 }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:543:8: warning: initializing 'unsigned char *' with an expression of type 'char [19]' converts between pointers to integer types with different sign [-Wpointer-sign] STRING("phs_sms_phs_msisdn") ^~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:115:26: note: expanded from macro 'STRING' #define STRING(string) { string, 0 }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:544:8: warning: initializing 'unsigned char *' with an expression of type 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] STRING("phs_csd_ipv4") ^~~~~~~~~~~~~~ wap/wsp_strings.c:115:26: note: expanded from macro 'STRING' #define STRING(string) { string, 0 }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:545:8: warning: initializing 'unsigned char *' with an expression of type 'char [26]' converts between pointers to integer types with different sign [-Wpointer-sign] STRING("gsm_ussd_gsm_service_code") ^~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:115:26: note: expanded from macro 'STRING' #define STRING(string) { string, 0 }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:546:8: warning: initializing 'unsigned char *' with an expression of type 'char [21]' converts between pointers to integer types with different sign [-Wpointer-sign] STRING("tetra_sds_tetra_itsi") ^~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:115:26: note: expanded from macro 'STRING' #define STRING(string) { string, 0 }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:547:8: warning: initializing 'unsigned char *' with an expression of type 'char [23]' converts between pointers to integer types with different sign [-Wpointer-sign] STRING("tetra_sds_tetra_msisdn") ^~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:115:26: note: expanded from macro 'STRING' #define STRING(string) { string, 0 }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:548:8: warning: initializing 'unsigned char *' with an expression of type 'char [23]' converts between pointers to integer types with different sign [-Wpointer-sign] STRING("tetra_packet_data_ipv4") ^~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:115:26: note: expanded from macro 'STRING' #define STRING(string) { string, 0 }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:549:8: warning: initializing 'unsigned char *' with an expression of type 'char [34]' converts between pointers to integer types with different sign [-Wpointer-sign] STRING("paging_network_reflex_reflex_isdn") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:115:26: note: expanded from macro 'STRING' #define STRING(string) { string, 0 }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:550:8: warning: initializing 'unsigned char *' with an expression of type 'char [20]' converts between pointers to integer types with different sign [-Wpointer-sign] STRING("gsm_ussd_gsm_msisdn") ^~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:115:26: note: expanded from macro 'STRING' #define STRING(string) { string, 0 }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:551:8: warning: initializing 'unsigned char *' with an expression of type 'char [17]' converts between pointers to integer types with different sign [-Wpointer-sign] STRING("mobitex_mpak_man") ^~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:115:26: note: expanded from macro 'STRING' #define STRING(string) { string, 0 }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:552:8: warning: initializing 'unsigned char *' with an expression of type 'char [31]' converts between pointers to integer types with different sign [-Wpointer-sign] STRING("ansi-136_ghost/r_data_gsm_isdn") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:115:26: note: expanded from macro 'STRING' #define STRING(string) { string, 0 }, ^~~~~~ wap/wsp_strings.c:113:61: note: expanded from macro 'LINEAR' static const struct linear_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:561:8: warning: initializing 'unsigned char *' with an expression of type 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("*", 0x00) ^~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:562:8: warning: initializing 'unsigned char *' with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("push.sia", 0x01) ^~~~~~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:563:8: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("wml.ua", 0x02) ^~~~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:564:8: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("wta.ua", 0x03) ^~~~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:565:8: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("mms.ua", 0x04) ^~~~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:566:8: warning: initializing 'unsigned char *' with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("push.syncml", 0x05) ^~~~~~~~~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:567:8: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("loc.ua", 0x06) ^~~~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:568:8: warning: initializing 'unsigned char *' with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("syncml.dm", 0x07) ^~~~~~~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:569:8: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("drm.ua", 0x08) ^~~~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:570:8: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("emn.ua", 0x09) ^~~~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:571:8: warning: initializing 'unsigned char *' with an expression of type 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("wv.ua", 0x0A) ^~~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' gwlib/http.c:1325:31: warning: static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ passing 'unsigned long *' to parameter of type 'long *' converts between pointers to integer types with different sign [-Wpointer-sign] In file included from wap/wsp_strings.c:122: wap/wsp_strings.def if (octstr_parse_long(&(p->port), url, colon + 1, 10) == -1) { ^~~~~~~~~~ :572:8: warning: initializing 'unsigned char *' with an expression of type 'char [32]' converts between pointers to integer types with different sign [-Wpointer-sign] ./gwlib/octstr.h:284:30: note: passing argument to parameter 'number' here ASSIGN("x-wap-microsoft:localcontent.ua", 0x8000) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ long octstr_parse_long(long *number, Octstr *ostr, long pos, int base); ^ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' gwlib/http.c:1345:31: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers to integer types with different sign [-Wpointer-sign] static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ if (octstr_parse_long(&(p->port), url, colon + 1, 10) == -1) { ^~~~~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:573:8: warning: initializing 'unsigned char *' with an expression of type 'char [28]' converts between pointers to integer types with different sign [-Wpointer-sign] ./gwlib/octstr.h:284ASSIGN("x-wap-microsoft:IMclient.ua", 0x8001) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :30: note: passing argument to parameter 'number' here wap/wsp_strings.c:120:long octstr_parse_long(long *number, Octstr *ostr, long pos, int base); ^ 34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:574:8: warning: initializing 'unsigned char *' with an expression of type 'char [27]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("x-wap-docomo:imode.mail.ua", 0x8002) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:575:8: warning: initializing 'unsigned char *' with an expression of type 'char [25]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("x-wap-docomo:imode.mr.ua", 0x8003) ^~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:576:8: warning: initializing 'unsigned char *' with an expression of type 'char [25]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("x-wap-docomo:imode.mf.ua", 0x8004) ^~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:577:8: warning: initializing 'unsigned char *' with an expression of type 'char [23]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("x-motorola:location.ua", 0x8005) ^~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:578:8: warning: initializing 'unsigned char *' with an expression of type 'char [18]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("x-motorola:now.ua", 0x8006) ^~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:579:8: warning: initializing 'unsigned char *' with an expression of type 'char [22]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("x-motorola:otaprov.ua", 0x8007) ^~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:580:8: warning: initializing 'unsigned char *' with an expression of type 'char [22]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("x-motorola:browser.ua", 0x8008) ^~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:581:8: warning: initializing 'unsigned char *' with an expression of type 'char [21]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("x-motorola:splash.ua", 0x8009) ^~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:582:8: warning: initializing 'unsigned char *' with an expression of type 'char [23]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("x-wap-nai:mvsw.command", 0x800B) ^~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:583:8: warning: initializing 'unsigned char *' with an expression of type 'char [23]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("x-wap-openvawe:iota.ua", 0x8010) ^~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:584:8: warning: initializing 'unsigned char *' with an expression of type 'char [29]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("x-wap-docomo: imode.mail2.ua", 0x9000) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:585:8: warning: initializing 'unsigned char *' with an expression of type 'char [22]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("x-oma-nec: otaprov.ua", 0x9001) ^~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ In file included from wap/wsp_strings.c:122: wap/wsp_strings.def:586:8: warning: initializing 'unsigned char *' with an expression of type 'char [21]' converts between pointers to integer types with different sign [-Wpointer-sign] ASSIGN("x-oma-nokia: call.ua", 0x9002) ^~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:120:34: note: expanded from macro 'ASSIGN' #define ASSIGN(string, number) { string, number, 0 }, ^~~~~~ wap/wsp_strings.c:118:63: note: expanded from macro 'NUMBERED' static const struct numbered_element name##_strings[] = { strings }; \ ^~~~~~~ gwlib/http.c:2120:67: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] fd = accept(tab[i].fd, (struct sockaddr *) &addr, &addrlen); ^~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:700:73: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict) ^ wap/wsp_strings.c:176:13: warning: returning 'char *' from a function with result type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] return octstr_get_cstr(table->strings[number]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./gwlib/octstr.h:234:5: note: expanded from macro 'octstr_get_cstr' (octstr_get_cstr_real(ostr, __FILE__, __LINE__, __func__)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:180:10: warning: returning 'char *' from a function with result type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] return octstr_get_cstr(table->strings[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./gwlib/octstr.h:234:5: note: expanded from macro 'octstr_get_cstr' (octstr_get_cstr_real(ostr, __FILE__, __LINE__, __func__)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wap/wsp_strings.c:237:40: warning: passing 'unsigned char *const' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] table->strings[i] = octstr_imm(strings[i].str); ^~~~~~~~~~~~~~ ./gwlib/octstr.h:147:32: note: passing argument to parameter 'cstr' here Octstr *octstr_imm(const char *cstr); ^ wap/wsp_strings.c:254:40: warning: passing 'unsigned char *const' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] table->strings[i] = octstr_imm(strings[i].str); ^~~~~~~~~~~~~~ ./gwlib/octstr.h:147:32: note: passing argument to parameter 'cstr' here Octstr *octstr_imm(const char *cstr); ^ gwlib/http.c:3094:46: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] octstr_insert_data(element, pos, &semicolon, 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); ^ 59 warnings generated. clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gwlib/octstr.o -c gwlib/octstr.c 7 warnings generated. clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gwlib/gw-prioqueue.o -c gwlib/gw-prioqueue.c 3 warnings generated. clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gwlib/pcre.o -c gwlib/pcre.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gwlib/dbpool_mysql.o -c gwlib/dbpool_mysql.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gwlib/pki.o -c gwlib/pki.c gwlib/octstr.c:207:20: warning: initializing 'unsigned char *' with an expression of type 'char [73]' converts between pointers to integer types with different sign [-Wpointer-sign] unsigned char *safe = " 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ" ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gwlib/octstr.c:302:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] os->len = strlen(data); ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ gwlib/octstr.c:354:42: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return octstr_create_from_data_trace(ostr->data + from, len, file, ^~~~~~~~~~~~~~~~~ ./gwlib/octstr.h:137:48: note: expanded from macro 'octstr_create_from_data_trace' 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.c:246:50: note: passing argument to parameter 'data' here Octstr *octstr_create_from_data_real(const char *data, long len, const char *file, ^ gwlib/octstr.c:366:42: warning: passing 'unsigned char *const' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return octstr_create_from_data_trace(ostr->data, ostr->len, file, line, func); ^~~~~~~~~~ ./gwlib/octstr.h:137:48: note: expanded from macro 'octstr_create_from_data_trace' 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.c:246:50: note: passing argument to parameter 'data' here Octstr *octstr_create_from_data_real(const char *data, long len, const char *file, ^ 419 warnings generated. gwlib/octstr.c:435:12: warning: returning 'unsigned char *const' from a function with result type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] return ostr->data; ^~~~~~~~~~ gwlib/octstr.c:463:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] hexits = uppercase ? "0123456789ABCDEF" : "0123456789abcdef"; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gwlib/octstr.c:756:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] number = strtol(ostr->data + pos, &endptr, base); ^~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:167:26: note: passing argument to parameter '__str' here long strtol(const char *__str, char **__endptr, int __base); ^ gwlib/octstr.c:757:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] endpos = endptr; ^ ~~~~~~ clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gwlib/counter.o -c gwlib/counter.c gwlib/octstr.c:788:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] number = strtod(ostr->data + pos, &endptr); ^~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:165:28: note: passing argument to parameter here double strtod(const char *, char **) __DARWIN_ALIAS(strtod); ^ gwlib/octstr.c:789:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] endpos = endptr; ^ ~~~~~~ gwlib/octstr.c:954:19: warning: passing 'unsigned char *const' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return strcmp(ostr->data, str); ^~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here int strcmp(const char *__s1, const char *__s2); ^ gwlib/octstr.c:967:20: warning: passing 'unsigned char *const' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return strncmp(ostr->data, str, n); ^~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here int strncmp(const char *__s1, const char *__s2, size_t __n); ^ gwlib/octstr.c:1202:30: warning: passing 'unsigned char [4096]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] octstr_append_data(ostr, buf, len); ^~~ ./gwlib/octstr.h:435:51: note: passing argument to parameter 'data' here void octstr_append_data(Octstr *ostr, const char *data, long len); ^ clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gwlib/date.o -c gwlib/date.c gwlib/octstr.c:1424:41: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] octstr_insert_data(ostr, ostr->len, &c, 1); ^~ gwlib/octstr.c:1362:61: note: passing argument to parameter 'data' here void octstr_insert_data(Octstr *ostr, long pos, const char *data, long len) ^ gwlib/octstr.c:1532:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] word = octstr_create_from_data(ostr->data + start, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./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.c:246:50: note: passing argument to parameter 'data' here Octstr *octstr_create_from_data_real(const char *data, long len, const char *file, ^ gwlib/octstr.c:1600:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(p, "%02x ", c); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ gwlib/octstr.c:1601:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] p = strchr(p, '\0'); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:76:26: note: passing argument to parameter '__s' here char *strchr(const char *__s, int __c); ^ gwlib/octstr.c:1601:11: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] p = strchr(p, '\0'); ^ ~~~~~~~~~~~~~~~ gwlib/octstr.c:1708:12: warning: assigning to 'unsigned char *' from 'char [17]' converts between pointers to integer types with different sign [-Wpointer-sign] hexits = "0123456789ABCDEF"; ^ ~~~~~~~~~~~~~~~~~~ gwlib/octstr.c:1949:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] octstr_append_data(ostr, octets + start, 5 - start); ^~~~~~~~~~~~~~ gwlib/octstr.c:1398:51: note: passing argument to parameter 'data' here void octstr_append_data(Octstr *ostr, const char *data, long len) ^ clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gwlib/protected.o -c gwlib/protected.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gwlib/gwmem-native.o -c gwlib/gwmem-native.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gwlib/charset.o -c gwlib/charset.c gwlib/date.c:69:5: warning: initializing 'unsigned char *' with an expression of type 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" ^~~~~ gwlib/date.c:69:12: warning: initializing 'unsigned char *' with an expression of type 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" ^~~~~ gwlib/date.c:69:19: warning: initializing 'unsigned char *' with an expression of type 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" ^~~~~ gwlib/date.c:69:26: warning: initializing 'unsigned char *' with an expression of type 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" ^~~~~ gwlib/date.c:69:33: warning: initializing 'unsigned char *' with an expression of type 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" ^~~~~ gwlib/date.c:69:40: warning: initializing 'unsigned char *' with an expression of type 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" ^~~~~ gwlib/date.c:69:47: warning: initializing 'unsigned char *' with an expression of type 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" ^~~~~ gwlib/date.c:73:5: warning: initializing 'unsigned char *' with an expression of type 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] "Jan", "Feb", "Mar", "Apr", "May", "Jun", ^~~~~ gwlib/date.c:73:12: warning: initializing 'unsigned char *' with an expression of type 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] "Jan", "Feb", "Mar", "Apr", "May", "Jun", ^~~~~ gwlib/date.c:73:19: warning: initializing 'unsigned char *' with an expression of type 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] "Jan", "Feb", "Mar", "Apr", "May", "Jun", ^~~~~ gwlib/date.c:73:26: warning: initializing 'unsigned char *' with an expression of type 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] "Jan", "Feb", "Mar", "Apr", "May", "Jun", ^~~~~ gwlib/date.c:73:33: warning: initializing 'unsigned char *' with an expression of type 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] "Jan", "Feb", "Mar", "Apr", "May", "Jun", ^~~~~ gwlib/date.c:73:40: warning: initializing 'unsigned char *' with an expression of type 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] "Jan", "Feb", "Mar", "Apr", "May", "Jun", ^~~~~ gwlib/date.c:74:5: warning: initializing 'unsigned char *' with an expression of type 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" ^~~~~ gwlib/date.c:74:12: warning: initializing 'unsigned char *' with an expression of type 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" ^~~~~ gwlib/date.c:74:19: warning: initializing 'unsigned char *' with an expression of type 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" ^~~~~ gwlib/date.c:74:26: warning: initializing 'unsigned char *' with an expression of type 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" ^~~~~ gwlib/date.c:74:33: warning: initializing 'unsigned char *' with an expression of type 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" ^~~~~ gwlib/date.c:74:40: warning: initializing 'unsigned char *' with an expression of type 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" ^~~~~ gwlib/date.c:111:13: warning: passing 'unsigned char [30]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(buffer, "%s, %02d %s %04d %02d:%02d:%02d GMT", ^~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ gwlib/date.c:115:12: warning: passing 'unsigned char [30]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return octstr_create(buffer); ^~~~~~~~~~~~~~~~~~~~~ ./gwlib/octstr.h:126:38: note: expanded from macro 'octstr_create' gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gwlib/dbpool_oracle.o -c gwlib/dbpool_oracle.c 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, ^ gwlib/date.c:213:42: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (octstr_str_compare(monthstr, monthname[t.month]) == 0) ^~~~~~~~~~~~~~~~~~ ./gwlib/octstr.h:334:57: note: passing argument to parameter 'str' here int octstr_str_compare(const Octstr *ostr1, const char *str); ^ clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gwlib/gwpoll.o -c gwlib/gwpoll.c 22 warnings generated. clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gwlib/utils.o -c gwlib/utils.c gwlib/charset.c:380:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] octstr_insert_data(ostr, pos, &esc, 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); ^ gwlib/charset.c:480:30: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlBufferAdd(frombuffer, octstr_get_cstr(from), octstr_len(from)); ^~~~~~~~~~~~~~~~~~~~~ ./gwlib/octstr.h:234:5: note: expanded from macro 'octstr_get_cstr' (octstr_get_cstr_real(ostr, __FILE__, __LINE__, __func__)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/work/www/kannel/work/.buildlink/include/libxml2/libxml/tree.h:718:22: note: passing argument to parameter 'str' here const xmlChar *str, ^ gwlib/charset.c:484:11: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] *to = octstr_create_from_data(tobuffer->content, tobuffer->use); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./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, ^ gwlib/charset.c:507:30: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlBufferAdd(frombuffer, octstr_get_cstr(utf8), octstr_len(utf8)); ^~~~~~~~~~~~~~~~~~~~~ ./gwlib/octstr.h:234:5: note: expanded from macro 'octstr_get_cstr' (octstr_get_cstr_real(ostr, __FILE__, __LINE__, __func__)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/work/www/kannel/work/.buildlink/include/libxml2/libxml/tree.h:718:22: note: passing argument to parameter 'str' here const xmlChar *str, ^ gwlib/charset.c:515:11: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] *to = octstr_create_from_data(tobuffer->content, tobuffer->use); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./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, ^ gwlib/charset.c:566:15: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] from_buf - octstr_get_cstr(string)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gwlib/dbpool_pgsql.o -c gwlib/dbpool_pgsql.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gwlib/dbpool.o -c gwlib/dbpool.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gwlib/gw_uuid.o -c gwlib/gw_uuid.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gwlib/dict.o -c gwlib/dict.c 6 warnings generated. clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gwlib/regex.o -c gwlib/regex.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gwlib/gw-rwlock.o -c gwlib/gw-rwlock.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gwlib/log.o -c gwlib/log.c 4 warnings generated. clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gwlib/gwthread-pthread.o -c gwlib/gwthread-pthread.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gwlib/conn.o -c gwlib/conn.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gwlib/semaphore.o -c gwlib/semaphore.c gwlib/log.c:179:25: warning: if statement has empty body [-Wempty-body] if (writers == NULL); ^ gwlib/log.c:179:25: note: put the semicolon on a separate line to silence this warning clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gwlib/ssl.o -c gwlib/ssl.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gwlib/list.o -c gwlib/list.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gwlib/mime.o -c gwlib/mime.c gwlib/conn.c:346:41: warning: passing 'unsigned char [4096]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] octstr_append_data(conn->inbuf, buf, len); ^~~ ./gwlib/octstr.h:435:51: note: passing argument to parameter 'data' here void octstr_append_data(Octstr *ostr, const char *data, long len); ^ gwlib/conn.c:502:56: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockopt(conn->fd, SOL_SOCKET, SO_ERROR, &err, &len) < 0) { ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:708:76: note: passing argument to parameter here int getsockopt(int, int, int, void * __restrict, socklen_t * __restrict); ^ gwlib/conn.c:998:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] octstr_append_data(conn->outbuf, data, length); ^~~~ ./gwlib/octstr.h:435:51: note: passing argument to parameter 'data' here void octstr_append_data(Octstr *ostr, const char *data, long len); ^ gwlib/conn.c:1012:38: warning: passing 'unsigned char [4]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] octstr_append_data(conn->outbuf, lengthbuf, 4); ^~~~~~~~~ ./gwlib/octstr.h:435:51: note: passing argument to parameter 'data' here void octstr_append_data(Octstr *ostr, const char *data, long len); ^ gwlib/conn.c:1114:31: warning: passing 'unsigned char [4]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] octstr_get_many_chars(lengthbuf, conn->inbuf, conn->inbufpos, 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); ^ clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gwlib/parse.o -c gwlib/parse.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gwlib/gwlib.o -c gwlib/gwlib.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gwlib/xmlrpc.o -c gwlib/xmlrpc.c 1 warning generated. clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gwlib/socket.o -c gwlib/socket.c 20 warnings generated. clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gwlib/dbpool_sdb.o -c gwlib/dbpool_sdb.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o gwlib/dbpool_sqlite.o -c gwlib/dbpool_sqlite.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o utils/seewbmp.o -c utils/seewbmp.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o utils/mtbatch.o -c utils/mtbatch.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o utils/run_kannel_box.o -c utils/run_kannel_box.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o test/test_ota.o -c test/test_ota.c gwlib/socket.c:560:47: 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 *) &sa, &salen); ^~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:712:27: note: passing argument to parameter here socklen_t * __restrict) __DARWIN_ALIAS_C(recvfrom); ^ gwlib/socket.c:682:52: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] new_fd = accept(fd, (struct sockaddr *) &addr, &addrlen); ^~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:700:73: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict) ^ gwlib/xmlrpc.c:1382:12: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-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 clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o test/test_cfg.o -c test/test_cfg.c Octstr *octstr_create_real(const char *cstr, const char *file, long line, ^ gwlib/xmlrpc.c:1488:12: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-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, ^ gwlib/xmlrpc.c:1522:43: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] methodcall->method_name = octstr_create(content_buff); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./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, ^ gwlib/xmlrpc.c:1609:12: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-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, ^ gwlib/xmlrpc.c:1716:12: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-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, ^ gwlib/xmlrpc.c:1818:12: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-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, ^ 5 warnings generated. gwlib/xmlrpc.c:1918:12: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-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, ^ gwlib/xmlrpc.c:1943:17: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] value = octstr_create(content_buff); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./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, ^ gwlib/xmlrpc.c:2119:12: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-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, ^ gwlib/xmlrpc.c:2222:12: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-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, ^ gwlib/xmlrpc.c:2261:28: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] member->name = octstr_create(content_buff); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./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, ^ gwlib/xmlrpc.c:2331:12: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-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, ^ gwlib/xmlrpc.c:2425:12: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-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, ^ clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o test/test_dbpool.o -c test/test_dbpool.c gwlib/xmlrpc.c:2523:12: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-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, ^ clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o test/test_pdu.o -c test/test_pdu.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o test/test_radius_pdu.o -c test/test_radius_pdu.c 2 warnings generated. clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o test/test_wakeup.o -c test/test_wakeup.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o test/test_msg.o -c test/test_msg.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o test/test_mime_multipart.o -c test/test_mime_multipart.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o test/test_http_server.o -c test/test_http_server.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o test/timestamp.o -c test/timestamp.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o test/test_sl.o -c test/test_sl.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o test/fakesmsc.o -c test/fakesmsc.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o test/test_headers.o -c test/test_headers.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o test/wml_tester.o -c test/wml_tester.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o test/test_mime.o -c test/test_mime.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o test/drive_smpp.o -c test/drive_smpp.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o test/udpfeed.o -c test/udpfeed.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o test/test_udp.o -c test/test_udp.c test/drive_smpp.c:459:40: warning: illegal character encoding in string literal [-Winvalid-source-encoding] info(0, "drive_smpp [-h] [-v level][-p port]"); ^~~~ 14 warnings generated. clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o test/test_prioqueue.o -c test/test_prioqueue.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o test/test_urltrans.o -c test/test_urltrans.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o test/test_regex.o -c test/test_regex.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o test/test_pap.o -c test/test_pap.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o test/test_xmlrpc.o -c test/test_xmlrpc.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o test/fakewap.o -c test/fakewap.c 1 warning generated. clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o test/test_octstr_dump.o -c test/test_octstr_dump.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o test/wapproxy.o -c test/wapproxy.c test/test_regex.c:95:32: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] octstr_get_cstr(re), regexp->re_nsub); ^~~~~~~~~~~~~~~ clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o test/test_cimd2.o -c test/test_cimd2.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o test/test_mem.o -c test/test_mem.c 1 warning generated. clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o test/test_octstr_format.o -c test/test_octstr_format.c test/fakewap.c:374:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] octstr_append_data(datagram, hdr, hdr_len); ^~~ ./gwlib/octstr.h:435:51: note: passing argument to parameter 'data' here void octstr_append_data(Octstr *ostr, const char *data, long len); ^ test/fakewap.c:387:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] octstr_append_data(datagram, data, data_len); ^~~~ ./gwlib/octstr.h:435:51: note: passing argument to parameter 'data' here void octstr_append_data(Octstr *ostr, const char *data, long len); ^ test/fakewap.c:448:25: warning: passing 'unsigned char [65536]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] octstr_get_many_chars(msg, datagram, 0, octstr_len(datagram)); ^~~ ./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); ^ test/fakewap.c:573:33: warning: passing 'unsigned char [32]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ret = wap_msg_recv( fd, reply_hdr, sizeof(WSP_ConnectReply), ^~~~~~~~~ test/fakewap.c:417:36: note: passing argument to parameter 'hdr' here wap_msg_recv( int fd, const char * hdr, int hdr_len, ^ test/fakewap.c:617:33: warning: passing 'unsigned char [32]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ret = wap_msg_recv( fd, reply_hdr, sizeof(WSP_Reply), ^~~~~~~~~ test/fakewap.c:417:36: note: passing argument to parameter 'hdr' here wap_msg_recv( int fd, const char * hdr, int hdr_len, ^ clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o test/test_http.o -c test/test_http.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o test/test_uuid.o -c test/test_uuid.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o test/test_smsc.o -c test/test_smsc.c 5 warnings generated. clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o test/test_boxc.o -c test/test_boxc.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o test/decompile.o -c test/decompile.c test/test_cimd2.c:99:16: warning: initializing 'unsigned char *' with an expression of type 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] unsigned char *username = "foo"; ^ ~~~~~ test/test_cimd2.c:100:16: warning: initializing 'unsigned char *' with an expression of type 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] unsigned char *password = "bar"; ^ ~~~~~ test/test_cimd2.c:105:16: warning: initializing 'unsigned char *' with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] unsigned char *intro = ""; ^ ~~ test/test_cimd2.c:230:26: warning: passing 'unsigned char [1021]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] octstr_append_data(in, buf, ret); ^~~ ./gwlib/octstr.h:435:51: note: passing argument to parameter 'data' here void octstr_append_data(Octstr *ostr, const char *data, long len); ^ test/test_cimd2.c:254:24: warning: passing 'unsigned char [1021]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] octstr_get_many_chars(buf, out, 0, len); ^~~ ./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); ^ test/test_cimd2.c:308:27: warning: passing 'unsigned char [1021]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] octstr_append_data(out, buf, sizeof(buf)); ^~~ ./gwlib/octstr.h:435:51: note: passing argument to parameter 'data' here void octstr_append_data(Octstr *ostr, const char *data, long len); ^ test/test_cimd2.c:324:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(buf, "%02d%02d%02d%02d%02d%02d", ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ test/test_cimd2.c:459:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (octstr_str_compare(user, username) == 0 && ^~~~~~~~ ./gwlib/octstr.h:334:57: note: passing argument to parameter 'str' here int octstr_str_compare(const Octstr *ostr1, const char *str); ^ test/test_cimd2.c:460:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] octstr_str_compare(pass, password) == 0) { ^~~~~~~~ ./gwlib/octstr.h:334:57: note: passing argument to parameter 'str' here int octstr_str_compare(const Octstr *ostr1, const char *str); ^ test/test_cimd2.c:465:33: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] send_error(out, 51, sequence, "100", "invalid login"); ^~~~~ test/test_cimd2.c:361:19: note: passing argument to parameter 'errorcode' here unsigned char *errorcode, unsigned char *errortext) { ^ test/test_cimd2.c:465:40: warning: passing 'char [14]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] send_error(out, 51, sequence, "100", "invalid login"); ^~~~~~~~~~~~~~~ test/test_cimd2.c:361:45: note: passing argument to parameter 'errortext' here unsigned char *errorcode, unsigned char *errortext) { ^ test/test_cimd2.c:562:33: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] send_error(out, 53, sequence, "300", "no destination"); ^~~~~ test/test_cimd2.c:361:19: note: passing argument to parameter 'errorcode' here unsigned char *errorcode, unsigned char *errortext) { ^ test/test_cimd2.c:562:40: warning: passing 'char [15]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] send_error(out, 53, sequence, "300", "no destination"); ^~~~~~~~~~~~~~~~ test/test_cimd2.c:361:45: note: passing argument to parameter 'errortext' here unsigned char *errorcode, unsigned char *errortext) { ^ test/test_cimd2.c:564:33: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] send_error(out, 53, sequence, "301", "too many destinations"); ^~~~~ test/test_cimd2.c:361:19: note: passing argument to parameter 'errorcode' here unsigned char *errorcode, unsigned char *errortext) { ^ test/test_cimd2.c:564:40: warning: passing 'char [22]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] send_error(out, 53, sequence, "301", "too many destinations"); ^~~~~~~~~~~~~~~~~~~~~~~ test/test_cimd2.c:361:45: note: passing argument to parameter 'errortext' here unsigned char *errorcode, unsigned char *errortext) { ^ test/test_cimd2.c:598:33: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] send_error(out, 54, sequence, "400", "no destination"); ^~~~~ test/test_cimd2.c:361:19: note: passing argument to parameter 'errorcode' here unsigned char *errorcode, unsigned char *errortext) { ^ test/test_cimd2.c:598:40: warning: passing 'char [15]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] send_error(out, 54, sequence, "400", "no destination"); ^~~~~~~~~~~~~~~~ test/test_cimd2.c:361:45: note: passing argument to parameter 'errortext' here unsigned char *errorcode, unsigned char *errortext) { ^ test/test_cimd2.c:600:33: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] send_error(out, 54, sequence, "401", "no timestamp"); ^~~~~ test/test_cimd2.c:361:19: note: passing argument to parameter 'errorcode' here unsigned char *errorcode, unsigned char *errortext) { ^ test/test_cimd2.c:600:40: warning: passing 'char [13]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] send_error(out, 54, sequence, "401", "no timestamp"); ^~~~~~~~~~~~~~ test/test_cimd2.c:361:45: note: passing argument to parameter 'errortext' here unsigned char *errorcode, unsigned char *errortext) { ^ test/test_cimd2.c:646:33: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] send_error(out, 55, sequence, "500", "no messages available"); ^~~~~ test/test_cimd2.c:361:19: note: passing argument to parameter 'errorcode' here unsigned char *errorcode, unsigned char *errortext) { ^ test/test_cimd2.c:646:40: warning: passing 'char [22]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] send_error(out, 55, sequence, "500", "no messages available"); ^~~~~~~~~~~~~~~~~~~~~~~ test/test_cimd2.c:361:45: note: passing argument to parameter 'errortext' here unsigned char *errorcode, unsigned char *errortext) { ^ test/test_cimd2.c:650:33: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] send_error(out, 55, sequence, "500", "no messages available"); ^~~~~ test/test_cimd2.c:361:19: note: passing argument to parameter 'errorcode' here unsigned char *errorcode, unsigned char *errortext) { ^ test/test_cimd2.c:650:40: warning: passing 'char [22]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] send_error(out, 55, sequence, "500", "no messages available"); ^~~~~~~~~~~~~~~~~~~~~~~ test/test_cimd2.c:361:45: note: passing argument to parameter 'errortext' here unsigned char *errorcode, unsigned char *errortext) { ^ test/test_cimd2.c:654:33: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] send_error(out, 55, sequence, "501", "bad mode"); ^~~~~ test/test_cimd2.c:361:19: note: passing argument to parameter 'errorcode' here unsigned char *errorcode, unsigned char *errortext) { ^ test/test_cimd2.c:654:40: warning: passing 'char [9]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] send_error(out, 55, sequence, "501", "bad mode"); ^~~~~~~~~~ test/test_cimd2.c:361:45: note: passing argument to parameter 'errortext' here unsigned char *errorcode, unsigned char *errortext) { ^ test/test_cimd2.c:676:33: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] send_error(out, 56, sequence, "602", "bad mode"); ^~~~~ test/test_cimd2.c:361:19: note: passing argument to parameter 'errorcode' here unsigned char *errorcode, unsigned char *errortext) { ^ test/test_cimd2.c:676:40: warning: passing 'char [9]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] send_error(out, 56, sequence, "602", "bad mode"); ^~~~~~~~~~ test/test_cimd2.c:361:45: note: passing argument to parameter 'errortext' here unsigned char *errorcode, unsigned char *errortext) { ^ test/test_cimd2.c:693:4: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] "801", "changing password not allowed"); ^~~~~ test/test_cimd2.c:361:19: note: passing argument to parameter 'errorcode' here unsigned char *errorcode, unsigned char *errortext) { ^ test/test_cimd2.c:693:11: warning: passing 'char [30]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] "801", "changing password not allowed"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ test/test_cimd2.c:361:45: note: passing argument to parameter 'errortext' here unsigned char *errorcode, unsigned char *errortext) { ^ test/test_cimd2.c:697:33: warning: passing 'char [2]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] send_error(out, 58, sequence, "3", "cannot set"); ^~~ test/test_cimd2.c:361:19: note: passing argument to parameter 'errorcode' here unsigned char *errorcode, unsigned char *errortext) { ^ test/test_cimd2.c:697:38: warning: passing 'char [11]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] send_error(out, 58, sequence, "3", "cannot set"); ^~~~~~~~~~~~ test/test_cimd2.c:361:45: note: passing argument to parameter 'errortext' here unsigned char *errorcode, unsigned char *errortext) { ^ test/test_cimd2.c:709:33: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] send_error(out, 59, sequence, "900", "missing parameter"); ^~~~~ test/test_cimd2.c:361:19: note: passing argument to parameter 'errorcode' here unsigned char *errorcode, unsigned char *errortext) { ^ test/test_cimd2.c:709:40: warning: passing 'char [18]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] send_error(out, 59, sequence, "900", "missing parameter"); ^~~~~~~~~~~~~~~~~~~ test/test_cimd2.c:361:45: note: passing argument to parameter 'errortext' here unsigned char *errorcode, unsigned char *errortext) { ^ test/test_cimd2.c:719:33: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] send_error(out, 59, sequence, "900", "unknown parameter"); ^~~~~ test/test_cimd2.c:361:19: note: passing argument to parameter 'errorcode' here unsigned char *errorcode, unsigned char *errortext) { ^ test/test_cimd2.c:719:40: warning: passing 'char [18]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] send_error(out, 59, sequence, "900", "unknown parameter"); ^~~~~~~~~~~~~~~~~~~ test/test_cimd2.c:361:45: note: passing argument to parameter 'errortext' here unsigned char *errorcode, unsigned char *errortext) { ^ test/test_cimd2.c:812:33: warning: passing 'char [2]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] send_error(out, 98, sequence, "1", "unexpected operation"); ^~~ test/test_cimd2.c:361:19: note: passing argument to parameter 'errorcode' here unsigned char *errorcode, unsigned char *errortext) { ^ test/test_cimd2.c:812:38: warning: passing 'char [21]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] send_error(out, 98, sequence, "1", "unexpected operation"); ^~~~~~~~~~~~~~~~~~~~~~ test/test_cimd2.c:361:45: note: passing argument to parameter 'errortext' here unsigned char *errorcode, unsigned char *errortext) { ^ test/test_cimd2.c:942:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] outbuffer = octstr_create(intro); ^~~~~~~~~~~~~~~~~~~~ ./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, ^ test/test_cimd2.c:1004:4: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] { "--user", &username, 0 }, ^~~~~~~~ test/test_cimd2.c:1005:4: warning: initializing 'unsigned char *' with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] { "--password", &password, 0 }, ^~~~~~~~~~~~ test/test_cimd2.c:1006:4: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] { "--port", &port, 1 }, ^~~~~~~~ test/test_cimd2.c:1007:4: warning: initializing 'unsigned char *' with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] { "--intro", &intro, 0 }, ^~~~~~~~~ test/test_cimd2.c:1008:4: warning: initializing 'unsigned char *' with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] { "--activity", &activity, 1 }, ^~~~~~~~~~~~ test/test_cimd2.c:1009:4: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] { "--spew", &spew, 1 }, ^~~~~~~~ test/test_cimd2.c:1010:4: warning: initializing 'unsigned char *' with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] { "--logging", &logging, 1 }, ^~~~~~~~~~~ test/test_cimd2.c:1011:4: warning: initializing 'unsigned char *' with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] { "--checking", &checking, 1 }, ^~~~~~~~~~~~ test/test_cimd2.c:1012:4: warning: initializing 'unsigned char *' with an expression of type 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] { "--max", &max_deliveries, 1 }, ^~~~~~~ test/test_cimd2.c:1059:11: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] progname = argv[0]; ^ ~~~~~~~ test/test_cimd2.c:1064:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(argv[i], options[opt].option) == 0) { ^~~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:77:43: note: passing argument to parameter '__s2' here int strcmp(const char *__s1, const char *__s2); ^ clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o test/test_pcre.o -c test/test_pcre.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o test/test_dict.o -c test/test_dict.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o test/test_radius_acct.o -c test/test_radius_acct.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o test/drive_wapbox.o -c test/drive_wapbox.c test/decompile.c:1187:32: warning: passing 'WBXML_MB_U_INT32' (aka 'unsigned char [4]') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] AddVariableIndexNode(buffer, index, VAR_ESCAPED); ^~~~~ test/decompile.c:475:61: note: passing argument to parameter 'string' here static void AddVariableIndexNode(P_WBXML_INFO buffer, char* string, WBXML_VARIABLE_TYPE type) ^ test/decompile.c:1196:32: warning: passing 'WBXML_MB_U_INT32' (aka 'unsigned char [4]') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] AddVariableIndexNode(buffer, index, VAR_UNESCAPED); ^~~~~ test/decompile.c:475:61: note: passing argument to parameter 'string' here static void AddVariableIndexNode(P_WBXML_INFO buffer, char* string, WBXML_VARIABLE_TYPE type) ^ test/decompile.c:1205:32: warning: passing 'WBXML_MB_U_INT32' (aka 'unsigned char [4]') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] AddVariableIndexNode(buffer, index, VAR_UNCHANGED); ^~~~~ test/decompile.c:475:61: note: passing argument to parameter 'string' here static void AddVariableIndexNode(P_WBXML_INFO buffer, char* string, WBXML_VARIABLE_TYPE type) ^ test/decompile.c:1439:29: warning: comparing a pointer to a null character constant; did you mean to compare to NULL? [-Wpointer-compare] while (buffer->m_curpos != '\0') ^~~~ (void *)0 clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o test/test_octstr_immutables.o -c test/test_octstr_immutables.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o test/test_ppg.o -c test/test_ppg.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o test/test_md5.o -c test/test_md5.c test/drive_wapbox.c:302:8: warning: passing 'unsigned char [4]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] pdu = octstr_create_from_data(data, sizeof(data)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./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, ^ test/drive_wapbox.c:313:9: warning: passing 'unsigned char [3]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return octstr_create_from_data(data, sizeof(data)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./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, ^ test/drive_wapbox.c:327:26: warning: passing 'unsigned char [72]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] octstr_append_data(pdu, data, sizeof(data)); ^~~~ ./gwlib/octstr.h:435:51: note: passing argument to parameter 'data' here void octstr_append_data(Octstr *ostr, const char *data, long len); ^ 49 warnings generated. clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o test/test_si.o -c test/test_si.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o checks/check_octstr.o -c checks/check_octstr.c clang -D_REENTRANT=1 -I. -Igw -O2 -I/opt/pkg/include/libxml2/libxml -I/opt/pkg/include -DDARWIN=1 -I/opt/pkg/include/libxml2 -I/usr/include -o checks/check_ipcheck.o -c checks/check_ipcheck.c test/test_ppg.c:84:12: error: redefinition of 'wait' as different kind of symbol wait = 0, ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/wait.h:248:9: note: previous definition is here pid_t wait(int *) __DARWIN_ALIAS_C(wait); ^ test/test_ppg.c:651:17: warning: address of function 'wait' will always evaluate to 'true' [-Wpointer-bool-conversion] if (wait) ~~ ^~~~ test/test_ppg.c:651:17: note: prefix with the address-of operator to silence this warning if (wait) ^ & test/test_ppg.c:787:15: error: non-object type 'pid_t (int *)' (aka 'int (int *)') is not assignable wait = 1; ~~~~ ^ 1 warning and 2 errors generated. gmake: *** [Makefile:230: test/test_ppg.o] Error 1 gmake: *** Waiting for unfinished jobs.... 3 warnings generated. checks/check_octstr.c:81:6: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "abc", ^~~~~~~~~~~~ checks/check_octstr.c:82:6: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ABC", ^~~~~~~~~~~~ 2 warnings generated. 4 warnings generated. *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/www/kannel *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/www/kannel