=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/net/openslp", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for openslp-1.2.1nb11 --- all --- /opt/pkg/bin/bmake all-recursive --- all-recursive --- Making all in common --- slp_compare.lo --- --- slp_buffer.lo --- --- slp_message.lo --- --- slp_property.lo --- --- slp_linkedlist.lo --- --- slp_buffer.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT slp_buffer.lo -MD -MP -MF .deps/slp_buffer.Tpo -c -o slp_buffer.lo slp_buffer.c --- slp_message.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT slp_message.lo -MD -MP -MF .deps/slp_message.Tpo -c -o slp_message.lo slp_message.c --- slp_compare.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT slp_compare.lo -MD -MP -MF .deps/slp_compare.Tpo -c -o slp_compare.lo slp_compare.c --- slp_linkedlist.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT slp_linkedlist.lo -MD -MP -MF .deps/slp_linkedlist.Tpo -c -o slp_linkedlist.lo slp_linkedlist.c --- slp_property.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT slp_property.lo -MD -MP -MF .deps/slp_property.Tpo -c -o slp_property.lo slp_property.c --- slp_compare.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_compare.lo -MD -MP -MF .deps/slp_compare.Tpo -c slp_compare.c -fPIC -DPIC -o .libs/slp_compare.o --- slp_linkedlist.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_linkedlist.lo -MD -MP -MF .deps/slp_linkedlist.Tpo -c slp_linkedlist.c -fPIC -DPIC -o .libs/slp_linkedlist.o --- slp_buffer.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_buffer.lo -MD -MP -MF .deps/slp_buffer.Tpo -c slp_buffer.c -fPIC -DPIC -o .libs/slp_buffer.o --- slp_property.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_property.lo -MD -MP -MF .deps/slp_property.Tpo -c slp_property.c -fPIC -DPIC -o .libs/slp_property.o --- slp_message.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_message.lo -MD -MP -MF .deps/slp_message.Tpo -c slp_message.c -fPIC -DPIC -o .libs/slp_message.o --- slp_buffer.lo --- slp_buffer.c: In function 'memdup': slp_buffer.c:61:12: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 61 | result = (unsigned char*)xmalloc(srclen); | ^ --- slp_message.lo --- slp_message.c: In function 'SLPMessageParseHeader': slp_message.c:87:51: warning: pointer targets in passing argument 1 of 'AsUINT24' differ in signedness [-Wpointer-sign] 87 | header->length = AsUINT24(buffer->curpos + 2); | ~~~~~~~~~~~~~~~^~~ | | | unsigned char * In file included from slp_message.c:50: slp_message.h:483:35: note: expected 'const char *' but argument is of type 'unsigned char *' 483 | unsigned int AsUINT24(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:88:51: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 88 | header->flags = AsUINT16(buffer->curpos + 5); | ~~~~~~~~~~~~~~~^~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:90:51: warning: pointer targets in passing argument 1 of 'AsUINT24' differ in signedness [-Wpointer-sign] 90 | header->extoffset = AsUINT24(buffer->curpos + 7); | ~~~~~~~~~~~~~~~^~~ | | | unsigned char * slp_message.h:483:35: note: expected 'const char *' but argument is of type 'unsigned char *' 483 | unsigned int AsUINT24(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:91:51: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 91 | header->xid = AsUINT16(buffer->curpos + 10); | ~~~~~~~~~~~~~~~^~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:92:51: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 92 | header->langtaglen = AsUINT16(buffer->curpos + 12); | ~~~~~~~~~~~~~~~^~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:93:25: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 93 | header->langtag = buffer->curpos + 14; | ^ slp_message.c: In function 'ParseAuthBlock': slp_message.c:140:23: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 140 | authblock->opaque = buffer->curpos; | ^ slp_message.c:142:46: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 142 | authblock->bsd = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:143:55: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 143 | authblock->length = AsUINT16(buffer->curpos + 2); | ~~~~~~~~~~~~~~~^~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:150:55: warning: pointer targets in passing argument 1 of 'AsUINT32' differ in signedness [-Wpointer-sign] 150 | authblock->timestamp = AsUINT32(buffer->curpos + 4); | ~~~~~~~~~~~~~~~^~~ | | | unsigned char * slp_message.h:484:35: note: expected 'const char *' but argument is of type 'unsigned char *' 484 | unsigned int AsUINT32(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:151:55: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 151 | authblock->spistrlen = AsUINT16(buffer->curpos + 8); | ~~~~~~~~~~~~~~~^~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:152:29: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 152 | authblock->spistr = buffer->curpos + 10; | ^ slp_message.c: In function 'ParseUrlEntry': slp_message.c:184:22: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 184 | urlentry->opaque = buffer->curpos; | ^ slp_message.c:191:41: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 191 | urlentry->lifetime = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:195:39: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 195 | urlentry->urllen = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:202:19: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 202 | urlentry->url = buffer->curpos; | ^ slp_message.c: In function 'ParseSrvRqst': slp_message.c:243:41: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 243 | srvrqst->prlistlen = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:249:21: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 249 | srvrqst->prlist = buffer->curpos; | ^ slp_message.c:254:42: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 254 | srvrqst->srvtypelen = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:260:22: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 260 | srvrqst->srvtype = buffer->curpos; | ^ slp_message.c:265:44: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 265 | srvrqst->scopelistlen = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:271:24: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 271 | srvrqst->scopelist = buffer->curpos; | ^ slp_message.c:277:44: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 277 | srvrqst->predicatelen = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:283:24: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 283 | srvrqst->predicate = buffer->curpos; | ^ slp_message.c:288:41: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 288 | srvrqst->spistrlen = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:294:21: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 294 | srvrqst->spistr = buffer->curpos; | ^ slp_message.c: In function 'ParseSrvRply': slp_message.c:315:41: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 315 | srvrply->errorcode = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:320:45: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 320 | srvrply->errorcode = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:326:40: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 326 | srvrply->urlcount = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c: In function 'ParseSrvReg': slp_message.c:373:41: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 373 | srvreg->srvtypelen = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:379:21: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 379 | srvreg->srvtype = buffer->curpos; | ^ slp_message.c:384:43: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 384 | srvreg->scopelistlen = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:390:23: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 390 | srvreg->scopelist = buffer->curpos; | ^ slp_message.c:395:42: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 395 | srvreg->attrlistlen = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:401:22: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 401 | srvreg->attrlist = buffer->curpos; | ^ slp_message.c: In function 'ParseSrvDeReg': slp_message.c:444:45: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 444 | srvdereg->scopelistlen = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:450:25: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 450 | srvdereg->scopelist = buffer->curpos; | ^ slp_message.c:465:43: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 465 | srvdereg->taglistlen = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:471:23: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 471 | srvdereg->taglist = buffer->curpos; | ^ slp_message.c: In function 'ParseSrvAck': slp_message.c:482:40: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 482 | srvack->errorcode = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c: In function 'ParseAttrRqst': slp_message.c:498:42: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 498 | attrrqst->prlistlen = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:504:22: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 504 | attrrqst->prlist = buffer->curpos; | ^ slp_message.c:508:39: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 508 | attrrqst->urllen = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:514:19: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 514 | attrrqst->url = buffer->curpos; | ^ slp_message.c:519:45: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 519 | attrrqst->scopelistlen = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:525:25: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 525 | attrrqst->scopelist = buffer->curpos; | ^ slp_message.c:530:43: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 530 | attrrqst->taglistlen = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:536:23: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 536 | attrrqst->taglist = buffer->curpos; | ^ slp_message.c:541:42: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 541 | attrrqst->spistrlen = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:547:22: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 547 | attrrqst->spistr = buffer->curpos; | ^ slp_message.c: In function 'ParseAttrRply': slp_message.c:568:42: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 568 | attrrply->errorcode = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:573:46: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 573 | attrrply->errorcode = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:579:44: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 579 | attrrply->attrlistlen = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:585:24: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 585 | attrrply->attrlist = buffer->curpos; | ^ slp_message.c: In function 'ParseDAAdvert': slp_message.c:626:42: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 626 | daadvert->errorcode = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:631:46: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 631 | daadvert->errorcode = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:641:42: warning: pointer targets in passing argument 1 of 'AsUINT32' differ in signedness [-Wpointer-sign] 641 | daadvert->bootstamp = AsUINT32(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:484:35: note: expected 'const char *' but argument is of type 'unsigned char *' 484 | unsigned int AsUINT32(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:645:39: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 645 | daadvert->urllen = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:651:19: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 651 | daadvert->url = buffer->curpos; | ^ slp_message.c:655:45: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 655 | daadvert->scopelistlen = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:661:25: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 661 | daadvert->scopelist = buffer->curpos; | ^ slp_message.c:665:44: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 665 | daadvert->attrlistlen = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:671:24: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 671 | daadvert->attrlist = buffer->curpos; | ^ slp_message.c:675:43: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 675 | daadvert->spilistlen = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:681:23: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 681 | daadvert->spilist = buffer->curpos; | ^ slp_message.c: In function 'ParseSAAdvert': slp_message.c:724:39: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 724 | saadvert->urllen = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:730:19: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 730 | saadvert->url = buffer->curpos; | ^ slp_message.c:734:45: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 734 | saadvert->scopelistlen = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:740:25: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 740 | saadvert->scopelist = buffer->curpos; | ^ slp_message.c:744:44: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 744 | saadvert->attrlistlen = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:750:24: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 750 | saadvert->attrlist = buffer->curpos; | ^ slp_message.c: In function 'ParseSrvTypeRqst': slp_message.c:789:45: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 789 | srvtyperqst->prlistlen = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:795:25: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 795 | srvtyperqst->prlist = srvtyperqst->prlistlen ? buffer->curpos : 0; | ^ slp_message.c:799:49: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 799 | srvtyperqst->namingauthlen = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:811:33: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 811 | srvtyperqst->namingauth = buffer->curpos; | ^ slp_message.c:820:48: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 820 | srvtyperqst->scopelistlen = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:826:28: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 826 | srvtyperqst->scopelist = buffer->curpos; | ^ slp_message.c: In function 'ParseSrvTypeRply': slp_message.c:844:45: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 844 | srvtyperply->errorcode = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:849:49: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 849 | srvtyperply->errorcode = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:855:50: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 855 | srvtyperply->srvtypelistlen = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:862:30: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 862 | srvtyperply->srvtypelist = buffer->curpos; | ^ slp_message.c: In function 'ParseExtension': slp_message.c:896:32: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 896 | extid = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:899:37: warning: pointer targets in passing argument 1 of 'AsUINT24' differ in signedness [-Wpointer-sign] 899 | nextoffset = AsUINT24(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:483:35: note: expected 'const char *' but argument is of type 'unsigned char *' 483 | unsigned int AsUINT24(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_message.c:914:59: warning: pointer targets in passing argument 1 of 'AsUINT32' differ in signedness [-Wpointer-sign] 914 | message->body.srvreg.pid = AsUINT32(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:484:35: note: expected 'const char *' but argument is of type 'unsigned char *' 484 | unsigned int AsUINT32(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ --- slp_buffer.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_buffer.lo -MD -MP -MF .deps/slp_buffer.Tpo -c slp_buffer.c -o slp_buffer.o >/dev/null 2>&1 --- slp_linkedlist.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_linkedlist.lo -MD -MP -MF .deps/slp_linkedlist.Tpo -c slp_linkedlist.c -o slp_linkedlist.o >/dev/null 2>&1 mv -f .deps/slp_linkedlist.Tpo .deps/slp_linkedlist.Plo --- slp_compare.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_compare.lo -MD -MP -MF .deps/slp_compare.Tpo -c slp_compare.c -o slp_compare.o >/dev/null 2>&1 --- slp_xid.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT slp_xid.lo -MD -MP -MF .deps/slp_xid.Tpo -c -o slp_xid.lo slp_xid.c --- slp_buffer.lo --- mv -f .deps/slp_buffer.Tpo .deps/slp_buffer.Plo --- slp_database.lo --- --- slp_property.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_property.lo -MD -MP -MF .deps/slp_property.Tpo -c slp_property.c -o slp_property.o >/dev/null 2>&1 --- slp_database.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT slp_database.lo -MD -MP -MF .deps/slp_database.Tpo -c -o slp_database.lo slp_database.c --- slp_xid.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_xid.lo -MD -MP -MF .deps/slp_xid.Tpo -c slp_xid.c -fPIC -DPIC -o .libs/slp_xid.o --- slp_database.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_database.lo -MD -MP -MF .deps/slp_database.Tpo -c slp_database.c -fPIC -DPIC -o .libs/slp_database.o --- slp_compare.lo --- mv -f .deps/slp_compare.Tpo .deps/slp_compare.Plo --- slp_xmalloc.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT slp_xmalloc.lo -MD -MP -MF .deps/slp_xmalloc.Tpo -c -o slp_xmalloc.lo slp_xmalloc.c --- slp_xid.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_xid.lo -MD -MP -MF .deps/slp_xid.Tpo -c slp_xid.c -o slp_xid.o >/dev/null 2>&1 --- slp_message.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_message.lo -MD -MP -MF .deps/slp_message.Tpo -c slp_message.c -o slp_message.o >/dev/null 2>&1 --- slp_property.lo --- mv -f .deps/slp_property.Tpo .deps/slp_property.Plo --- slp_parse.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT slp_parse.lo -MD -MP -MF .deps/slp_parse.Tpo -c -o slp_parse.lo slp_parse.c --- slp_database.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_database.lo -MD -MP -MF .deps/slp_database.Tpo -c slp_database.c -o slp_database.o >/dev/null 2>&1 --- slp_xid.lo --- mv -f .deps/slp_xid.Tpo .deps/slp_xid.Plo --- slp_iface.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT slp_iface.lo -MD -MP -MF .deps/slp_iface.Tpo -c -o slp_iface.lo slp_iface.c --- slp_xmalloc.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_xmalloc.lo -MD -MP -MF .deps/slp_xmalloc.Tpo -c slp_xmalloc.c -fPIC -DPIC -o .libs/slp_xmalloc.o --- slp_parse.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_parse.lo -MD -MP -MF .deps/slp_parse.Tpo -c slp_parse.c -fPIC -DPIC -o .libs/slp_parse.o --- slp_xmalloc.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_xmalloc.lo -MD -MP -MF .deps/slp_xmalloc.Tpo -c slp_xmalloc.c -o slp_xmalloc.o >/dev/null 2>&1 --- slp_database.lo --- mv -f .deps/slp_database.Tpo .deps/slp_database.Plo --- slp_net.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT slp_net.lo -MD -MP -MF .deps/slp_net.Tpo -c -o slp_net.lo slp_net.c --- slp_iface.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_iface.lo -MD -MP -MF .deps/slp_iface.Tpo -c slp_iface.c -fPIC -DPIC -o .libs/slp_iface.o --- slp_xmalloc.lo --- mv -f .deps/slp_xmalloc.Tpo .deps/slp_xmalloc.Plo --- slp_pid.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT slp_pid.lo -MD -MP -MF .deps/slp_pid.Tpo -c -o slp_pid.lo slp_pid.c --- slp_parse.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_parse.lo -MD -MP -MF .deps/slp_parse.Tpo -c slp_parse.c -o slp_parse.o >/dev/null 2>&1 --- slp_net.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_net.lo -MD -MP -MF .deps/slp_net.Tpo -c slp_net.c -fPIC -DPIC -o .libs/slp_net.o --- slp_iface.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_iface.lo -MD -MP -MF .deps/slp_iface.Tpo -c slp_iface.c -o slp_iface.o >/dev/null 2>&1 --- slp_parse.lo --- mv -f .deps/slp_parse.Tpo .deps/slp_parse.Plo --- slp_attr_l.c --- /usr/bin/bash ../ylwrap slp_attr_l.l lex.yy.c slp_attr_l.c -- flex --- slp_pid.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_pid.lo -MD -MP -MF .deps/slp_pid.Tpo -c slp_pid.c -fPIC -DPIC -o .libs/slp_pid.o --- slp_net.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_net.lo -MD -MP -MF .deps/slp_net.Tpo -c slp_net.c -o slp_net.o >/dev/null 2>&1 --- slp_predicate.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT slp_predicate.lo -MD -MP -MF .deps/slp_predicate.Tpo -c -o slp_predicate.lo slp_predicate.c --- slp_message.lo --- mv -f .deps/slp_message.Tpo .deps/slp_message.Plo --- slp_dhcp.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT slp_dhcp.lo -MD -MP -MF .deps/slp_dhcp.Tpo -c -o slp_dhcp.lo slp_dhcp.c --- slp_iface.lo --- mv -f .deps/slp_iface.Tpo .deps/slp_iface.Plo --- slp_v1message.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT slp_v1message.lo -MD -MP -MF .deps/slp_v1message.Tpo -c -o slp_v1message.lo slp_v1message.c --- slp_net.lo --- mv -f .deps/slp_net.Tpo .deps/slp_net.Plo --- slp_utf8.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT slp_utf8.lo -MD -MP -MF .deps/slp_utf8.Tpo -c -o slp_utf8.lo slp_utf8.c --- slp_pid.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_pid.lo -MD -MP -MF .deps/slp_pid.Tpo -c slp_pid.c -o slp_pid.o >/dev/null 2>&1 --- slp_predicate.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_predicate.lo -MD -MP -MF .deps/slp_predicate.Tpo -c slp_predicate.c -fPIC -DPIC -o .libs/slp_predicate.o --- slp_dhcp.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_dhcp.lo -MD -MP -MF .deps/slp_dhcp.Tpo -c slp_dhcp.c -fPIC -DPIC -o .libs/slp_dhcp.o --- slp_pid.lo --- mv -f .deps/slp_pid.Tpo .deps/slp_pid.Plo --- slp_auth.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT slp_auth.lo -MD -MP -MF .deps/slp_auth.Tpo -c -o slp_auth.lo slp_auth.c --- slp_v1message.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_v1message.lo -MD -MP -MF .deps/slp_v1message.Tpo -c slp_v1message.c -fPIC -DPIC -o .libs/slp_v1message.o --- slp_predicate.lo --- slp_predicate.c: In function 'SLPEvaluateFilterTree': slp_predicate.c:257:64: warning: pointer targets in passing argument 1 of 'fnmatch' differ in signedness [-Wpointer-sign] 257 | ( FNM_NOMATCH == fnmatch(filter->attrs.next->name, | ~~~~~~~~~~~~~~~~~~^~~~~~ | | | unsigned char * In file included from slp_predicate.c:3: /usr/include/fnmatch.h:50:20: note: expected 'const char *' but argument is of type 'unsigned char *' 50 | extern int fnmatch(const char *, const char *, int); | ^~~~~~~~~~~~ slp_predicate.c:258:51: warning: pointer targets in passing argument 2 of 'fnmatch' differ in signedness [-Wpointer-sign] 258 | attrs->name, FNM_CASEFOLD)) ) | ~~~~~^~~~~~ | | | unsigned char * /usr/include/fnmatch.h:50:34: note: expected 'const char *' but argument is of type 'unsigned char *' 50 | extern int fnmatch(const char *, const char *, int); | ^~~~~~~~~~~~ --- slp_utf8.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_utf8.lo -MD -MP -MF .deps/slp_utf8.Tpo -c slp_utf8.c -fPIC -DPIC -o .libs/slp_utf8.o --- slp_dhcp.lo --- slp_dhcp.c: In function 'DHCPGetOptionInfo': slp_dhcp.c:476:18: warning: pointer targets in passing argument 1 of 'ToUINT32' differ in signedness [-Wpointer-sign] 476 | ToUINT32(p, xid); | ^ | | | unsigned char * In file included from slp_dhcp.c:51: slp_message.h:491:21: note: expected 'char *' but argument is of type 'unsigned char *' 491 | void ToUINT32(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slp_dhcp.c:538:53: warning: pointer targets in passing argument 1 of 'AsUINT32' differ in signedness [-Wpointer-sign] 538 | else if(rcvbufsz >= 236 && AsUINT32(&rcvbuf[4]) == xid) | ^~~~~~~~~~ | | | unsigned char * slp_message.h:484:35: note: expected 'const char *' but argument is of type 'unsigned char *' 484 | unsigned int AsUINT32(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_dhcp.c: In function 'DHCPParseSLPTags': slp_dhcp.c:579:62: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 579 | encoding = (optdatasz > 1)? AsUINT16(p): 0; | ^ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ --- slp_v1message.lo --- slp_v1message.c: In function 'SLPv1MessageParseHeader': slp_v1message.c:72:51: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 72 | header->length = AsUINT16(buffer->curpos + 2); | ~~~~~~~~~~~~~~~^~~ | | | unsigned char * In file included from slp_v1message.h:52, from slp_v1message.c:41: slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_v1message.c:74:51: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 74 | header->encoding = AsUINT16(buffer->curpos + 8); | ~~~~~~~~~~~~~~~^~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_v1message.c:76:51: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 76 | header->xid = AsUINT16(buffer->curpos + 10); | ~~~~~~~~~~~~~~~^~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_v1message.c:78:25: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 78 | header->langtag = buffer->curpos + 6; | ^ slp_v1message.c: In function 'v1ParseUrlEntry': slp_v1message.c:130:41: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 130 | urlentry->lifetime = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_v1message.c:134:39: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 134 | urlentry->urllen = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_v1message.c:141:19: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 141 | urlentry->url = buffer->curpos; | ^ slp_v1message.c: In function 'v1ParseSrvRqst': slp_v1message.c:173:41: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 173 | srvrqst->prlistlen = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_v1message.c:180:21: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 180 | srvrqst->prlist = buffer->curpos; | ^ slp_v1message.c:189:44: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 189 | srvrqst->predicatelen = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_v1message.c:195:24: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 195 | srvrqst->predicate = buffer->curpos; | ^ slp_v1message.c: In function 'v1ParseSrvReg': slp_v1message.c:285:42: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 285 | srvreg->attrlistlen = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_v1message.c:291:22: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 291 | srvreg->attrlist = buffer->curpos; | ^ slp_v1message.c: In function 'v1ParseSrvDeReg': slp_v1message.c:346:48: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 346 | srvdereg->urlentry.urllen = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_v1message.c:352:28: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 352 | srvdereg->urlentry.url = buffer->curpos; | ^ slp_v1message.c:362:43: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 362 | srvdereg->taglistlen = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_v1message.c:368:23: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 368 | srvdereg->taglist = buffer->curpos; | ^ slp_v1message.c: In function 'v1ParseAttrRqst': slp_v1message.c:392:42: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 392 | attrrqst->prlistlen = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_v1message.c:398:22: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 398 | attrrqst->prlist = buffer->curpos; | ^ slp_v1message.c:407:39: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 407 | attrrqst->urllen = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_v1message.c:413:19: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 413 | attrrqst->url = buffer->curpos; | ^ slp_v1message.c:422:45: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 422 | attrrqst->scopelistlen = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_v1message.c:430:29: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 430 | attrrqst->scopelist = buffer->curpos; | ^ slp_v1message.c:444:43: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 444 | attrrqst->taglistlen = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_v1message.c:450:23: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 450 | attrrqst->taglist = buffer->curpos; | ^ slp_v1message.c: In function 'v1ParseSrvTypeRqst': slp_v1message.c:480:45: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 480 | srvtyperqst->prlistlen = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_v1message.c:486:25: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 486 | srvtyperqst->prlist = srvtyperqst->prlistlen ? buffer->curpos : 0; | ^ slp_v1message.c:495:49: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 495 | srvtyperqst->namingauthlen = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_v1message.c:507:33: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 507 | srvtyperqst->namingauth = buffer->curpos; | ^ slp_v1message.c:521:48: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 521 | srvtyperqst->scopelistlen = AsUINT16(buffer->curpos); | ~~~~~~^~~~~~~~ | | | unsigned char * slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ slp_v1message.c:529:32: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 529 | srvtyperqst->scopelist = buffer->curpos; | ^ --- slp_predicate.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_predicate.lo -MD -MP -MF .deps/slp_predicate.Tpo -c slp_predicate.c -o slp_predicate.o >/dev/null 2>&1 --- slp_dhcp.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_dhcp.lo -MD -MP -MF .deps/slp_dhcp.Tpo -c slp_dhcp.c -o slp_dhcp.o >/dev/null 2>&1 --- slp_auth.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_auth.lo -MD -MP -MF .deps/slp_auth.Tpo -c slp_auth.c -fPIC -DPIC -o .libs/slp_auth.o --- slp_utf8.lo --- slp_utf8.c: In function 'SLPv1ToEncoding': slp_utf8.c:268:17: warning: 'uni' may be used uninitialized [-Wmaybe-uninitialized] 268 | ToUINT32(string, uni); | ^~~~~~~~~~~~~~~~~~~~~ slp_utf8.c:234:14: note: 'uni' was declared here 234 | unsigned uni; | ^~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_utf8.lo -MD -MP -MF .deps/slp_utf8.Tpo -c slp_utf8.c -o slp_utf8.o >/dev/null 2>&1 --- slp_auth.lo --- slp_auth.c: In function 'SLPAuthDigestString': slp_auth.c:91:14: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 91 | ToUINT16(curpos,spistrlen); | ^~~~~~ | | | unsigned char * In file included from slp_auth.h:53, from slp_auth.c:53: slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slp_auth.c:96:14: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 96 | ToUINT16(curpos,stringlen); | ^~~~~~ | | | unsigned char * slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slp_auth.c:101:14: warning: pointer targets in passing argument 1 of 'ToUINT32' differ in signedness [-Wpointer-sign] 101 | ToUINT32(curpos, timestamp); | ^~~~~~ | | | unsigned char * slp_message.h:491:21: note: expected 'char *' but argument is of type 'unsigned char *' 491 | void ToUINT32(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slp_auth.c: In function 'SLPAuthDigestDAAdvert': slp_auth.c:167:14: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 167 | ToUINT16(curpos,spistrlen); | ^~~~~~ | | | unsigned char * slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slp_auth.c:172:14: warning: pointer targets in passing argument 1 of 'ToUINT32' differ in signedness [-Wpointer-sign] 172 | ToUINT32(curpos,bootstamp); | ^~~~~~ | | | unsigned char * slp_message.h:491:21: note: expected 'char *' but argument is of type 'unsigned char *' 491 | void ToUINT32(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slp_auth.c:175:14: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 175 | ToUINT16(curpos,urllen); | ^~~~~~ | | | unsigned char * slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slp_auth.c:180:14: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 180 | ToUINT16(curpos,scopelistlen); | ^~~~~~ | | | unsigned char * slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slp_auth.c:185:14: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 185 | ToUINT16(curpos,attrlistlen); | ^~~~~~ | | | unsigned char * slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slp_auth.c:190:14: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 190 | ToUINT16(curpos,daspistrlen); | ^~~~~~ | | | unsigned char * slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slp_auth.c:195:14: warning: pointer targets in passing argument 1 of 'ToUINT32' differ in signedness [-Wpointer-sign] 195 | ToUINT32(curpos,timestamp); | ^~~~~~ | | | unsigned char * slp_message.h:491:21: note: expected 'char *' but argument is of type 'unsigned char *' 491 | void ToUINT32(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slp_auth.c: In function 'SLPAuthSignDigest': slp_auth.c:250:14: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 250 | ToUINT16(curpos,0x0002); /* the BSD for DSA-SHA1 */ | ^~~~~~ | | | unsigned char * slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slp_auth.c:252:14: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 252 | ToUINT16(curpos,*authblocklen); | ^~~~~~ | | | unsigned char * slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slp_auth.c:254:14: warning: pointer targets in passing argument 1 of 'ToUINT32' differ in signedness [-Wpointer-sign] 254 | ToUINT32(curpos,0xffffffff); /* very long expiration (for now) */ | ^~~~~~ | | | unsigned char * slp_message.h:491:21: note: expected 'char *' but argument is of type 'unsigned char *' 491 | void ToUINT32(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slp_auth.c:256:14: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 256 | ToUINT16(curpos, spistrlen); | ^~~~~~ | | | unsigned char * slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ --- slp_predicate.lo --- mv -f .deps/slp_predicate.Tpo .deps/slp_predicate.Plo --- slp_crypto.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT slp_crypto.lo -MD -MP -MF .deps/slp_crypto.Tpo -c -o slp_crypto.lo slp_crypto.c --- slp_v1message.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_v1message.lo -MD -MP -MF .deps/slp_v1message.Tpo -c slp_v1message.c -o slp_v1message.o >/dev/null 2>&1 --- slp_utf8.lo --- mv -f .deps/slp_utf8.Tpo .deps/slp_utf8.Plo --- slp_spi.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT slp_spi.lo -MD -MP -MF .deps/slp_spi.Tpo -c -o slp_spi.lo slp_spi.c --- slp_crypto.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_crypto.lo -MD -MP -MF .deps/slp_crypto.Tpo -c slp_crypto.c -fPIC -DPIC -o .libs/slp_crypto.o --- slp_dhcp.lo --- mv -f .deps/slp_dhcp.Tpo .deps/slp_dhcp.Plo --- slp_network.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT slp_network.lo -MD -MP -MF .deps/slp_network.Tpo -c -o slp_network.lo slp_network.c --- slp_auth.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_auth.lo -MD -MP -MF .deps/slp_auth.Tpo -c slp_auth.c -o slp_auth.o >/dev/null 2>&1 --- slp_crypto.lo --- slp_crypto.c: In function 'SLPCryptoDSAKeyDup': slp_crypto.c:90:5: warning: 'DSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 90 | result = DSA_new(); | ^~~~~~ In file included from slp_crypto.h:54, from slp_crypto.c:51: /tmp/work/net/openslp/work/.buildlink/include/openssl/dsa.h:129:28: note: declared here 129 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^~~~~~~ slp_crypto.c:103:9: warning: 'DSA_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 103 | DSA_get0_pqg(dsa, &p, &q, &g); | ^~~~~~~~~~~~ /tmp/work/net/openslp/work/.buildlink/include/openssl/dsa.h:205:28: note: declared here 205 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^~~~~~~~~~~~ slp_crypto.c:104:9: warning: 'DSA_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 104 | DSA_set0_pqg(result, BN_dup(p), BN_dup(q), BN_dup(g)); | ^~~~~~~~~~~~ /tmp/work/net/openslp/work/.buildlink/include/openssl/dsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~~ slp_crypto.c:105:9: warning: 'DSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 105 | DSA_get0_key(dsa, &pub_key, &priv_key); | ^~~~~~~~~~~~ /tmp/work/net/openslp/work/.buildlink/include/openssl/dsa.h:208:28: note: declared here 208 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, | ^~~~~~~~~~~~ slp_crypto.c:106:9: warning: 'DSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 106 | DSA_set0_key(result, BN_dup(pub_key), BN_dup(priv_key)); | ^~~~~~~~~~~~ /tmp/work/net/openslp/work/.buildlink/include/openssl/dsa.h:210:27: note: declared here 210 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ^~~~~~~~~~~~ slp_crypto.c: In function 'SLPCryptoDSAKeyDestroy': slp_crypto.c:123:5: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 123 | DSA_free(dsa); | ^~~~~~~~ /tmp/work/net/openslp/work/.buildlink/include/openssl/dsa.h:131:28: note: declared here 131 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ slp_crypto.c: In function 'SLPCryptoDSASignLen': slp_crypto.c:136:5: warning: 'DSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 136 | return DSA_size(key); | ^~~~~~ /tmp/work/net/openslp/work/.buildlink/include/openssl/dsa.h:134:27: note: declared here 134 | OSSL_DEPRECATEDIN_3_0 int DSA_size(const DSA *); | ^~~~~~~~ slp_crypto.c: In function 'SLPCryptoDSASign': slp_crypto.c:161:5: warning: 'DSA_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | return DSA_sign(0, /* it does not look like the type param is used? */ | ^~~~~~ /tmp/work/net/openslp/work/.buildlink/include/openssl/dsa.h:140:27: note: declared here 140 | OSSL_DEPRECATEDIN_3_0 int DSA_sign(int type, const unsigned char *dgst, | ^~~~~~~~ slp_crypto.c:165:21: warning: pointer targets in passing argument 5 of 'DSA_sign' differ in signedness [-Wpointer-sign] 165 | signaturelen, | ^~~~~~~~~~~~ | | | int * /tmp/work/net/openslp/work/.buildlink/include/openssl/dsa.h:142:19: note: expected 'unsigned int *' but argument is of type 'int *' 142 | unsigned int *siglen, DSA *dsa); | ~~~~~~~~~~~~~~^~~~~~ slp_crypto.c: In function 'SLPCryptoDSAVerify': slp_crypto.c:187:5: warning: 'DSA_verify' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 187 | return DSA_verify(0, /* it does not look like the type param is used? */ | ^~~~~~ /tmp/work/net/openslp/work/.buildlink/include/openssl/dsa.h:143:27: note: declared here 143 | OSSL_DEPRECATEDIN_3_0 int DSA_verify(int type, const unsigned char *dgst, | ^~~~~~~~~~ --- slp_spi.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_spi.lo -MD -MP -MF .deps/slp_spi.Tpo -c slp_spi.c -fPIC -DPIC -o .libs/slp_spi.o --- slp_v1message.lo --- mv -f .deps/slp_v1message.Tpo .deps/slp_v1message.Plo --- slp_xcast.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT slp_xcast.lo -MD -MP -MF .deps/slp_xcast.Tpo -c -o slp_xcast.lo slp_xcast.c --- slp_crypto.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_crypto.lo -MD -MP -MF .deps/slp_crypto.Tpo -c slp_crypto.c -o slp_crypto.o >/dev/null 2>&1 --- slp_network.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_network.lo -MD -MP -MF .deps/slp_network.Tpo -c slp_network.c -fPIC -DPIC -o .libs/slp_network.o --- slp_xcast.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_xcast.lo -MD -MP -MF .deps/slp_xcast.Tpo -c slp_xcast.c -fPIC -DPIC -o .libs/slp_xcast.o --- slp_spi.lo --- slp_spi.c: In function 'SLPSpiReadKeyFile': slp_spi.c:120:13: warning: 'PEM_read_DSA_PUBKEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 120 | result = PEM_read_DSA_PUBKEY(fp, &result, NULL, NULL); | ^~~~~~ In file included from slp_spi.c:56: /tmp/work/net/openslp/work/.buildlink/include/openssl/pem.h:76:11: note: declared here 76 | type *PEM_##readname##_##name(INTYPE *out, type **x, \ | ^~~~ /tmp/work/net/openslp/work/.buildlink/include/openssl/pem.h:240:10: note: in expansion of macro 'PEM_read_cb_fnsig' 240 | attr PEM_read_cb_fnsig(name, type, FILE, read); | ^~~~~~~~~~~~~~~~~ /tmp/work/net/openslp/work/.buildlink/include/openssl/pem.h:339:5: note: in expansion of macro 'DECLARE_PEM_read_fp_attr' 339 | DECLARE_PEM_read_fp_attr(attr, name, type) | ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/net/openslp/work/.buildlink/include/openssl/pem.h:348:5: note: in expansion of macro 'DECLARE_PEM_read_attr' 348 | DECLARE_PEM_read_attr(attr, name, type) \ | ^~~~~~~~~~~~~~~~~~~~~ /tmp/work/net/openslp/work/.buildlink/include/openssl/pem.h:464:1: note: in expansion of macro 'DECLARE_PEM_rw_attr' 464 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DSA_PUBKEY, DSA) | ^~~~~~~~~~~~~~~~~~~ slp_spi.c:124:13: warning: 'PEM_read_DSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 124 | result = PEM_read_DSAPrivateKey(fp, &result, NULL, NULL); | ^~~~~~ /tmp/work/net/openslp/work/.buildlink/include/openssl/pem.h:76:11: note: declared here 76 | type *PEM_##readname##_##name(INTYPE *out, type **x, \ | ^~~~ /tmp/work/net/openslp/work/.buildlink/include/openssl/pem.h:240:10: note: in expansion of macro 'PEM_read_cb_fnsig' 240 | attr PEM_read_cb_fnsig(name, type, FILE, read); | ^~~~~~~~~~~~~~~~~ /tmp/work/net/openslp/work/.buildlink/include/openssl/pem.h:339:5: note: in expansion of macro 'DECLARE_PEM_read_fp_attr' 339 | DECLARE_PEM_read_fp_attr(attr, name, type) | ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/net/openslp/work/.buildlink/include/openssl/pem.h:365:5: note: in expansion of macro 'DECLARE_PEM_read_attr' 365 | DECLARE_PEM_read_attr(attr, name, type) \ | ^~~~~~~~~~~~~~~~~~~~~ /tmp/work/net/openslp/work/.buildlink/include/openssl/pem.h:463:1: note: in expansion of macro 'DECLARE_PEM_rw_cb_attr' 463 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, DSAPrivateKey, DSA) | ^~~~~~~~~~~~~~~~~~~~~~ --- slp_crypto.lo --- mv -f .deps/slp_crypto.Tpo .deps/slp_crypto.Plo --- slp_attr_y.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT slp_attr_y.lo -MD -MP -MF .deps/slp_attr_y.Tpo -c -o slp_attr_y.lo slp_attr_y.c --- slp_xcast.lo --- slp_xcast.c: In function 'SLPBroadcastSend': slp_xcast.c:98:25: warning: variable 'flags' set but not used [-Wunused-but-set-variable] 98 | int flags = 0; | ^~~~~ --- slp_auth.lo --- mv -f .deps/slp_auth.Tpo .deps/slp_auth.Plo --- slp_attr_l.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT slp_attr_l.lo -MD -MP -MF .deps/slp_attr_l.Tpo -c -o slp_attr_l.lo slp_attr_l.c --- slp_attr_y.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_attr_y.lo -MD -MP -MF .deps/slp_attr_y.Tpo -c slp_attr_y.c -fPIC -DPIC -o .libs/slp_attr_y.o --- slp_network.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_network.lo -MD -MP -MF .deps/slp_network.Tpo -c slp_network.c -o slp_network.o >/dev/null 2>&1 --- slp_xcast.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_xcast.lo -MD -MP -MF .deps/slp_xcast.Tpo -c slp_xcast.c -o slp_xcast.o >/dev/null 2>&1 --- slp_attr_y.lo --- slp_attr_y.y: In function 'slp_attr_parse': slp_attr_y.y:162:26: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 162 | $$->name = strdup($2); | ^ slp_attr_y.y: In function 'SLPAllocAttr': slp_attr_y.y:216:38: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 216 | if ( NULL == (attr->name = strdup(name)) ) | ^ slp_attr_y.y:230:64: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 230 | if ( NULL != (attr->val.stringVal = strdup((unsigned char *)val)) ) | ^~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from slp_attr_y.y:25: /usr/include/string.h:142:21: note: expected 'const char *' but argument is of type 'unsigned char *' 142 | extern char *strdup(const char *); | ^~~~~~~~~~~~ --- slp_attr_l.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_attr_l.lo -MD -MP -MF .deps/slp_attr_l.Tpo -c slp_attr_l.c -fPIC -DPIC -o .libs/slp_attr_l.o --- slp_spi.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_spi.lo -MD -MP -MF .deps/slp_spi.Tpo -c slp_spi.c -o slp_spi.o >/dev/null 2>&1 --- slp_attr_l.lo --- slp_attr_l.c:1414:16: warning: 'input' defined but not used [-Wunused-function] 1414 | #else | ^ --- slp_network.lo --- mv -f .deps/slp_network.Tpo .deps/slp_network.Plo --- slp_filter_y.lo --- --- slp_xcast.lo --- mv -f .deps/slp_xcast.Tpo .deps/slp_xcast.Plo --- slp_filter_y.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT slp_filter_y.lo -MD -MP -MF .deps/slp_filter_y.Tpo -c -o slp_filter_y.lo slp_filter_y.c --- slp_filter_l.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT slp_filter_l.lo -MD -MP -MF .deps/slp_filter_l.Tpo -c -o slp_filter_l.lo slp_filter_l.c --- slp_attr_y.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_attr_y.lo -MD -MP -MF .deps/slp_attr_y.Tpo -c slp_attr_y.c -o slp_attr_y.o >/dev/null 2>&1 --- slp_attr_l.lo --- slp_attr_l.l: In function 'slp_attr_init_lexer': slp_attr_l.l:201:5: warning: 'strncpy' specified bound 2052 equals destination size [-Wstringop-truncation] 201 | return((unsigned long)yy_scan_buffer(&buf[0], strlen(s) + 2)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ --- slp_filter_y.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_filter_y.lo -MD -MP -MF .deps/slp_filter_y.Tpo -c slp_filter_y.c -fPIC -DPIC -o .libs/slp_filter_y.o --- slp_filter_l.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_filter_l.lo -MD -MP -MF .deps/slp_filter_l.Tpo -c slp_filter_l.c -fPIC -DPIC -o .libs/slp_filter_l.o slp_filter_l.l: In function 'filter_close_lexer': slp_filter_l.l:155:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 155 | yy_delete_buffer((YY_BUFFER_STATE)handle); | ^ slp_filter_l.l: In function 'slp_filter_init_lexer': slp_filter_l.l:162:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 162 | return((unsigned int)yy_scan_buffer(&buf[0], strlen(s) + 2)); | ^ slp_filter_l.c: At top level: slp_filter_l.c:1237:12: warning: 'input' defined but not used [-Wunused-function] 1237 | static int input() | ^~~~~ --- slp_spi.lo --- mv -f .deps/slp_spi.Tpo .deps/slp_spi.Plo --- libcommonlibslp.la --- /usr/bin/bash ../libtool --tag=CC --mode=link gcc -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -o libcommonlibslp.la slp_compare.lo slp_buffer.lo slp_message.lo slp_property.lo slp_linkedlist.lo slp_xid.lo slp_network.lo slp_database.lo slp_xmalloc.lo slp_xcast.lo slp_iface.lo slp_net.lo slp_parse.lo slp_pid.lo slp_dhcp.lo slp_v1message.lo slp_utf8.lo slp_auth.lo slp_crypto.lo slp_spi.lo -lnsl -lsocket -lresolv -lcrypto --- slp_attr_y.lo --- mv -f .deps/slp_attr_y.Tpo .deps/slp_attr_y.Plo --- slp_attr_l.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_attr_l.lo -MD -MP -MF .deps/slp_attr_l.Tpo -c slp_attr_l.c -o slp_attr_l.o >/dev/null 2>&1 --- slp_filter_y.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_filter_y.lo -MD -MP -MF .deps/slp_filter_y.Tpo -c slp_filter_y.c -o slp_filter_y.o >/dev/null 2>&1 --- slp_filter_l.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT slp_filter_l.lo -MD -MP -MF .deps/slp_filter_l.Tpo -c slp_filter_l.c -o slp_filter_l.o >/dev/null 2>&1 --- libcommonlibslp.la --- libtool: link: ar cr .libs/libcommonlibslp.a .libs/slp_compare.o .libs/slp_buffer.o .libs/slp_message.o .libs/slp_property.o .libs/slp_linkedlist.o .libs/slp_xid.o .libs/slp_network.o .libs/slp_database.o .libs/slp_xmalloc.o .libs/slp_xcast.o .libs/slp_iface.o .libs/slp_net.o .libs/slp_parse.o .libs/slp_pid.o .libs/slp_dhcp.o .libs/slp_v1message.o .libs/slp_utf8.o .libs/slp_auth.o .libs/slp_crypto.o .libs/slp_spi.o libtool: link: ranlib .libs/libcommonlibslp.a libtool: link: ( cd ".libs" && rm -f "libcommonlibslp.la" && ln -s "../libcommonlibslp.la" "libcommonlibslp.la" ) --- slp_filter_y.lo --- mv -f .deps/slp_filter_y.Tpo .deps/slp_filter_y.Plo --- slp_attr_l.lo --- mv -f .deps/slp_attr_l.Tpo .deps/slp_attr_l.Plo --- slp_filter_l.lo --- mv -f .deps/slp_filter_l.Tpo .deps/slp_filter_l.Plo --- libcommonslpd.la --- /usr/bin/bash ../libtool --tag=CC --mode=link gcc -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -o libcommonslpd.la slp_compare.lo slp_buffer.lo slp_message.lo slp_property.lo slp_linkedlist.lo slp_xid.lo slp_database.lo slp_xmalloc.lo slp_parse.lo slp_iface.lo slp_net.lo slp_pid.lo slp_attr_y.lo slp_attr_l.lo slp_filter_y.lo slp_filter_l.lo slp_predicate.lo slp_dhcp.lo slp_v1message.lo slp_utf8.lo slp_auth.lo slp_crypto.lo slp_spi.lo -lnsl -lsocket -lresolv -lcrypto libtool: link: ar cr .libs/libcommonslpd.a .libs/slp_compare.o .libs/slp_buffer.o .libs/slp_message.o .libs/slp_property.o .libs/slp_linkedlist.o .libs/slp_xid.o .libs/slp_database.o .libs/slp_xmalloc.o .libs/slp_parse.o .libs/slp_iface.o .libs/slp_net.o .libs/slp_pid.o .libs/slp_attr_y.o .libs/slp_attr_l.o .libs/slp_filter_y.o .libs/slp_filter_l.o .libs/slp_predicate.o .libs/slp_dhcp.o .libs/slp_v1message.o .libs/slp_utf8.o .libs/slp_auth.o .libs/slp_crypto.o .libs/slp_spi.o libtool: link: ranlib .libs/libcommonslpd.a libtool: link: ( cd ".libs" && rm -f "libcommonslpd.la" && ln -s "../libcommonslpd.la" "libcommonslpd.la" ) Making all in libslpattr --- libslpattr.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT libslpattr.lo -MD -MP -MF .deps/libslpattr.Tpo -c -o libslpattr.lo libslpattr.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT libslpattr.lo -MD -MP -MF .deps/libslpattr.Tpo -c libslpattr.c -fPIC -DPIC -o .libs/libslpattr.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT libslpattr.lo -MD -MP -MF .deps/libslpattr.Tpo -c libslpattr.c -o libslpattr.o >/dev/null 2>&1 mv -f .deps/libslpattr.Tpo .deps/libslpattr.Plo --- libslpattr.la --- /usr/bin/bash ../libtool --tag=CC --mode=link gcc -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -o libslpattr.la libslpattr.lo -lnsl -lsocket -lresolv -lcrypto libtool: link: ar cr .libs/libslpattr.a .libs/libslpattr.o libtool: link: ranlib .libs/libslpattr.a libtool: link: ( cd ".libs" && rm -f "libslpattr.la" && ln -s "../libslpattr.la" "libslpattr.la" ) Making all in slpd --- slpd_predicate.o --- --- slpd_v1process.o --- --- slpd_spi.o --- --- slpd_log.o --- --- slpd_socket.o --- --- slpd_v1process.o --- gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I../libslpattr -I. -I../libslp -DETCDIR=\"/etc/opt/pkg\" -DVARDIR=\"/var/opt/pkg\" -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT slpd_v1process.o -MD -MP -MF .deps/slpd_v1process.Tpo -c -o slpd_v1process.o slpd_v1process.c --- slpd_spi.o --- gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I../libslpattr -I. -I../libslp -DETCDIR=\"/etc/opt/pkg\" -DVARDIR=\"/var/opt/pkg\" -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT slpd_spi.o -MD -MP -MF .deps/slpd_spi.Tpo -c -o slpd_spi.o slpd_spi.c --- slpd_predicate.o --- gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I../libslpattr -I. -I../libslp -DETCDIR=\"/etc/opt/pkg\" -DVARDIR=\"/var/opt/pkg\" -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT slpd_predicate.o -MD -MP -MF .deps/slpd_predicate.Tpo -c -o slpd_predicate.o slpd_predicate.c --- slpd_socket.o --- gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I../libslpattr -I. -I../libslp -DETCDIR=\"/etc/opt/pkg\" -DVARDIR=\"/var/opt/pkg\" -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT slpd_socket.o -MD -MP -MF .deps/slpd_socket.Tpo -c -o slpd_socket.o slpd_socket.c --- slpd_log.o --- gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I../libslpattr -I. -I../libslp -DETCDIR=\"/etc/opt/pkg\" -DVARDIR=\"/var/opt/pkg\" -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT slpd_log.o -MD -MP -MF .deps/slpd_log.Tpo -c -o slpd_log.o slpd_log.c --- slpd_v1process.o --- slpd_v1process.c: In function 'v1ProcessSrvRqst': slpd_v1process.c:230:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 230 | ToUINT16(result->start + 2, size); | ~~~~~~~~~~~~~~^~~ | | | unsigned char * In file included from ../common/slp_database.h:55, from slpd_database.h:59, from slpd_v1process.c:55: ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_v1process.c:238:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 238 | ToUINT16(result->start + 8, message->header.encoding); | ~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_v1process.c:240:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 240 | ToUINT16(result->start + 10, message->header.xid); | ~~~~~~~~~~~~~~^~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_v1process.c:247:20: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 247 | ToUINT16(result->curpos, errorcode); | ~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_v1process.c:252:24: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 252 | ToUINT16(result->curpos, db->urlcount); | ~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_v1process.c:257:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 257 | ToUINT16(result->curpos, db->urlarray[i]->lifetime); | ~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_v1process.c:261:56: warning: pointer targets in passing argument 1 of 'SLPv1ToEncoding' differ in signedness [-Wpointer-sign] 261 | errorcode = SLPv1ToEncoding(result->curpos + 2, | ~~~~~~~~~~~~~~~^~~ | | | unsigned char * In file included from slpd_v1process.c:66: ../common/slp_utf8.h:57:27: note: expected 'char *' but argument is of type 'unsigned char *' 57 | int SLPv1ToEncoding(char *string, int *len, int encoding, | ~~~~~~^~~~~~ slpd_v1process.c:266:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 266 | ToUINT16(result->curpos, urllen); | ~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_v1process.c:273:24: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 273 | ToUINT16(result->curpos, 0); | ~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_v1process.c: In function 'v1ProcessSrvReg': slpd_v1process.c:364:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 364 | ToUINT16(result->start + 2, 14); | ~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_v1process.c:371:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 371 | ToUINT16(result->start + 8, message->header.encoding); | ~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_v1process.c:373:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 373 | ToUINT16(result->start + 10, message->header.xid); | ~~~~~~~~~~~~~~^~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_v1process.c:378:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 378 | ToUINT16(result->start + 12, errorcode); | ~~~~~~~~~~~~~~^~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_v1process.c: In function 'v1ProcessSrvDeReg': slpd_v1process.c:455:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 455 | ToUINT16(result->start + 2, 14); | ~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_v1process.c:462:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 462 | ToUINT16(result->start + 8, message->header.encoding); | ~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_v1process.c:464:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 464 | ToUINT16(result->start + 10, message->header.xid); | ~~~~~~~~~~~~~~^~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_v1process.c:469:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 469 | ToUINT16(result->start + 12, errorcode); | ~~~~~~~~~~~~~~^~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_v1process.c: In function 'v1ProcessAttrRqst': slpd_v1process.c:574:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 574 | ToUINT16(result->start + 2, size); | ~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_v1process.c:582:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 582 | ToUINT16(result->start + 8, message->header.encoding); | ~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_v1process.c:584:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 584 | ToUINT16(result->start + 10, message->header.xid); | ~~~~~~~~~~~~~~^~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_v1process.c:591:20: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 591 | ToUINT16(result->curpos, errorcode); | ~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_v1process.c:596:24: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 596 | ToUINT16(result->curpos, attrlen); | ~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_v1process.c:599:31: warning: pointer targets in passing argument 1 of 'SLPv1ToEncoding' differ in signedness [-Wpointer-sign] 599 | SLPv1ToEncoding(result->curpos, &attrlen, | ~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_utf8.h:57:27: note: expected 'char *' but argument is of type 'unsigned char *' 57 | int SLPv1ToEncoding(char *string, int *len, int encoding, | ~~~~~~^~~~~~ slpd_v1process.c: In function 'v1ProcessSrvTypeRqst': slpd_v1process.c:734:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 734 | ToUINT16(result->start + 2, size); | ~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_v1process.c:742:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 742 | ToUINT16(result->start + 8, message->header.encoding); | ~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_v1process.c:744:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 744 | ToUINT16(result->start + 10, message->header.xid); | ~~~~~~~~~~~~~~^~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_v1process.c:751:20: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 751 | ToUINT16(result->curpos, errorcode); | ~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_v1process.c:756:24: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 756 | ToUINT16(result->curpos, numsrvtypes); | ~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_v1process.c:769:44: warning: pointer targets in passing argument 1 of 'SLPv1ToEncoding' differ in signedness [-Wpointer-sign] 769 | SLPv1ToEncoding(result->curpos + 2, | ~~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_utf8.h:57:27: note: expected 'char *' but argument is of type 'unsigned char *' 57 | int SLPv1ToEncoding(char *string, int *len, int encoding, | ~~~~~~^~~~~~ slpd_v1process.c:775:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 775 | ToUINT16(result->curpos, typelen); | ~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ --- slpd_predicate.o --- slpd_predicate.c: In function 'SLPDFilterAttributes': slpd_predicate.c:1579:21: warning: variable 'err' set but not used [-Wunused-but-set-variable] 1579 | FilterResult err; | ^~~ --- slpd_spi.o --- mv -f .deps/slpd_spi.Tpo .deps/slpd_spi.Po --- slpd_database.o --- gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I../libslpattr -I. -I../libslp -DETCDIR=\"/etc/opt/pkg\" -DVARDIR=\"/var/opt/pkg\" -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT slpd_database.o -MD -MP -MF .deps/slpd_database.Tpo -c -o slpd_database.o slpd_database.c --- slpd_socket.o --- mv -f .deps/slpd_socket.Tpo .deps/slpd_socket.Po --- slpd_main.o --- gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I../libslpattr -I. -I../libslp -DETCDIR=\"/etc/opt/pkg\" -DVARDIR=\"/var/opt/pkg\" -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT slpd_main.o -MD -MP -MF .deps/slpd_main.Tpo -c -o slpd_main.o slpd_main.c --- slpd_log.o --- mv -f .deps/slpd_log.Tpo .deps/slpd_log.Po --- slpd_process.o --- gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I../libslpattr -I. -I../libslp -DETCDIR=\"/etc/opt/pkg\" -DVARDIR=\"/var/opt/pkg\" -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT slpd_process.o -MD -MP -MF .deps/slpd_process.Tpo -c -o slpd_process.o slpd_process.c --- slpd_v1process.o --- mv -f .deps/slpd_v1process.Tpo .deps/slpd_v1process.Po --- slpd_cmdline.o --- gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I../libslpattr -I. -I../libslp -DETCDIR=\"/etc/opt/pkg\" -DVARDIR=\"/var/opt/pkg\" -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT slpd_cmdline.o -MD -MP -MF .deps/slpd_cmdline.Tpo -c -o slpd_cmdline.o slpd_cmdline.c --- slpd_process.o --- slpd_process.c: In function 'ProcessSASrvRqst': slpd_process.c:120:32: warning: pointer targets in passing argument 1 of 'ToUINT24' differ in signedness [-Wpointer-sign] 120 | ToUINT24(result->start + 2, size); | ~~~~~~~~~~~~~~^~~ | | | unsigned char * In file included from ../common/slp_database.h:55, from slpd_database.h:59, from slpd_process.c:54: ../common/slp_message.h:490:21: note: expected 'char *' but argument is of type 'unsigned char *' 490 | void ToUINT24(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_process.c:122:32: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 122 | ToUINT16(result->start + 5, | ~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_process.c:125:32: warning: pointer targets in passing argument 1 of 'ToUINT24' differ in signedness [-Wpointer-sign] 125 | ToUINT24(result->start + 7,0); | ~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:490:21: note: expected 'char *' but argument is of type 'unsigned char *' 490 | void ToUINT24(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_process.c:127:32: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 127 | ToUINT16(result->start + 10,message->header.xid); | ~~~~~~~~~~~~~~^~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_process.c:129:32: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 129 | ToUINT16(result->start + 12,message->header.langtaglen); | ~~~~~~~~~~~~~~^~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_process.c:140:24: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 140 | ToUINT16(result->curpos, G_SlpdProperty.myUrlLen); | ~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_process.c:146:24: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 146 | ToUINT16(result->curpos, G_SlpdProperty.useScopesLen); | ~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_process.c:153:24: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 153 | ToUINT16(result->curpos, 0); | ~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_process.c: In function 'ProcessDASrvRqst': slpd_process.c:221:33: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 221 | ToUINT16(tmp->curpos, message->header.xid); | ~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_process.c: In function 'ProcessSrvRqst': slpd_process.c:496:28: warning: pointer targets in passing argument 1 of 'ToUINT24' differ in signedness [-Wpointer-sign] 496 | ToUINT24(result->start + 2, size); | ~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:490:21: note: expected 'char *' but argument is of type 'unsigned char *' 490 | void ToUINT24(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_process.c:498:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 498 | ToUINT16(result->start + 5, | ~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_process.c:501:28: warning: pointer targets in passing argument 1 of 'ToUINT24' differ in signedness [-Wpointer-sign] 501 | ToUINT24(result->start + 7,0); | ~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:490:21: note: expected 'char *' but argument is of type 'unsigned char *' 490 | void ToUINT24(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_process.c:503:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 503 | ToUINT16(result->start + 10,message->header.xid); | ~~~~~~~~~~~~~~^~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_process.c:505:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 505 | ToUINT16(result->start + 12,message->header.langtaglen); | ~~~~~~~~~~~~~~^~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_process.c:516:20: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 516 | ToUINT16(result->curpos, errorcode); | ~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_process.c:521:24: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 521 | ToUINT16(result->curpos, db->urlcount); | ~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_process.c:536:32: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 536 | ToUINT16(result->curpos,urlentry->lifetime); | ~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_process.c:539:32: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 539 | ToUINT16(result->curpos,urlentry->urllen); | ~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_process.c:562:24: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 562 | ToUINT16(result->curpos, 0); | ~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_process.c: In function 'ProcessSrvReg': slpd_process.c:680:28: warning: pointer targets in passing argument 1 of 'ToUINT24' differ in signedness [-Wpointer-sign] 680 | ToUINT24(result->start + 2,message->header.langtaglen + 16); | ~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:490:21: note: expected 'char *' but argument is of type 'unsigned char *' 490 | void ToUINT24(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_process.c:682:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 682 | ToUINT16(result->start + 5,0); | ~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_process.c:684:28: warning: pointer targets in passing argument 1 of 'ToUINT24' differ in signedness [-Wpointer-sign] 684 | ToUINT24(result->start + 7,0); | ~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:490:21: note: expected 'char *' but argument is of type 'unsigned char *' 490 | void ToUINT24(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_process.c:686:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 686 | ToUINT16(result->start + 10,message->header.xid); | ~~~~~~~~~~~~~~^~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_process.c:688:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 688 | ToUINT16(result->start + 12,message->header.langtaglen); | ~~~~~~~~~~~~~~^~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_process.c:697:33: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 697 | ToUINT16(result->start + 14 + message->header.langtaglen, errorcode); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_process.c: In function 'ProcessSrvDeReg': slpd_process.c:785:28: warning: pointer targets in passing argument 1 of 'ToUINT24' differ in signedness [-Wpointer-sign] 785 | ToUINT24(result->start + 2,message->header.langtaglen + 16); | ~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:490:21: note: expected 'char *' but argument is of type 'unsigned char *' 490 | void ToUINT24(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_process.c:787:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 787 | ToUINT16(result->start + 5,0); | ~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_process.c:789:28: warning: pointer targets in passing argument 1 of 'ToUINT24' differ in signedness [-Wpointer-sign] 789 | ToUINT24(result->start + 7,0); | ~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:490:21: note: expected 'char *' but argument is of type 'unsigned char *' 490 | void ToUINT24(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_process.c:791:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 791 | ToUINT16(result->start + 10,message->header.xid); | ~~~~~~~~~~~~~~^~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_process.c:793:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 793 | ToUINT16(result->start + 12,message->header.langtaglen); | ~~~~~~~~~~~~~~^~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_process.c:802:33: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 802 | ToUINT16(result->start + 14 + message->header.langtaglen, errorcode); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_process.c: In function 'ProcessAttrRqst': slpd_process.c:983:36: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 983 | opaqueauth = db->autharray[i].opaque; | ^ slpd_process.c:1024:28: warning: pointer targets in passing argument 1 of 'ToUINT24' differ in signedness [-Wpointer-sign] 1024 | ToUINT24(result->start + 2,size); | ~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:490:21: note: expected 'char *' but argument is of type 'unsigned char *' 490 | void ToUINT24(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_process.c:1026:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 1026 | ToUINT16(result->start + 5, | ~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_process.c:1029:28: warning: pointer targets in passing argument 1 of 'ToUINT24' differ in signedness [-Wpointer-sign] 1029 | ToUINT24(result->start + 7,0); | ~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:490:21: note: expected 'char *' but argument is of type 'unsigned char *' 490 | void ToUINT24(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_process.c:1031:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 1031 | ToUINT16(result->start + 10,message->header.xid); | ~~~~~~~~~~~~~~^~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_process.c:1033:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 1033 | ToUINT16(result->start + 12,message->header.langtaglen); | ~~~~~~~~~~~~~~^~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_process.c:1044:20: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 1044 | ToUINT16(result->curpos, errorcode); | ~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_process.c:1049:24: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 1049 | ToUINT16(result->curpos, db->attrlistlen); | ~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_process.c: In function 'ProcessDAAdvert': slpd_process.c:1139:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1139 | if (errorcode == 0); | ^~ slpd_process.c:1141:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1141 | { | ^ slpd_process.c: In function 'ProcessSrvTypeRqst': slpd_process.c:1256:28: warning: pointer targets in passing argument 1 of 'ToUINT24' differ in signedness [-Wpointer-sign] 1256 | ToUINT24(result->start + 2,size); | ~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:490:21: note: expected 'char *' but argument is of type 'unsigned char *' 490 | void ToUINT24(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_process.c:1258:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 1258 | ToUINT16(result->start + 5, | ~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_process.c:1261:28: warning: pointer targets in passing argument 1 of 'ToUINT24' differ in signedness [-Wpointer-sign] 1261 | ToUINT24(result->start + 7,0); | ~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:490:21: note: expected 'char *' but argument is of type 'unsigned char *' 490 | void ToUINT24(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_process.c:1263:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 1263 | ToUINT16(result->start + 10,message->header.xid); | ~~~~~~~~~~~~~~^~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_process.c:1265:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 1265 | ToUINT16(result->start + 12,message->header.langtaglen); | ~~~~~~~~~~~~~~^~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_process.c:1277:20: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 1277 | ToUINT16(result->curpos, errorcode); | ~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_process.c:1283:24: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 1283 | ToUINT16(result->curpos, db->srvtypelistlen); | ~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ --- slpd_database.o --- mv -f .deps/slpd_database.Tpo .deps/slpd_database.Po --- slpd_property.o --- gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I../libslpattr -I. -I../libslp -DETCDIR=\"/etc/opt/pkg\" -DVARDIR=\"/var/opt/pkg\" -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT slpd_property.o -MD -MP -MF .deps/slpd_property.Tpo -c -o slpd_property.o slpd_property.c --- slpd_cmdline.o --- mv -f .deps/slpd_cmdline.Tpo .deps/slpd_cmdline.Po --- slpd_regfile.o --- gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I../libslpattr -I. -I../libslp -DETCDIR=\"/etc/opt/pkg\" -DVARDIR=\"/var/opt/pkg\" -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT slpd_regfile.o -MD -MP -MF .deps/slpd_regfile.Tpo -c -o slpd_regfile.o slpd_regfile.c --- slpd_predicate.o --- mv -f .deps/slpd_predicate.Tpo .deps/slpd_predicate.Po --- slpd_knownda.o --- gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I../libslpattr -I. -I../libslp -DETCDIR=\"/etc/opt/pkg\" -DVARDIR=\"/var/opt/pkg\" -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT slpd_knownda.o -MD -MP -MF .deps/slpd_knownda.Tpo -c -o slpd_knownda.o slpd_knownda.c --- slpd_main.o --- mv -f .deps/slpd_main.Tpo .deps/slpd_main.Po --- slpd_incoming.o --- gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I../libslpattr -I. -I../libslp -DETCDIR=\"/etc/opt/pkg\" -DVARDIR=\"/var/opt/pkg\" -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT slpd_incoming.o -MD -MP -MF .deps/slpd_incoming.Tpo -c -o slpd_incoming.o slpd_incoming.c --- slpd_regfile.o --- slpd_regfile.c: In function 'SLPDRegFileReadSrvReg': slpd_regfile.c:479:28: warning: pointer targets in passing argument 1 of 'ToUINT24' differ in signedness [-Wpointer-sign] 479 | ToUINT24((*buf)->start + 2, bufsize); | ~~~~~~~~~~~~~~^~~ | | | unsigned char * In file included from slpd_regfile.h:60, from slpd_regfile.c:54: ../common/slp_message.h:490:21: note: expected 'char *' but argument is of type 'unsigned char *' 490 | void ToUINT24(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_regfile.c:481:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 481 | ToUINT16((*buf)->start + 5, 0); | ~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_regfile.c:483:28: warning: pointer targets in passing argument 1 of 'ToUINT24' differ in signedness [-Wpointer-sign] 483 | ToUINT24((*buf)->start + 7,0); | ~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:490:21: note: expected 'char *' but argument is of type 'unsigned char *' 490 | void ToUINT24(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_regfile.c:485:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 485 | ToUINT16((*buf)->start + 10, 0); | ~~~~~~~~~~~~~~^~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_regfile.c:487:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 487 | ToUINT16((*buf)->start + 12,langtaglen); | ~~~~~~~~~~~~~~^~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_regfile.c:495:20: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 495 | ToUINT16((*buf)->curpos,lifetime); | ~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_regfile.c:498:20: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 498 | ToUINT16((*buf)->curpos,urllen); | ~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_regfile.c:522:20: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 522 | ToUINT16((*buf)->curpos,srvtypelen); | ~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_regfile.c:527:20: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 527 | ToUINT16((*buf)->curpos,scopelistlen); | ~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_regfile.c:532:20: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 532 | ToUINT16((*buf)->curpos,attrlistlen); | ~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ --- slpd_property.o --- mv -f .deps/slpd_property.Tpo .deps/slpd_property.Po --- slpd_outgoing.o --- gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I../libslpattr -I. -I../libslp -DETCDIR=\"/etc/opt/pkg\" -DVARDIR=\"/var/opt/pkg\" -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT slpd_outgoing.o -MD -MP -MF .deps/slpd_outgoing.Tpo -c -o slpd_outgoing.o slpd_outgoing.c --- slpd_knownda.o --- slpd_knownda.c: In function 'MakeActiveDiscoveryRqst': slpd_knownda.c:168:28: warning: pointer targets in passing argument 1 of 'ToUINT24' differ in signedness [-Wpointer-sign] 168 | ToUINT24(result->start + 2, size); | ~~~~~~~~~~~~~~^~~ | | | unsigned char * In file included from slpd_knownda.h:58, from slpd_knownda.c:54: ../common/slp_message.h:490:21: note: expected 'char *' but argument is of type 'unsigned char *' 490 | void ToUINT24(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_knownda.c:170:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 170 | ToUINT16(result->start + 5, (ismcast ? SLP_FLAG_MCAST : 0)); | ~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_knownda.c:172:28: warning: pointer targets in passing argument 1 of 'ToUINT24' differ in signedness [-Wpointer-sign] 172 | ToUINT24(result->start + 7,0); | ~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:490:21: note: expected 'char *' but argument is of type 'unsigned char *' 490 | void ToUINT24(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_knownda.c:174:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 174 | ToUINT16(result->start + 10, SLPXidGenerate()); /* TODO: generate a real XID */ | ~~~~~~~~~~~~~~^~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_knownda.c:176:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 176 | ToUINT16(result->start + 12, G_SlpdProperty.localeLen); | ~~~~~~~~~~~~~~^~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_knownda.c:183:20: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 183 | ToUINT16(result->curpos,prlistlen); | ~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_knownda.c:188:20: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 188 | ToUINT16(result->curpos,23); | ~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_knownda.c:194:20: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 194 | ToUINT16(result->curpos,0); | ~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_knownda.c:197:20: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 197 | ToUINT16(result->curpos,0); | ~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_knownda.c:200:20: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 200 | ToUINT16(result->curpos,0); | ~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_knownda.c:104:21: warning: variable 'errorcode' set but not used [-Wunused-but-set-variable] 104 | int errorcode = 0; | ^~~~~~~~~ slpd_knownda.c: In function 'MakeSrvderegFromSrvReg': slpd_knownda.c:355:29: warning: pointer targets in passing argument 1 of 'ToUINT24' differ in signedness [-Wpointer-sign] 355 | ToUINT24(sendbuf->start + 2, size); | ~~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:490:21: note: expected 'char *' but argument is of type 'unsigned char *' 490 | void ToUINT24(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_knownda.c:357:29: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 357 | ToUINT16(sendbuf->start + 5, | ~~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_knownda.c:360:29: warning: pointer targets in passing argument 1 of 'ToUINT24' differ in signedness [-Wpointer-sign] 360 | ToUINT24(sendbuf->start + 7,0); | ~~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:490:21: note: expected 'char *' but argument is of type 'unsigned char *' 490 | void ToUINT24(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_knownda.c:362:29: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 362 | ToUINT16(sendbuf->start + 10,SLPXidGenerate()); | ~~~~~~~~~~~~~~~^~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_knownda.c:364:29: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 364 | ToUINT16(sendbuf->start + 12,msg->header.langtaglen); | ~~~~~~~~~~~~~~~^~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_knownda.c:372:21: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 372 | ToUINT16(sendbuf->curpos, srvreg->scopelistlen); | ~~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_knownda.c:384:25: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 384 | ToUINT16(sendbuf->curpos,srvreg->urlentry.lifetime); | ~~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_knownda.c:387:25: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 387 | ToUINT16(sendbuf->curpos,srvreg->urlentry.urllen); | ~~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_knownda.c:408:21: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 408 | ToUINT16(sendbuf->curpos,0); | ~~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_knownda.c: In function 'SLPDKnownDAGenerateMyDAAdvert': slpd_knownda.c:1029:28: warning: pointer targets in passing argument 1 of 'ToUINT24' differ in signedness [-Wpointer-sign] 1029 | ToUINT24(result->start + 2, size); | ~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:490:21: note: expected 'char *' but argument is of type 'unsigned char *' 490 | void ToUINT24(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_knownda.c:1031:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 1031 | ToUINT16(result->start + 5, | ~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_knownda.c:1034:28: warning: pointer targets in passing argument 1 of 'ToUINT24' differ in signedness [-Wpointer-sign] 1034 | ToUINT24(result->start + 7,0); | ~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:490:21: note: expected 'char *' but argument is of type 'unsigned char *' 490 | void ToUINT24(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_knownda.c:1036:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 1036 | ToUINT16(result->start + 10,xid); | ~~~~~~~~~~~~~~^~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_knownda.c:1038:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 1038 | ToUINT16(result->start + 12, G_SlpdProperty.localeLen); | ~~~~~~~~~~~~~~^~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_knownda.c:1049:20: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 1049 | ToUINT16(result->curpos,errorcode); | ~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_knownda.c:1056:28: warning: pointer targets in passing argument 1 of 'ToUINT32' differ in signedness [-Wpointer-sign] 1056 | ToUINT32(result->curpos,0); | ~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:491:21: note: expected 'char *' but argument is of type 'unsigned char *' 491 | void ToUINT32(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_knownda.c:1060:28: warning: pointer targets in passing argument 1 of 'ToUINT32' differ in signedness [-Wpointer-sign] 1060 | ToUINT32(result->curpos,G_SlpdProperty.DATimestamp); | ~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:491:21: note: expected 'char *' but argument is of type 'unsigned char *' 491 | void ToUINT32(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_knownda.c:1064:24: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 1064 | ToUINT16(result->curpos, G_SlpdProperty.myUrlLen); | ~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_knownda.c:1072:24: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 1072 | ToUINT16(result->curpos, G_SlpdProperty.useScopesLen); | ~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_knownda.c:1080:24: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 1080 | ToUINT16(result->curpos, 0); | ~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_knownda.c:1087:24: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 1087 | ToUINT16(result->curpos,spistrlen); | ~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_knownda.c: In function 'SLPDKnownDAGenerateMyV1DAAdvert': slpd_knownda.c:1207:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 1207 | ToUINT16(result->start + 2, size); | ~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_knownda.c:1209:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 1209 | ToUINT16(result->start + 4, | ~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_knownda.c:1218:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 1218 | ToUINT16(result->start + 8, encoding); | ~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_knownda.c:1220:28: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 1220 | ToUINT16(result->start + 10,xid); | ~~~~~~~~~~~~~~^~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_knownda.c:1228:20: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 1228 | ToUINT16(result->curpos,errorcode); | ~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_knownda.c:1230:20: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 1230 | ToUINT16(result->curpos, urllen); | ~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_knownda.c:1233:27: warning: pointer targets in passing argument 1 of 'SLPv1ToEncoding' differ in signedness [-Wpointer-sign] 1233 | SLPv1ToEncoding(result->curpos, | ~~~~~~^~~~~~~~ | | | unsigned char * In file included from slpd_knownda.c:69: ../common/slp_utf8.h:57:27: note: expected 'char *' but argument is of type 'unsigned char *' 57 | int SLPv1ToEncoding(char *string, int *len, int encoding, | ~~~~~~^~~~~~ slpd_knownda.c:1240:20: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 1240 | ToUINT16(result->curpos, scopelistlen); | ~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ slpd_knownda.c:1244:27: warning: pointer targets in passing argument 1 of 'SLPv1ToEncoding' differ in signedness [-Wpointer-sign] 1244 | SLPv1ToEncoding(result->curpos, | ~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_utf8.h:57:27: note: expected 'char *' but argument is of type 'unsigned char *' 57 | int SLPv1ToEncoding(char *string, int *len, int encoding, | ~~~~~~^~~~~~ --- slpd_incoming.o --- mv -f .deps/slpd_incoming.Tpo .deps/slpd_incoming.Po --- slpd_process.o --- mv -f .deps/slpd_process.Tpo .deps/slpd_process.Po --- slpd_regfile.o --- mv -f .deps/slpd_regfile.Tpo .deps/slpd_regfile.Po --- slpd_outgoing.o --- mv -f .deps/slpd_outgoing.Tpo .deps/slpd_outgoing.Po --- slpd_knownda.o --- mv -f .deps/slpd_knownda.Tpo .deps/slpd_knownda.Po --- slpd --- /usr/bin/bash ../libtool --tag=CC --mode=link gcc -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -o slpd slpd_predicate.o slpd_v1process.o slpd_spi.o slpd_log.o slpd_socket.o slpd_database.o slpd_main.o slpd_process.o slpd_cmdline.o slpd_property.o slpd_regfile.o slpd_knownda.o slpd_incoming.o slpd_outgoing.o ../common/libcommonslpd.la ../libslpattr/libslpattr.la -lnsl -lsocket -lresolv -lcrypto libtool: link: gcc -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/tmp/work/net/openslp/work/.buildlink/include -DSOLARIS -Wall -Wl,-rpath -Wl,/opt/pkg/lib -o slpd slpd_predicate.o slpd_v1process.o slpd_spi.o slpd_log.o slpd_socket.o slpd_database.o slpd_main.o slpd_process.o slpd_cmdline.o slpd_property.o slpd_regfile.o slpd_knownda.o slpd_incoming.o slpd_outgoing.o -L/tmp/work/net/openslp/work/.buildlink/lib ../common/.libs/libcommonslpd.a ../libslpattr/.libs/libslpattr.a -lnsl -lsocket -lresolv -lcrypto Making all in libslp --- libslp_dereg.lo --- --- libslp_findscopes.lo --- --- libslp_reg.lo --- --- libslp_findsrvs.lo --- --- libslp_parse.lo --- --- libslp_findsrvs.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT libslp_findsrvs.lo -MD -MP -MF .deps/libslp_findsrvs.Tpo -c -o libslp_findsrvs.lo libslp_findsrvs.c --- libslp_reg.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT libslp_reg.lo -MD -MP -MF .deps/libslp_reg.Tpo -c -o libslp_reg.lo libslp_reg.c --- libslp_dereg.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT libslp_dereg.lo -MD -MP -MF .deps/libslp_dereg.Tpo -c -o libslp_dereg.lo libslp_dereg.c --- libslp_findscopes.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT libslp_findscopes.lo -MD -MP -MF .deps/libslp_findscopes.Tpo -c -o libslp_findscopes.lo libslp_findscopes.c --- libslp_parse.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT libslp_parse.lo -MD -MP -MF .deps/libslp_parse.Tpo -c -o libslp_parse.lo libslp_parse.c --- libslp_findsrvs.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT libslp_findsrvs.lo -MD -MP -MF .deps/libslp_findsrvs.Tpo -c libslp_findsrvs.c -fPIC -DPIC -o .libs/libslp_findsrvs.o --- libslp_dereg.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT libslp_dereg.lo -MD -MP -MF .deps/libslp_dereg.Tpo -c libslp_dereg.c -fPIC -DPIC -o .libs/libslp_dereg.o --- libslp_findscopes.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT libslp_findscopes.lo -MD -MP -MF .deps/libslp_findscopes.Tpo -c libslp_findscopes.c -fPIC -DPIC -o .libs/libslp_findscopes.o --- libslp_reg.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT libslp_reg.lo -MD -MP -MF .deps/libslp_reg.Tpo -c libslp_reg.c -fPIC -DPIC -o .libs/libslp_reg.o --- libslp_parse.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT libslp_parse.lo -MD -MP -MF .deps/libslp_parse.Tpo -c libslp_parse.c -fPIC -DPIC -o .libs/libslp_parse.o --- libslp_findscopes.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT libslp_findscopes.lo -MD -MP -MF .deps/libslp_findscopes.Tpo -c libslp_findscopes.c -o libslp_findscopes.o >/dev/null 2>&1 --- libslp_dereg.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT libslp_dereg.lo -MD -MP -MF .deps/libslp_dereg.Tpo -c libslp_dereg.c -o libslp_dereg.o >/dev/null 2>&1 --- libslp_reg.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT libslp_reg.lo -MD -MP -MF .deps/libslp_reg.Tpo -c libslp_reg.c -o libslp_reg.o >/dev/null 2>&1 --- libslp_parse.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT libslp_parse.lo -MD -MP -MF .deps/libslp_parse.Tpo -c libslp_parse.c -o libslp_parse.o >/dev/null 2>&1 --- libslp_findsrvs.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT libslp_findsrvs.lo -MD -MP -MF .deps/libslp_findsrvs.Tpo -c libslp_findsrvs.c -o libslp_findsrvs.o >/dev/null 2>&1 --- libslp_findscopes.lo --- mv -f .deps/libslp_findscopes.Tpo .deps/libslp_findscopes.Plo --- libslp_property.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT libslp_property.lo -MD -MP -MF .deps/libslp_property.Tpo -c -o libslp_property.lo libslp_property.c --- libslp_dereg.lo --- mv -f .deps/libslp_dereg.Tpo .deps/libslp_dereg.Plo --- libslp_handle.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT libslp_handle.lo -MD -MP -MF .deps/libslp_handle.Tpo -c -o libslp_handle.lo libslp_handle.c --- libslp_reg.lo --- mv -f .deps/libslp_reg.Tpo .deps/libslp_reg.Plo --- libslp_thread.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT libslp_thread.lo -MD -MP -MF .deps/libslp_thread.Tpo -c -o libslp_thread.lo libslp_thread.c --- libslp_parse.lo --- mv -f .deps/libslp_parse.Tpo .deps/libslp_parse.Plo --- libslp_network.lo --- --- libslp_property.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT libslp_property.lo -MD -MP -MF .deps/libslp_property.Tpo -c libslp_property.c -fPIC -DPIC -o .libs/libslp_property.o --- libslp_network.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT libslp_network.lo -MD -MP -MF .deps/libslp_network.Tpo -c -o libslp_network.lo libslp_network.c --- libslp_findsrvs.lo --- mv -f .deps/libslp_findsrvs.Tpo .deps/libslp_findsrvs.Plo --- libslp_findattrs.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT libslp_findattrs.lo -MD -MP -MF .deps/libslp_findattrs.Tpo -c -o libslp_findattrs.lo libslp_findattrs.c --- libslp_handle.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT libslp_handle.lo -MD -MP -MF .deps/libslp_handle.Tpo -c libslp_handle.c -fPIC -DPIC -o .libs/libslp_handle.o --- libslp_thread.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT libslp_thread.lo -MD -MP -MF .deps/libslp_thread.Tpo -c libslp_thread.c -fPIC -DPIC -o .libs/libslp_thread.o --- libslp_network.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT libslp_network.lo -MD -MP -MF .deps/libslp_network.Tpo -c libslp_network.c -fPIC -DPIC -o .libs/libslp_network.o --- libslp_property.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT libslp_property.lo -MD -MP -MF .deps/libslp_property.Tpo -c libslp_property.c -o libslp_property.o >/dev/null 2>&1 --- libslp_findattrs.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT libslp_findattrs.lo -MD -MP -MF .deps/libslp_findattrs.Tpo -c libslp_findattrs.c -fPIC -DPIC -o .libs/libslp_findattrs.o --- libslp_thread.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT libslp_thread.lo -MD -MP -MF .deps/libslp_thread.Tpo -c libslp_thread.c -o libslp_thread.o >/dev/null 2>&1 --- libslp_network.lo --- libslp_network.c: In function 'NetworkRqstRply': libslp_network.c:450:33: warning: pointer targets in passing argument 1 of 'ToUINT24' differ in signedness [-Wpointer-sign] 450 | ToUINT24(sendbuf->start + 2, size); | ~~~~~~~~~~~~~~~^~~ | | | unsigned char * In file included from libslp.h:79, from libslp_network.c:51: ../common/slp_message.h:490:21: note: expected 'char *' but argument is of type 'unsigned char *' 490 | void ToUINT24(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ libslp_network.c:457:33: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 457 | ToUINT16(sendbuf->start + 5, flags); | ~~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ libslp_network.c:465:37: warning: pointer targets in passing argument 1 of 'ToUINT24' differ in signedness [-Wpointer-sign] 465 | ToUINT24(sendbuf->start + 7,extoffset + langtaglen + 14); | ~~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:490:21: note: expected 'char *' but argument is of type 'unsigned char *' 490 | void ToUINT24(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ libslp_network.c:469:37: warning: pointer targets in passing argument 1 of 'ToUINT24' differ in signedness [-Wpointer-sign] 469 | ToUINT24(sendbuf->start + 7, 0); | ~~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:490:21: note: expected 'char *' but argument is of type 'unsigned char *' 490 | void ToUINT24(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ libslp_network.c:472:33: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 472 | ToUINT16(sendbuf->start + 10,xid); | ~~~~~~~~~~~~~~~^~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ libslp_network.c:474:33: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 474 | ToUINT16(sendbuf->start + 12,langtaglen); | ~~~~~~~~~~~~~~~^~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ libslp_network.c:484:29: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 484 | ToUINT16(sendbuf->curpos,prlistlen); | ~~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ libslp_network.c:545:43: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 545 | if(AsUINT16(recvbuf->start+10) == xid) | ~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ libslp_network.c: In function 'NetworkMcastRqstRply': libslp_network.c:814:33: warning: pointer targets in passing argument 1 of 'ToUINT24' differ in signedness [-Wpointer-sign] 814 | ToUINT24(sendbuf->start + 2, size); | ~~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:490:21: note: expected 'char *' but argument is of type 'unsigned char *' 490 | void ToUINT24(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ libslp_network.c:816:33: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 816 | ToUINT16(sendbuf->start + 5, SLP_FLAG_MCAST); | ~~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ libslp_network.c:818:33: warning: pointer targets in passing argument 1 of 'ToUINT24' differ in signedness [-Wpointer-sign] 818 | ToUINT24(sendbuf->start + 7,0); | ~~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:490:21: note: expected 'char *' but argument is of type 'unsigned char *' 490 | void ToUINT24(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ libslp_network.c:820:33: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 820 | ToUINT16(sendbuf->start + 10,xid); | ~~~~~~~~~~~~~~~^~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ libslp_network.c:822:33: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 822 | ToUINT16(sendbuf->start + 12,langtaglen); | ~~~~~~~~~~~~~~~^~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ libslp_network.c:836:29: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 836 | ToUINT16(sendbuf->curpos,prlistlen); | ~~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ libslp_network.c:910:49: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 910 | ToUINT16(sendbuf->start + 5, SLP_FLAG_UCAST); | ~~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ libslp_network.c:912:49: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 912 | ToUINT16(sendbuf->start + 10,xid); | ~~~~~~~~~~~~~~~^~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ libslp_network.c:985:39: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 985 | if(AsUINT16(recvbuf->start+10) == xid) | ~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ libslp_network.c: In function 'NetworkUcastRqstRply': libslp_network.c:1190:33: warning: pointer targets in passing argument 1 of 'ToUINT24' differ in signedness [-Wpointer-sign] 1190 | ToUINT24(sendbuf->start + 2, size); | ~~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:490:21: note: expected 'char *' but argument is of type 'unsigned char *' 490 | void ToUINT24(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ libslp_network.c:1192:33: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 1192 | ToUINT16(sendbuf->start + 5, SLP_FLAG_UCAST); /*this is a unicast */ | ~~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ libslp_network.c:1194:33: warning: pointer targets in passing argument 1 of 'ToUINT24' differ in signedness [-Wpointer-sign] 1194 | ToUINT24(sendbuf->start + 7,0); | ~~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:490:21: note: expected 'char *' but argument is of type 'unsigned char *' 490 | void ToUINT24(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ libslp_network.c:1196:33: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 1196 | ToUINT16(sendbuf->start + 10,xid); | ~~~~~~~~~~~~~~~^~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ libslp_network.c:1198:33: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 1198 | ToUINT16(sendbuf->start + 12,langtaglen); | ~~~~~~~~~~~~~~~^~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ libslp_network.c:1208:29: warning: pointer targets in passing argument 1 of 'ToUINT16' differ in signedness [-Wpointer-sign] 1208 | ToUINT16(sendbuf->curpos,prlistlen); | ~~~~~~~^~~~~~~~ | | | unsigned char * ../common/slp_message.h:489:21: note: expected 'char *' but argument is of type 'unsigned char *' 489 | void ToUINT16(char *charptr, unsigned int val); | ~~~~~~^~~~~~~ libslp_network.c:1272:35: warning: pointer targets in passing argument 1 of 'AsUINT16' differ in signedness [-Wpointer-sign] 1272 | if(AsUINT16(recvbuf->start+10) == xid) | ~~~~~~~~~~~~~~^~~ | | | unsigned char * ../common/slp_message.h:482:37: note: expected 'const char *' but argument is of type 'unsigned char *' 482 | unsigned short AsUINT16(const char *charptr); | ~~~~~~~~~~~~^~~~~~~ libslp_network.c:1095:25: warning: variable 'maxwait' set but not used [-Wunused-but-set-variable] 1095 | int maxwait = 0; | ^~~~~~~ --- libslp_findattrs.lo --- libslp_findattrs.c: In function 'ProcessAttrRplyCallback': libslp_findattrs.c:69:21: warning: variable 'securityenabled' set but not used [-Wunused-but-set-variable] 69 | int securityenabled; | ^~~~~~~~~~~~~~~ --- libslp_handle.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT libslp_handle.lo -MD -MP -MF .deps/libslp_handle.Tpo -c libslp_handle.c -o libslp_handle.o >/dev/null 2>&1 --- libslp_property.lo --- mv -f .deps/libslp_property.Tpo .deps/libslp_property.Plo --- libslp_delattrs.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT libslp_delattrs.lo -MD -MP -MF .deps/libslp_delattrs.Tpo -c -o libslp_delattrs.lo libslp_delattrs.c --- libslp_thread.lo --- mv -f .deps/libslp_thread.Tpo .deps/libslp_thread.Plo --- libslp_findsrvtypes.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT libslp_findsrvtypes.lo -MD -MP -MF .deps/libslp_findsrvtypes.Tpo -c -o libslp_findsrvtypes.lo libslp_findsrvtypes.c --- libslp_findattrs.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT libslp_findattrs.lo -MD -MP -MF .deps/libslp_findattrs.Tpo -c libslp_findattrs.c -o libslp_findattrs.o >/dev/null 2>&1 --- libslp_delattrs.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT libslp_delattrs.lo -MD -MP -MF .deps/libslp_delattrs.Tpo -c libslp_delattrs.c -fPIC -DPIC -o .libs/libslp_delattrs.o --- libslp_handle.lo --- mv -f .deps/libslp_handle.Tpo .deps/libslp_handle.Plo --- libslp_knownda.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT libslp_knownda.lo -MD -MP -MF .deps/libslp_knownda.Tpo -c -o libslp_knownda.lo libslp_knownda.c --- libslp_findsrvtypes.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT libslp_findsrvtypes.lo -MD -MP -MF .deps/libslp_findsrvtypes.Tpo -c libslp_findsrvtypes.c -fPIC -DPIC -o .libs/libslp_findsrvtypes.o --- libslp_findattrs.lo --- mv -f .deps/libslp_findattrs.Tpo .deps/libslp_findattrs.Plo --- libslp_network.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT libslp_network.lo -MD -MP -MF .deps/libslp_network.Tpo -c libslp_network.c -o libslp_network.o >/dev/null 2>&1 --- libslp_delattrs.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT libslp_delattrs.lo -MD -MP -MF .deps/libslp_delattrs.Tpo -c libslp_delattrs.c -o libslp_delattrs.o >/dev/null 2>&1 --- libslp_knownda.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT libslp_knownda.lo -MD -MP -MF .deps/libslp_knownda.Tpo -c libslp_knownda.c -fPIC -DPIC -o .libs/libslp_knownda.o --- libslp_delattrs.lo --- mv -f .deps/libslp_delattrs.Tpo .deps/libslp_delattrs.Plo --- libslp_knownda.lo --- libslp_knownda.c: In function 'KnownDAConnect': libslp_knownda.c:667:33: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 667 | memset(peeraddr,0,sizeof(peeraddr)); | ^ --- libslp_findsrvtypes.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT libslp_findsrvtypes.lo -MD -MP -MF .deps/libslp_findsrvtypes.Tpo -c libslp_findsrvtypes.c -o libslp_findsrvtypes.o >/dev/null 2>&1 mv -f .deps/libslp_findsrvtypes.Tpo .deps/libslp_findsrvtypes.Plo --- libslp_knownda.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Wall -MT libslp_knownda.lo -MD -MP -MF .deps/libslp_knownda.Tpo -c libslp_knownda.c -o libslp_knownda.o >/dev/null 2>&1 --- libslp_network.lo --- mv -f .deps/libslp_network.Tpo .deps/libslp_network.Plo --- libslp_knownda.lo --- mv -f .deps/libslp_knownda.Tpo .deps/libslp_knownda.Plo --- libslp.la --- /usr/bin/bash ../libtool --tag=CC --mode=link gcc -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -version-info 1:1:0 -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -o libslp.la -rpath /opt/pkg/lib libslp_dereg.lo libslp_findscopes.lo libslp_reg.lo libslp_findsrvs.lo libslp_parse.lo libslp_property.lo libslp_handle.lo libslp_thread.lo libslp_network.lo libslp_findattrs.lo libslp_delattrs.lo libslp_findsrvtypes.lo libslp_knownda.lo ../common/libcommonlibslp.la -lnsl -lsocket -lresolv -lcrypto libtool: link: gcc -shared -fPIC -DPIC -Wl,-z -Wl,text -Wl,-h -Wl,libslp.so.1 -o .libs/libslp.so.1.0.1 .libs/libslp_dereg.o .libs/libslp_findscopes.o .libs/libslp_reg.o .libs/libslp_findsrvs.o .libs/libslp_parse.o .libs/libslp_property.o .libs/libslp_handle.o .libs/libslp_thread.o .libs/libslp_network.o .libs/libslp_findattrs.o .libs/libslp_delattrs.o .libs/libslp_findsrvtypes.o .libs/libslp_knownda.o -Wl,-z -Wl,allextract ../common/.libs/libcommonlibslp.a -Wl,-z -Wl,defaultextract -L/tmp/work/net/openslp/work/.buildlink/lib -lnsl -lsocket -lresolv -lcrypto -O2 -msave-args -Wl,-rpath -Wl,/opt/pkg/lib libtool: link: (cd ".libs" && rm -f "libslp.so.1" && ln -s "libslp.so.1.0.1" "libslp.so.1") libtool: link: (cd ".libs" && rm -f "libslp.so" && ln -s "libslp.so.1.0.1" "libslp.so") libtool: link: (cd .libs/libslp.lax/libcommonlibslp.a && ar x "/tmp/work/net/openslp/work/openslp-1.2.1/libslp/../common/.libs/libcommonlibslp.a") libtool: link: ar cr .libs/libslp.a libslp_dereg.o libslp_findscopes.o libslp_reg.o libslp_findsrvs.o libslp_parse.o libslp_property.o libslp_handle.o libslp_thread.o libslp_network.o libslp_findattrs.o libslp_delattrs.o libslp_findsrvtypes.o libslp_knownda.o .libs/libslp.lax/libcommonlibslp.a/slp_auth.o .libs/libslp.lax/libcommonlibslp.a/slp_buffer.o .libs/libslp.lax/libcommonlibslp.a/slp_compare.o .libs/libslp.lax/libcommonlibslp.a/slp_crypto.o .libs/libslp.lax/libcommonlibslp.a/slp_database.o .libs/libslp.lax/libcommonlibslp.a/slp_dhcp.o .libs/libslp.lax/libcommonlibslp.a/slp_iface.o .libs/libslp.lax/libcommonlibslp.a/slp_linkedlist.o .libs/libslp.lax/libcommonlibslp.a/slp_message.o .libs/libslp.lax/libcommonlibslp.a/slp_net.o .libs/libslp.lax/libcommonlibslp.a/slp_network.o .libs/libslp.lax/libcommonlibslp.a/slp_parse.o .libs/libslp.lax/libcommonlibslp.a/slp_pid.o .libs/libslp.lax/libcommonlibslp.a/slp_property.o .libs/libslp.lax/libcommonlibslp.a/slp_spi.o .libs/libslp.lax/libcommonlibslp.a/slp_utf8.o .libs/libslp.lax/libcommonlibslp.a/slp_v1message.o .libs/libslp.lax/libcommonlibslp.a/slp_xcast.o .libs/libslp.lax/libcommonlibslp.a/slp_xid.o .libs/libslp.lax/libcommonlibslp.a/slp_xmalloc.o libtool: link: ranlib .libs/libslp.a libtool: link: rm -fr .libs/libslp.lax libtool: link: ( cd ".libs" && rm -f "libslp.la" && ln -s "../libslp.la" "libslp.la" ) Making all in slptool --- slptool.o --- gcc -DHAVE_CONFIG_H -I. -I.. -I../libslp -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT slptool.o -MD -MP -MF .deps/slptool.Tpo -c -o slptool.o slptool.c slptool.c: In function 'main': slptool.c:982:25: warning: variable 'result' set but not used [-Wunused-but-set-variable] 982 | int result; | ^~~~~~ mv -f .deps/slptool.Tpo .deps/slptool.Po --- slptool --- /usr/bin/bash ../libtool --tag=CC --mode=link gcc -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -o slptool slptool.o ../libslp/libslp.la ../common/libcommonlibslp.la ../common/libcommonslpd.la -lnsl -lsocket -lresolv -lcrypto libtool: link: gcc -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/tmp/work/net/openslp/work/.buildlink/include -DSOLARIS -Wall -Wl,-rpath -Wl,/opt/pkg/lib -o .libs/slptool slptool.o -L/tmp/work/net/openslp/work/.buildlink/lib ../libslp/.libs/libslp.so ../common/.libs/libcommonlibslp.a ../common/.libs/libcommonslpd.a -lnsl -lsocket -lresolv -lcrypto -R/opt/pkg/lib Making all in test --- SLPDereg.o --- --- SLPEscape.o --- --- SLPFindAttrs.o --- --- SLPFindSrvTypes.o --- --- SLPFindSrvs.o --- --- SLPEscape.o --- gcc -DHAVE_CONFIG_H -I. -I.. -I../libslp -I../libslpattr -I../common -I../slpd -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT SLPEscape.o -MD -MP -MF .deps/SLPEscape.Tpo -c -o SLPEscape.o `test -f 'SLPEscape/SLPEscape.c' || echo './'`SLPEscape/SLPEscape.c --- SLPFindAttrs.o --- gcc -DHAVE_CONFIG_H -I. -I.. -I../libslp -I../libslpattr -I../common -I../slpd -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT SLPFindAttrs.o -MD -MP -MF .deps/SLPFindAttrs.Tpo -c -o SLPFindAttrs.o `test -f 'SLPFindAttrs/SLPFindAttrs.c' || echo './'`SLPFindAttrs/SLPFindAttrs.c --- SLPDereg.o --- gcc -DHAVE_CONFIG_H -I. -I.. -I../libslp -I../libslpattr -I../common -I../slpd -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT SLPDereg.o -MD -MP -MF .deps/SLPDereg.Tpo -c -o SLPDereg.o `test -f 'SLPDereg/SLPDereg.c' || echo './'`SLPDereg/SLPDereg.c --- SLPFindSrvTypes.o --- gcc -DHAVE_CONFIG_H -I. -I.. -I../libslp -I../libslpattr -I../common -I../slpd -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT SLPFindSrvTypes.o -MD -MP -MF .deps/SLPFindSrvTypes.Tpo -c -o SLPFindSrvTypes.o `test -f 'SLPFindSrvTypes/SLPFindSrvTypes.c' || echo './'`SLPFindSrvTypes/SLPFindSrvTypes.c --- SLPFindSrvs.o --- gcc -DHAVE_CONFIG_H -I. -I.. -I../libslp -I../libslpattr -I../common -I../slpd -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT SLPFindSrvs.o -MD -MP -MF .deps/SLPFindSrvs.Tpo -c -o SLPFindSrvs.o `test -f 'SLPFindSrvs/SLPFindSrvs.c' || echo './'`SLPFindSrvs/SLPFindSrvs.c mv -f .deps/SLPFindSrvs.Tpo .deps/SLPFindSrvs.Po --- SLPFindSrvTypes.o --- mv -f .deps/SLPFindSrvTypes.Tpo .deps/SLPFindSrvTypes.Po --- SLPOpen.o --- --- SLPParseSrvURL.o --- --- SLPEscape.o --- mv -f .deps/SLPEscape.Tpo .deps/SLPEscape.Po --- SLPOpen.o --- gcc -DHAVE_CONFIG_H -I. -I.. -I../libslp -I../libslpattr -I../common -I../slpd -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT SLPOpen.o -MD -MP -MF .deps/SLPOpen.Tpo -c -o SLPOpen.o `test -f 'SLPOpen/SLPOpen.c' || echo './'`SLPOpen/SLPOpen.c --- SLPParseSrvURL.o --- gcc -DHAVE_CONFIG_H -I. -I.. -I../libslp -I../libslpattr -I../common -I../slpd -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT SLPParseSrvURL.o -MD -MP -MF .deps/SLPParseSrvURL.Tpo -c -o SLPParseSrvURL.o `test -f 'SLPParseSrvURL/SLPParseSrvURL.c' || echo './'`SLPParseSrvURL/SLPParseSrvURL.c --- SLPFindAttrs.o --- mv -f .deps/SLPFindAttrs.Tpo .deps/SLPFindAttrs.Po --- SLPReg.o --- --- SLPUnescape.o --- --- SLPDereg.o --- mv -f .deps/SLPDereg.Tpo .deps/SLPDereg.Po --- SLPReg.o --- gcc -DHAVE_CONFIG_H -I. -I.. -I../libslp -I../libslpattr -I../common -I../slpd -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT SLPReg.o -MD -MP -MF .deps/SLPReg.Tpo -c -o SLPReg.o `test -f 'SLPReg/SLPReg.c' || echo './'`SLPReg/SLPReg.c --- SLPUnescape.o --- gcc -DHAVE_CONFIG_H -I. -I.. -I../libslp -I../libslpattr -I../common -I../slpd -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT SLPUnescape.o -MD -MP -MF .deps/SLPUnescape.Tpo -c -o SLPUnescape.o `test -f 'SLPUnescape/SLPUnescape.c' || echo './'`SLPUnescape/SLPUnescape.c --- slp_attr_test.o --- gcc -DHAVE_CONFIG_H -I. -I.. -I../libslp -I../libslpattr -I../common -I../slpd -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DSOLARIS -Wall -MT slp_attr_test.o -MD -MP -MF .deps/slp_attr_test.Tpo -c -o slp_attr_test.o `test -f 'SLP_attr_test/slp_attr_test.c' || echo './'`SLP_attr_test/slp_attr_test.c SLP_attr_test/slp_attr_test.c: In function 'test_size': SLP_attr_test/slp_attr_test.c:128:18: warning: variable 'err' set but not used [-Wunused-but-set-variable] 128 | SLPError err; | ^~~ SLP_attr_test/slp_attr_test.c: In function 'test_int': SLP_attr_test/slp_attr_test.c:162:18: warning: variable 'err' set but not used [-Wunused-but-set-variable] 162 | SLPError err; | ^~~ SLP_attr_test/slp_attr_test.c: In function 'test_string': SLP_attr_test/slp_attr_test.c:218:18: warning: variable 'err' set but not used [-Wunused-but-set-variable] 218 | SLPError err; | ^~~ SLP_attr_test/slp_attr_test.c: In function 'main': SLP_attr_test/slp_attr_test.c:272:20: error: two or more data types in declaration specifiers 272 | SLPBoolean bool; | ^~~~ SLP_attr_test/slp_attr_test.c:272:9: warning: useless type name in empty declaration 272 | SLPBoolean bool; | ^~~~~~~~~~ SLP_attr_test/slp_attr_test.c:286:21: warning: variable 'int_err' set but not used [-Wunused-but-set-variable] 286 | int int_err; /* Somewhere to store integer return values. */ | ^~~~~~~ SLP_attr_test/slp_attr_test.c:403:55: error: expected expression before 'bool' 403 | err = SLPAttrGet_bool(attr, "shouldBeFalse", &bool); /* Test. */ | ^~~~ SLP_attr_test/slp_attr_test.c:599:47: error: expected expression before 'bool' 599 | err = SLPAttrGet_bool(attr, "keyw1", &bool); | ^~~~ SLP_attr_test/slp_attr_test.c:654:47: error: expected expression before 'bool' 654 | err = SLPAttrGet_bool(attr, "abool", &bool); | ^~~~ SLP_attr_test/slp_attr_test.c:714:47: error: expected expression before 'bool' 714 | err = SLPAttrGet_bool(attr, "abool", &bool); | ^~~~ SLP_attr_test/slp_attr_test.c:266:18: warning: variable 'err' set but not used [-Wunused-but-set-variable] 266 | SLPError err; | ^~~ *** [slp_attr_test.o] Error code 1 bmake[2]: stopped making "all" in /tmp/work/net/openslp/work/openslp-1.2.1/test --- SLPOpen.o --- mv -f .deps/SLPOpen.Tpo .deps/SLPOpen.Po --- SLPParseSrvURL.o --- mv -f .deps/SLPParseSrvURL.Tpo .deps/SLPParseSrvURL.Po --- SLPUnescape.o --- mv -f .deps/SLPUnescape.Tpo .deps/SLPUnescape.Po --- SLPReg.o --- mv -f .deps/SLPReg.Tpo .deps/SLPReg.Po bmake[2]: 1 error bmake[2]: stopped making "all" in /tmp/work/net/openslp/work/openslp-1.2.1/test bmake[1]: stopped making "all-recursive" in /tmp/work/net/openslp/work/openslp-1.2.1 bmake: stopped making "all" in /tmp/work/net/openslp/work/openslp-1.2.1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/openslp *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/openslp