=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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_compare.lo --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT slp_compare.lo -MD -MP -MF .deps/slp_compare.Tpo -c -o slp_compare.lo slp_compare.c --- slp_buffer.lo --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT slp_buffer.lo -MD -MP -MF .deps/slp_buffer.Tpo -c -o slp_buffer.lo slp_buffer.c --- slp_message.lo --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT slp_message.lo -MD -MP -MF .deps/slp_message.Tpo -c -o slp_message.lo slp_message.c --- slp_buffer.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -Wall -MT slp_buffer.lo -MD -MP -MF .deps/slp_buffer.Tpo -c slp_buffer.c -fno-common -DPIC -o .libs/slp_buffer.o --- slp_compare.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -Wall -MT slp_compare.lo -MD -MP -MF .deps/slp_compare.Tpo -c slp_compare.c -fno-common -DPIC -o .libs/slp_compare.o --- slp_message.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -Wall -MT slp_message.lo -MD -MP -MF .deps/slp_message.Tpo -c slp_message.c -fno-common -DPIC -o .libs/slp_message.o --- slp_compare.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -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_buffer.lo --- slp_buffer.c:61:12: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 61 | result = (unsigned char*)xmalloc(srclen); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -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_message.lo --- slp_message.c:87:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 87 | header->length = AsUINT24(buffer->curpos + 2); | ^~~~~~~~~~~~~~~~~~ ./slp_message.h:483:35: note: passing argument to parameter 'charptr' here 483 | unsigned int AsUINT24(const char *charptr); | ^ slp_message.c:88:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 88 | header->flags = AsUINT16(buffer->curpos + 5); | ^~~~~~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:90:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 90 | header->extoffset = AsUINT24(buffer->curpos + 7); | ^~~~~~~~~~~~~~~~~~ ./slp_message.h:483:35: note: passing argument to parameter 'charptr' here 483 | unsigned int AsUINT24(const char *charptr); | ^ slp_message.c:91:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 91 | header->xid = AsUINT16(buffer->curpos + 10); | ^~~~~~~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:92:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 92 | header->langtaglen = AsUINT16(buffer->curpos + 12); | ^~~~~~~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:93:25: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 93 | header->langtag = buffer->curpos + 14; | ^ ~~~~~~~~~~~~~~~~~~~ slp_message.c:140:23: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 140 | authblock->opaque = buffer->curpos; | ^ ~~~~~~~~~~~~~~ slp_message.c:142:40: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 142 | authblock->bsd = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:143:40: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 143 | authblock->length = AsUINT16(buffer->curpos + 2); | ^~~~~~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:150:40: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 150 | authblock->timestamp = AsUINT32(buffer->curpos + 4); | ^~~~~~~~~~~~~~~~~~ ./slp_message.h:484:35: note: passing argument to parameter 'charptr' here 484 | unsigned int AsUINT32(const char *charptr); | ^ slp_message.c:151:40: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 151 | authblock->spistrlen = AsUINT16(buffer->curpos + 8); | ^~~~~~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:152:29: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 152 | authblock->spistr = buffer->curpos + 10; | ^ ~~~~~~~~~~~~~~~~~~~ slp_message.c:184:22: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 184 | urlentry->opaque = buffer->curpos; | ^ ~~~~~~~~~~~~~~ slp_message.c:191:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 191 | urlentry->lifetime = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:195:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 195 | urlentry->urllen = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:202:19: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 202 | urlentry->url = buffer->curpos; | ^ ~~~~~~~~~~~~~~ slp_message.c:243:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 243 | srvrqst->prlistlen = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:249:21: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 249 | srvrqst->prlist = buffer->curpos; | ^ ~~~~~~~~~~~~~~ slp_message.c:254:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 254 | srvrqst->srvtypelen = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:260:22: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 260 | srvrqst->srvtype = buffer->curpos; | ^ ~~~~~~~~~~~~~~ slp_message.c:265:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 265 | srvrqst->scopelistlen = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:271:24: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 271 | srvrqst->scopelist = buffer->curpos; | ^ ~~~~~~~~~~~~~~ slp_message.c:277:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 277 | srvrqst->predicatelen = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:283:24: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 283 | srvrqst->predicate = buffer->curpos; | ^ ~~~~~~~~~~~~~~ slp_message.c:288:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 288 | srvrqst->spistrlen = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:294:21: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 294 | srvrqst->spistr = buffer->curpos; | ^ ~~~~~~~~~~~~~~ slp_message.c:315:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 315 | srvrply->errorcode = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:320:39: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 320 | srvrply->errorcode = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:326:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 326 | srvrply->urlcount = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:373:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 373 | srvreg->srvtypelen = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:379:21: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 379 | srvreg->srvtype = buffer->curpos; | ^ ~~~~~~~~~~~~~~ slp_message.c:384:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 384 | srvreg->scopelistlen = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:390:23: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 390 | srvreg->scopelist = buffer->curpos; | ^ ~~~~~~~~~~~~~~ slp_message.c:395:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 395 | srvreg->attrlistlen = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:401:22: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 401 | srvreg->attrlist = buffer->curpos; | ^ ~~~~~~~~~~~~~~ slp_message.c:444:39: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 444 | srvdereg->scopelistlen = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:450:25: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 450 | srvdereg->scopelist = buffer->curpos; | ^ ~~~~~~~~~~~~~~ slp_message.c:465:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 465 | srvdereg->taglistlen = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:471:23: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 471 | srvdereg->taglist = buffer->curpos; | ^ ~~~~~~~~~~~~~~ slp_message.c:482:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 482 | srvack->errorcode = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:498:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 498 | attrrqst->prlistlen = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:504:22: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 504 | attrrqst->prlist = buffer->curpos; | ^ ~~~~~~~~~~~~~~ slp_message.c:508:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 508 | attrrqst->urllen = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:514:19: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 514 | attrrqst->url = buffer->curpos; | ^ ~~~~~~~~~~~~~~ slp_message.c:519:39: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 519 | attrrqst->scopelistlen = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:525:25: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 525 | attrrqst->scopelist = buffer->curpos; | ^ ~~~~~~~~~~~~~~ slp_message.c:530:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 530 | attrrqst->taglistlen = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:536:23: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 536 | attrrqst->taglist = buffer->curpos; | ^ ~~~~~~~~~~~~~~ slp_message.c:541:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 541 | attrrqst->spistrlen = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:547:22: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 547 | attrrqst->spistr = buffer->curpos; | ^ ~~~~~~~~~~~~~~ slp_message.c:568:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 568 | attrrply->errorcode = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:573:40: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 573 | attrrply->errorcode = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:579:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 579 | attrrply->attrlistlen = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:585:24: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 585 | attrrply->attrlist = buffer->curpos; | ^ ~~~~~~~~~~~~~~ slp_message.c:626:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 626 | daadvert->errorcode = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:631:40: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 631 | daadvert->errorcode = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:641:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 641 | daadvert->bootstamp = AsUINT32(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:484:35: note: passing argument to parameter 'charptr' here 484 | unsigned int AsUINT32(const char *charptr); | ^ slp_message.c:645:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 645 | daadvert->urllen = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:651:19: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 651 | daadvert->url = buffer->curpos; | ^ ~~~~~~~~~~~~~~ slp_message.c:655:39: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 655 | daadvert->scopelistlen = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:661:25: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 661 | daadvert->scopelist = buffer->curpos; | ^ ~~~~~~~~~~~~~~ slp_message.c:665:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 665 | daadvert->attrlistlen = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:671:24: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 671 | daadvert->attrlist = buffer->curpos; | ^ ~~~~~~~~~~~~~~ slp_message.c:675:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 675 | daadvert->spilistlen = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:681:23: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 681 | daadvert->spilist = buffer->curpos; | ^ ~~~~~~~~~~~~~~ slp_message.c:724:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 724 | saadvert->urllen = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:730:19: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 730 | saadvert->url = buffer->curpos; | ^ ~~~~~~~~~~~~~~ slp_message.c:734:39: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 734 | saadvert->scopelistlen = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:740:25: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 740 | saadvert->scopelist = buffer->curpos; | ^ ~~~~~~~~~~~~~~ slp_message.c:744:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 744 | saadvert->attrlistlen = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:750:24: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 750 | saadvert->attrlist = buffer->curpos; | ^ ~~~~~~~~~~~~~~ slp_message.c:789:39: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 789 | srvtyperqst->prlistlen = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:795:25: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 795 | srvtyperqst->prlist = srvtyperqst->prlistlen ? buffer->curpos : 0; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slp_message.c:799:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 799 | srvtyperqst->namingauthlen = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:811:33: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 811 | srvtyperqst->namingauth = buffer->curpos; | ^ ~~~~~~~~~~~~~~ slp_message.c:820:42: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 820 | srvtyperqst->scopelistlen = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:826:28: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 826 | srvtyperqst->scopelist = buffer->curpos; | ^ ~~~~~~~~~~~~~~ slp_message.c:844:39: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 844 | srvtyperply->errorcode = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:849:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 849 | srvtyperply->errorcode = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:855:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 855 | srvtyperply->srvtypelistlen = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:862:30: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 862 | srvtyperply->srvtypelist = buffer->curpos; | ^ ~~~~~~~~~~~~~~ slp_message.c:896:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 896 | extid = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_message.c:899:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 899 | nextoffset = AsUINT24(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:483:35: note: passing argument to parameter 'charptr' here 483 | unsigned int AsUINT24(const char *charptr); | ^ slp_message.c:914:53: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 914 | message->body.srvreg.pid = AsUINT32(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:484:35: note: passing argument to parameter 'charptr' here 484 | unsigned int AsUINT32(const char *charptr); | ^ 84 warnings generated. libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -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_compare.lo --- mv -f .deps/slp_compare.Tpo .deps/slp_compare.Plo --- slp_property.lo --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT slp_property.lo -MD -MP -MF .deps/slp_property.Tpo -c -o slp_property.lo slp_property.c --- slp_buffer.lo --- mv -f .deps/slp_buffer.Tpo .deps/slp_buffer.Plo --- slp_linkedlist.lo --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT slp_linkedlist.lo -MD -MP -MF .deps/slp_linkedlist.Tpo -c -o slp_linkedlist.lo slp_linkedlist.c --- slp_property.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -Wall -MT slp_property.lo -MD -MP -MF .deps/slp_property.Tpo -c slp_property.c -fno-common -DPIC -o .libs/slp_property.o --- slp_message.lo --- mv -f .deps/slp_message.Tpo .deps/slp_message.Plo --- slp_xid.lo --- --- slp_linkedlist.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -Wall -MT slp_linkedlist.lo -MD -MP -MF .deps/slp_linkedlist.Tpo -c slp_linkedlist.c -fno-common -DPIC -o .libs/slp_linkedlist.o --- slp_xid.lo --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT slp_xid.lo -MD -MP -MF .deps/slp_xid.Tpo -c -o slp_xid.lo slp_xid.c libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -Wall -MT slp_xid.lo -MD -MP -MF .deps/slp_xid.Tpo -c slp_xid.c -fno-common -DPIC -o .libs/slp_xid.o --- slp_linkedlist.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -Wall -MT slp_linkedlist.lo -MD -MP -MF .deps/slp_linkedlist.Tpo -c slp_linkedlist.c -o slp_linkedlist.o >/dev/null 2>&1 --- slp_property.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -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_linkedlist.lo --- mv -f .deps/slp_linkedlist.Tpo .deps/slp_linkedlist.Plo --- slp_database.lo --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -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: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -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_property.lo --- mv -f .deps/slp_property.Tpo .deps/slp_property.Plo --- slp_xmalloc.lo --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT slp_xmalloc.lo -MD -MP -MF .deps/slp_xmalloc.Tpo -c -o slp_xmalloc.lo slp_xmalloc.c --- slp_database.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -Wall -MT slp_database.lo -MD -MP -MF .deps/slp_database.Tpo -c slp_database.c -fno-common -DPIC -o .libs/slp_database.o --- slp_xmalloc.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -Wall -MT slp_xmalloc.lo -MD -MP -MF .deps/slp_xmalloc.Tpo -c slp_xmalloc.c -fno-common -DPIC -o .libs/slp_xmalloc.o --- slp_xid.lo --- mv -f .deps/slp_xid.Tpo .deps/slp_xid.Plo --- slp_parse.lo --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT slp_parse.lo -MD -MP -MF .deps/slp_parse.Tpo -c -o slp_parse.lo slp_parse.c --- slp_xmalloc.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -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 --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -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_parse.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -Wall -MT slp_parse.lo -MD -MP -MF .deps/slp_parse.Tpo -c slp_parse.c -fno-common -DPIC -o .libs/slp_parse.o --- slp_xmalloc.lo --- mv -f .deps/slp_xmalloc.Tpo .deps/slp_xmalloc.Plo --- slp_iface.lo --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT slp_iface.lo -MD -MP -MF .deps/slp_iface.Tpo -c -o slp_iface.lo slp_iface.c libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -Wall -MT slp_iface.lo -MD -MP -MF .deps/slp_iface.Tpo -c slp_iface.c -fno-common -DPIC -o .libs/slp_iface.o --- slp_parse.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -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_database.lo --- mv -f .deps/slp_database.Tpo .deps/slp_database.Plo --- slp_net.lo --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT slp_net.lo -MD -MP -MF .deps/slp_net.Tpo -c -o slp_net.lo slp_net.c libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -Wall -MT slp_net.lo -MD -MP -MF .deps/slp_net.Tpo -c slp_net.c -fno-common -DPIC -o .libs/slp_net.o --- slp_parse.lo --- mv -f .deps/slp_parse.Tpo .deps/slp_parse.Plo --- slp_pid.lo --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT slp_pid.lo -MD -MP -MF .deps/slp_pid.Tpo -c -o slp_pid.lo slp_pid.c --- slp_iface.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -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_pid.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -Wall -MT slp_pid.lo -MD -MP -MF .deps/slp_pid.Tpo -c slp_pid.c -fno-common -DPIC -o .libs/slp_pid.o --- slp_net.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -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_iface.lo --- mv -f .deps/slp_iface.Tpo .deps/slp_iface.Plo --- slp_attr_l.c --- /opt/pkg/bin/mksh ../ylwrap slp_attr_l.l lex.yy.c slp_attr_l.c -- flex --- slp_pid.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -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_net.lo --- mv -f .deps/slp_net.Tpo .deps/slp_net.Plo --- slp_predicate.lo --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT slp_predicate.lo -MD -MP -MF .deps/slp_predicate.Tpo -c -o slp_predicate.lo slp_predicate.c --- slp_dhcp.lo --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT slp_dhcp.lo -MD -MP -MF .deps/slp_dhcp.Tpo -c -o slp_dhcp.lo slp_dhcp.c --- slp_predicate.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -Wall -MT slp_predicate.lo -MD -MP -MF .deps/slp_predicate.Tpo -c slp_predicate.c -fno-common -DPIC -o .libs/slp_predicate.o --- slp_pid.lo --- mv -f .deps/slp_pid.Tpo .deps/slp_pid.Plo --- slp_v1message.lo --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT slp_v1message.lo -MD -MP -MF .deps/slp_v1message.Tpo -c -o slp_v1message.lo slp_v1message.c --- slp_predicate.lo --- slp_predicate.c:177:101: warning: if statement has empty body [-Wempty-body] 177 | SLP_MIN((*((int *)a->val.opaqueVal)), (*((int *)a->val.opaqueVal)))) ); | ^ slp_predicate.c:177:101: note: put the semicolon on a separate line to silence this warning slp_predicate.c:257:46: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 257 | ( FNM_NOMATCH == fnmatch(filter->attrs.next->name, | ^~~~~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/fnmatch.h:82:26: note: passing argument to parameter here 82 | int fnmatch(const char *, const char *, int) __DARWIN_ALIAS(fnmatch); | ^ slp_predicate.c:258:46: warning: passing 'unsigned char *const' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 258 | attrs->name, FNM_CASEFOLD)) ) | ^~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/fnmatch.h:82:40: note: passing argument to parameter here 82 | int fnmatch(const char *, const char *, int) __DARWIN_ALIAS(fnmatch); | ^ --- slp_dhcp.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -Wall -MT slp_dhcp.lo -MD -MP -MF .deps/slp_dhcp.Tpo -c slp_dhcp.c -fno-common -DPIC -o .libs/slp_dhcp.o --- slp_predicate.lo --- 3 warnings generated. libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -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_v1message.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -Wall -MT slp_v1message.lo -MD -MP -MF .deps/slp_v1message.Tpo -c slp_v1message.c -fno-common -DPIC -o .libs/slp_v1message.o --- slp_predicate.lo --- mv -f .deps/slp_predicate.Tpo .deps/slp_predicate.Plo --- slp_utf8.lo --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT slp_utf8.lo -MD -MP -MF .deps/slp_utf8.Tpo -c -o slp_utf8.lo slp_utf8.c --- slp_v1message.lo --- slp_v1message.c:72:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 72 | header->length = AsUINT16(buffer->curpos + 2); | ^~~~~~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_v1message.c:74:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 74 | header->encoding = AsUINT16(buffer->curpos + 8); | ^~~~~~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_v1message.c:76:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 76 | header->xid = AsUINT16(buffer->curpos + 10); | ^~~~~~~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_v1message.c:78:25: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 78 | header->langtag = buffer->curpos + 6; | ^ ~~~~~~~~~~~~~~~~~~ slp_v1message.c:130:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 130 | urlentry->lifetime = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_v1message.c:134:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 134 | urlentry->urllen = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_v1message.c:141:19: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 141 | urlentry->url = buffer->curpos; | ^ ~~~~~~~~~~~~~~ slp_v1message.c:173:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 173 | srvrqst->prlistlen = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_v1message.c:180:21: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 180 | srvrqst->prlist = buffer->curpos; | ^ ~~~~~~~~~~~~~~ slp_v1message.c:189:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 189 | srvrqst->predicatelen = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_v1message.c:195:24: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 195 | srvrqst->predicate = buffer->curpos; | ^ ~~~~~~~~~~~~~~ slp_v1message.c:285:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 285 | srvreg->attrlistlen = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_v1message.c:291:22: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 291 | srvreg->attrlist = buffer->curpos; | ^ ~~~~~~~~~~~~~~ slp_v1message.c:346:42: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 346 | srvdereg->urlentry.urllen = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_v1message.c:352:28: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 352 | srvdereg->urlentry.url = buffer->curpos; | ^ ~~~~~~~~~~~~~~ slp_v1message.c:362:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 362 | srvdereg->taglistlen = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_v1message.c:368:23: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 368 | srvdereg->taglist = buffer->curpos; | ^ ~~~~~~~~~~~~~~ slp_v1message.c:392:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 392 | attrrqst->prlistlen = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_v1message.c:398:22: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 398 | attrrqst->prlist = buffer->curpos; | ^ ~~~~~~~~~~~~~~ slp_v1message.c:407:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 407 | attrrqst->urllen = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_v1message.c:413:19: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 413 | attrrqst->url = buffer->curpos; | ^ ~~~~~~~~~~~~~~ slp_v1message.c:422:39: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 422 | attrrqst->scopelistlen = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_v1message.c:430:29: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 430 | attrrqst->scopelist = buffer->curpos; | ^ ~~~~~~~~~~~~~~ slp_v1message.c:444:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 444 | attrrqst->taglistlen = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_v1message.c:450:23: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 450 | attrrqst->taglist = buffer->curpos; | ^ ~~~~~~~~~~~~~~ slp_v1message.c:480:39: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 480 | srvtyperqst->prlistlen = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_v1message.c:486:25: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 486 | srvtyperqst->prlist = srvtyperqst->prlistlen ? buffer->curpos : 0; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slp_v1message.c:495:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 495 | srvtyperqst->namingauthlen = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_v1message.c:507:33: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 507 | srvtyperqst->namingauth = buffer->curpos; | ^ ~~~~~~~~~~~~~~ slp_v1message.c:521:42: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 521 | srvtyperqst->scopelistlen = AsUINT16(buffer->curpos); | ^~~~~~~~~~~~~~ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ slp_v1message.c:529:32: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 529 | srvtyperqst->scopelist = buffer->curpos; | ^ ~~~~~~~~~~~~~~ --- slp_dhcp.lo --- slp_dhcp.c:476:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 476 | ToUINT32(p, xid); | ^ ./slp_message.h:491:21: note: passing argument to parameter 'charptr' here 491 | void ToUINT32(char *charptr, unsigned int val); | ^ slp_dhcp.c:538:39: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 538 | else if(rcvbufsz >= 236 && AsUINT32(&rcvbuf[4]) == xid) | ^~~~~~~~~~ ./slp_message.h:484:35: note: passing argument to parameter 'charptr' here 484 | unsigned int AsUINT32(const char *charptr); | ^ slp_dhcp.c:579:41: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 579 | encoding = (optdatasz > 1)? AsUINT16(p): 0; | ^ ./slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ 3 warnings generated. --- slp_v1message.lo --- 31 warnings generated. --- slp_dhcp.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -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_v1message.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -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 --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -Wall -MT slp_utf8.lo -MD -MP -MF .deps/slp_utf8.Tpo -c slp_utf8.c -fno-common -DPIC -o .libs/slp_utf8.o --- slp_v1message.lo --- mv -f .deps/slp_v1message.Tpo .deps/slp_v1message.Plo --- slp_utf8.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -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_dhcp.lo --- mv -f .deps/slp_dhcp.Tpo .deps/slp_dhcp.Plo --- slp_auth.lo --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT slp_auth.lo -MD -MP -MF .deps/slp_auth.Tpo -c -o slp_auth.lo slp_auth.c --- slp_crypto.lo --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT slp_crypto.lo -MD -MP -MF .deps/slp_crypto.Tpo -c -o slp_crypto.lo slp_crypto.c --- slp_auth.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -Wall -MT slp_auth.lo -MD -MP -MF .deps/slp_auth.Tpo -c slp_auth.c -fno-common -DPIC -o .libs/slp_auth.o --- slp_crypto.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -Wall -MT slp_crypto.lo -MD -MP -MF .deps/slp_crypto.Tpo -c slp_crypto.c -fno-common -DPIC -o .libs/slp_crypto.o --- slp_utf8.lo --- mv -f .deps/slp_utf8.Tpo .deps/slp_utf8.Plo --- slp_spi.lo --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT slp_spi.lo -MD -MP -MF .deps/slp_spi.Tpo -c -o slp_spi.lo slp_spi.c --- slp_auth.lo --- slp_auth.c:91:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 91 | ToUINT16(curpos,spistrlen); | ^~~~~~ ./slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slp_auth.c:96:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 96 | ToUINT16(curpos,stringlen); | ^~~~~~ ./slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slp_auth.c:101:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 101 | ToUINT32(curpos, timestamp); | ^~~~~~ ./slp_message.h:491:21: note: passing argument to parameter 'charptr' here 491 | void ToUINT32(char *charptr, unsigned int val); | ^ slp_auth.c:167:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 167 | ToUINT16(curpos,spistrlen); | ^~~~~~ ./slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slp_auth.c:172:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 172 | ToUINT32(curpos,bootstamp); | ^~~~~~ ./slp_message.h:491:21: note: passing argument to parameter 'charptr' here 491 | void ToUINT32(char *charptr, unsigned int val); | ^ slp_auth.c:175:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 175 | ToUINT16(curpos,urllen); | ^~~~~~ ./slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slp_auth.c:180:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 180 | ToUINT16(curpos,scopelistlen); | ^~~~~~ ./slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slp_auth.c:185:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 185 | ToUINT16(curpos,attrlistlen); | ^~~~~~ ./slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slp_auth.c:190:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 190 | ToUINT16(curpos,daspistrlen); | ^~~~~~ ./slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slp_auth.c:195:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 195 | ToUINT32(curpos,timestamp); | ^~~~~~ ./slp_message.h:491:21: note: passing argument to parameter 'charptr' here 491 | void ToUINT32(char *charptr, unsigned int val); | ^ slp_auth.c:250:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 250 | ToUINT16(curpos,0x0002); /* the BSD for DSA-SHA1 */ | ^~~~~~ ./slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slp_auth.c:252:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 252 | ToUINT16(curpos,*authblocklen); | ^~~~~~ ./slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slp_auth.c:254:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 254 | ToUINT32(curpos,0xffffffff); /* very long expiration (for now) */ | ^~~~~~ ./slp_message.h:491:21: note: passing argument to parameter 'charptr' here 491 | void ToUINT32(char *charptr, unsigned int val); | ^ slp_auth.c:256:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 256 | ToUINT16(curpos, spistrlen); | ^~~~~~ ./slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ --- slp_spi.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -Wall -MT slp_spi.lo -MD -MP -MF .deps/slp_spi.Tpo -c slp_spi.c -fno-common -DPIC -o .libs/slp_spi.o --- slp_crypto.lo --- slp_crypto.c:90:15: warning: 'DSA_new' is deprecated [-Wdeprecated-declarations] 90 | result = DSA_new(); | ^ /var/tmp/work/net/openslp/work/.buildlink/include/openssl/dsa.h:129:1: note: 'DSA_new' has been explicitly marked deprecated here 129 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^ /var/tmp/work/net/openslp/work/.buildlink/include/openssl/macros.h:229:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 229 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /var/tmp/work/net/openslp/work/.buildlink/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED' 61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ slp_crypto.c:103:9: warning: 'DSA_get0_pqg' is deprecated [-Wdeprecated-declarations] 103 | DSA_get0_pqg(dsa, &p, &q, &g); | ^ /var/tmp/work/net/openslp/work/.buildlink/include/openssl/dsa.h:205:1: note: 'DSA_get0_pqg' has been explicitly marked deprecated here 205 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^ /var/tmp/work/net/openslp/work/.buildlink/include/openssl/macros.h:229:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 229 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /var/tmp/work/net/openslp/work/.buildlink/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED' 61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ slp_crypto.c:104:9: warning: 'DSA_set0_pqg' is deprecated [-Wdeprecated-declarations] 104 | DSA_set0_pqg(result, BN_dup(p), BN_dup(q), BN_dup(g)); | ^ /var/tmp/work/net/openslp/work/.buildlink/include/openssl/dsa.h:207:1: note: 'DSA_set0_pqg' has been explicitly marked deprecated here 207 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^ /var/tmp/work/net/openslp/work/.buildlink/include/openssl/macros.h:229:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 229 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /var/tmp/work/net/openslp/work/.buildlink/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED' 61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ slp_crypto.c:105:9: warning: 'DSA_get0_key' is deprecated [-Wdeprecated-declarations] 105 | DSA_get0_key(dsa, &pub_key, &priv_key); | ^ /var/tmp/work/net/openslp/work/.buildlink/include/openssl/dsa.h:208:1: note: 'DSA_get0_key' has been explicitly marked deprecated here 208 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, | ^ /var/tmp/work/net/openslp/work/.buildlink/include/openssl/macros.h:229:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 229 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /var/tmp/work/net/openslp/work/.buildlink/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED' 61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ slp_crypto.c:106:9: warning: 'DSA_set0_key' is deprecated [-Wdeprecated-declarations] 106 | DSA_set0_key(result, BN_dup(pub_key), BN_dup(priv_key)); | ^ /var/tmp/work/net/openslp/work/.buildlink/include/openssl/dsa.h:210:1: note: 'DSA_set0_key' has been explicitly marked deprecated here 210 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ^ /var/tmp/work/net/openslp/work/.buildlink/include/openssl/macros.h:229:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 229 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /var/tmp/work/net/openslp/work/.buildlink/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED' 61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ slp_crypto.c:123:5: warning: 'DSA_free' is deprecated [-Wdeprecated-declarations] 123 | DSA_free(dsa); | ^ /var/tmp/work/net/openslp/work/.buildlink/include/openssl/dsa.h:131:1: note: 'DSA_free' has been explicitly marked deprecated here --- slp_auth.lo --- 14 warnings generated. --- slp_crypto.lo --- 131 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^ /var/tmp/work/net/openslp/work/.buildlink/include/openssl/macros.h:229:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 229 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /var/tmp/work/net/openslp/work/.buildlink/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED' 61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ slp_crypto.c:136:12: warning: 'DSA_size' is deprecated [-Wdeprecated-declarations] 136 | return DSA_size(key); | ^ /var/tmp/work/net/openslp/work/.buildlink/include/openssl/dsa.h:134:1: note: 'DSA_size' has been explicitly marked deprecated here 134 | OSSL_DEPRECATEDIN_3_0 int DSA_size(const DSA *); | ^ /var/tmp/work/net/openslp/work/.buildlink/include/openssl/macros.h:229:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 229 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /var/tmp/work/net/openslp/work/.buildlink/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED' 61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ slp_crypto.c:161:12: warning: 'DSA_sign' is deprecated [-Wdeprecated-declarations] 161 | return DSA_sign(0, /* it does not look like the type param is used? */ | ^ /var/tmp/work/net/openslp/work/.buildlink/include/openssl/dsa.h:140:1: note: 'DSA_sign' has been explicitly marked deprecated here 140 | OSSL_DEPRECATEDIN_3_0 int DSA_sign(int type, const unsigned char *dgst, | ^ /var/tmp/work/net/openslp/work/.buildlink/include/openssl/macros.h:229:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 229 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /var/tmp/work/net/openslp/work/.buildlink/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED' 61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ slp_crypto.c:165:21: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 165 | signaturelen, | ^~~~~~~~~~~~ /var/tmp/work/net/openslp/work/.buildlink/include/openssl/dsa.h:142:19: note: passing argument to parameter 'siglen' here 142 | unsigned int *siglen, DSA *dsa); | ^ slp_crypto.c:187:12: warning: 'DSA_verify' is deprecated [-Wdeprecated-declarations] 187 | return DSA_verify(0, /* it does not look like the type param is used? */ | ^ /var/tmp/work/net/openslp/work/.buildlink/include/openssl/dsa.h:143:1: note: 'DSA_verify' has been explicitly marked deprecated here 143 | OSSL_DEPRECATEDIN_3_0 int DSA_verify(int type, const unsigned char *dgst, | ^ /var/tmp/work/net/openslp/work/.buildlink/include/openssl/macros.h:229:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 229 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /var/tmp/work/net/openslp/work/.buildlink/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED' 61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ 10 warnings generated. --- slp_auth.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -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 --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -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_spi.lo --- slp_spi.c:120:22: warning: 'PEM_read_DSA_PUBKEY' is deprecated [-Wdeprecated-declarations] 120 | result = PEM_read_DSA_PUBKEY(fp, &result, NULL, NULL); | ^ /var/tmp/work/net/openslp/work/.buildlink/include/openssl/pem.h:464:21: note: 'PEM_read_DSA_PUBKEY' has been explicitly marked deprecated here 464 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DSA_PUBKEY, DSA) | ^ /var/tmp/work/net/openslp/work/.buildlink/include/openssl/macros.h:229:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 229 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /var/tmp/work/net/openslp/work/.buildlink/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED' 61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ slp_spi.c:124:23: warning: 'PEM_read_DSAPrivateKey' is deprecated [-Wdeprecated-declarations] 124 | result = PEM_read_DSAPrivateKey(fp, &result, NULL, NULL); | ^ /var/tmp/work/net/openslp/work/.buildlink/include/openssl/pem.h:463:24: note: 'PEM_read_DSAPrivateKey' has been explicitly marked deprecated here 463 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, DSAPrivateKey, DSA) | ^ /var/tmp/work/net/openslp/work/.buildlink/include/openssl/macros.h:229:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 229 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /var/tmp/work/net/openslp/work/.buildlink/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED' 61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ 2 warnings generated. libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -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_crypto.lo --- mv -f .deps/slp_crypto.Tpo .deps/slp_crypto.Plo --- slp_network.lo --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT slp_network.lo -MD -MP -MF .deps/slp_network.Tpo -c -o slp_network.lo slp_network.c --- slp_auth.lo --- mv -f .deps/slp_auth.Tpo .deps/slp_auth.Plo --- slp_xcast.lo --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT slp_xcast.lo -MD -MP -MF .deps/slp_xcast.Tpo -c -o slp_xcast.lo slp_xcast.c --- slp_network.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -Wall -MT slp_network.lo -MD -MP -MF .deps/slp_network.Tpo -c slp_network.c -fno-common -DPIC -o .libs/slp_network.o --- slp_xcast.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -Wall -MT slp_xcast.lo -MD -MP -MF .deps/slp_xcast.Tpo -c slp_xcast.c -fno-common -DPIC -o .libs/slp_xcast.o --- slp_spi.lo --- mv -f .deps/slp_spi.Tpo .deps/slp_spi.Plo --- slp_attr_y.lo --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -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_network.lo --- slp_network.c:323:34: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 323 | &peeraddrlen); | ^~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/socket.h:720:27: note: passing argument to parameter here 720 | socklen_t * __restrict) __DARWIN_ALIAS_C(recvfrom); | ^ 1 warning generated. --- slp_xcast.lo --- slp_xcast.c:98:25: warning: variable 'flags' set but not used [-Wunused-but-set-variable] 98 | int flags = 0; | ^ slp_xcast.c:330:42: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 330 | &peeraddrlen); | ^~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/socket.h:720:27: note: passing argument to parameter here 720 | socklen_t * __restrict) __DARWIN_ALIAS_C(recvfrom); | ^ --- slp_network.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -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 --- 2 warnings generated. libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -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 --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -Wall -MT slp_attr_y.lo -MD -MP -MF .deps/slp_attr_y.Tpo -c slp_attr_y.c -fno-common -DPIC -o .libs/slp_attr_y.o slp_attr_y.y:162:26: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 162 | yyval._atl->name = strdup(yyvsp[-3]._s); | ^ ~~~~~~~~~~~~~~~~~~~~ slp_attr_y.y:216:38: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 216 | if ( NULL == (attr->name = strdup(name)) ) | ^ ~~~~~~~~~~~~ slp_attr_y.y:230:64: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 230 | if ( NULL != (attr->val.stringVal = strdup((unsigned char *)val)) ) | ^~~~~~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:141:40: note: passing argument to parameter '__s1' here 141 | char *_LIBC_CSTR strdup(const char *__s1); | ^ --- slp_network.lo --- mv -f .deps/slp_network.Tpo .deps/slp_network.Plo --- slp_xcast.lo --- mv -f .deps/slp_xcast.Tpo .deps/slp_xcast.Plo --- slp_filter_y.lo --- --- slp_filter_l.lo --- --- slp_attr_y.lo --- 3 warnings generated. --- slp_filter_y.lo --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -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 --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -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: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -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_filter_y.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -Wall -MT slp_filter_y.lo -MD -MP -MF .deps/slp_filter_y.Tpo -c slp_filter_y.c -fno-common -DPIC -o .libs/slp_filter_y.o --- slp_filter_l.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -Wall -MT slp_filter_l.lo -MD -MP -MF .deps/slp_filter_l.Tpo -c slp_filter_l.c -fno-common -DPIC -o .libs/slp_filter_l.o --- slp_attr_y.lo --- mv -f .deps/slp_attr_y.Tpo .deps/slp_attr_y.Plo --- slp_attr_l.lo --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -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_filter_l.lo --- slp_filter_l.l:155:22: warning: cast to 'YY_BUFFER_STATE' (aka 'struct yy_buffer_state *') from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] 155 | yy_delete_buffer((YY_BUFFER_STATE)handle); | ^~~~~~~~~~~~~~~~~~~~~~~ slp_filter_l.l:162:12: warning: cast to smaller integer type 'unsigned int' from 'YY_BUFFER_STATE' (aka 'struct yy_buffer_state *') [-Wpointer-to-int-cast] 162 | return((unsigned int)yy_scan_buffer(&buf[0], strlen(s) + 2)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slp_filter_l.c:1237:12: warning: function 'input' is not needed and will not be emitted [-Wunneeded-internal-declaration] 1237 | static int input() | ^~~~~ 3 warnings generated. --- slp_filter_y.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -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: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -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 --- slp_attr_l.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -Wall -MT slp_attr_l.lo -MD -MP -MF .deps/slp_attr_l.Tpo -c slp_attr_l.c -fno-common -DPIC -o .libs/slp_attr_l.o slp_attr_l.c:1415:16: warning: function 'input' is not needed and will not be emitted [-Wunneeded-internal-declaration] 1415 | static int input (void) | ^~~~~ --- slp_filter_y.lo --- mv -f .deps/slp_filter_y.Tpo .deps/slp_filter_y.Plo --- libcommonlibslp.la --- --- slp_filter_l.lo --- mv -f .deps/slp_filter_l.Tpo .deps/slp_filter_l.Plo --- libcommonlibslp.la --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=link clang -std=gnu23 -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -L/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 -lresolv -lcrypto --- slp_attr_l.lo --- 1 warning generated. libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -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 mv -f .deps/slp_attr_l.Tpo .deps/slp_attr_l.Plo --- libcommonslpd.la --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=link clang -std=gnu23 -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -L/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 -lresolv -lcrypto --- 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" ) --- libcommonslpd.la --- 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 --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT libslpattr.lo -MD -MP -MF .deps/libslpattr.Tpo -c -o libslpattr.lo libslpattr.c libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -Wall -MT libslpattr.lo -MD -MP -MF .deps/libslpattr.Tpo -c libslpattr.c -fno-common -DPIC -o .libs/libslpattr.o libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -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 --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=link clang -std=gnu23 -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -L/opt/pkg/lib -o libslpattr.la libslpattr.lo -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_v1process.o --- clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I../libslpattr -I. -I../libslp -DETCDIR=\"/opt/pkg/etc\" -DVARDIR=\"/var\" -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT slpd_v1process.o -MD -MP -MF .deps/slpd_v1process.Tpo -c -o slpd_v1process.o slpd_v1process.c --- slpd_predicate.o --- clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I../libslpattr -I. -I../libslp -DETCDIR=\"/opt/pkg/etc\" -DVARDIR=\"/var\" -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT slpd_predicate.o -MD -MP -MF .deps/slpd_predicate.Tpo -c -o slpd_predicate.o slpd_predicate.c --- slpd_spi.o --- clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I../libslpattr -I. -I../libslp -DETCDIR=\"/opt/pkg/etc\" -DVARDIR=\"/var\" -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT slpd_spi.o -MD -MP -MF .deps/slpd_spi.Tpo -c -o slpd_spi.o slpd_spi.c --- slpd_predicate.o --- slpd_predicate.c:1579:21: warning: variable 'err' set but not used [-Wunused-but-set-variable] 1579 | FilterResult err; | ^ --- slpd_v1process.o --- slpd_v1process.c:230:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 230 | ToUINT16(result->start + 2, size); | ^~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_v1process.c:238:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 238 | ToUINT16(result->start + 8, message->header.encoding); | ^~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_v1process.c:240:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 240 | ToUINT16(result->start + 10, message->header.xid); | ^~~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_v1process.c:247:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 247 | ToUINT16(result->curpos, errorcode); | ^~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_v1process.c:252:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 252 | ToUINT16(result->curpos, db->urlcount); | ^~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_v1process.c:257:22: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 257 | ToUINT16(result->curpos, db->urlarray[i]->lifetime); | ^~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_v1process.c:261:41: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 261 | errorcode = SLPv1ToEncoding(result->curpos + 2, | ^~~~~~~~~~~~~~~~~~ ../common/slp_utf8.h:57:27: note: passing argument to parameter 'string' here 57 | int SLPv1ToEncoding(char *string, int *len, int encoding, | ^ slpd_v1process.c:266:22: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 266 | ToUINT16(result->curpos, urllen); | ^~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_v1process.c:273:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 273 | ToUINT16(result->curpos, 0); | ^~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_v1process.c:364:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 364 | ToUINT16(result->start + 2, 14); | ^~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_v1process.c:371:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 371 | ToUINT16(result->start + 8, message->header.encoding); | ^~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_v1process.c:373:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 373 | ToUINT16(result->start + 10, message->header.xid); | ^~~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_v1process.c:378:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 378 | ToUINT16(result->start + 12, errorcode); | ^~~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_v1process.c:455:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 455 | ToUINT16(result->start + 2, 14); | ^~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_v1process.c:462:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 462 | ToUINT16(result->start + 8, message->header.encoding); | ^~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_v1process.c:464:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 464 | ToUINT16(result->start + 10, message->header.xid); | ^~~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_v1process.c:469:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 469 | ToUINT16(result->start + 12, errorcode); | ^~~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_v1process.c:574:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 574 | ToUINT16(result->start + 2, size); | ^~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_v1process.c:582:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 582 | ToUINT16(result->start + 8, message->header.encoding); | ^~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_v1process.c:584:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 584 | ToUINT16(result->start + 10, message->header.xid); | ^~~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_v1process.c:591:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 591 | ToUINT16(result->curpos, errorcode); | ^~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_v1process.c:596:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 596 | ToUINT16(result->curpos, attrlen); | ^~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_v1process.c:599:25: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 599 | SLPv1ToEncoding(result->curpos, &attrlen, | ^~~~~~~~~~~~~~ ../common/slp_utf8.h:57:27: note: passing argument to parameter 'string' here 57 | int SLPv1ToEncoding(char *string, int *len, int encoding, | ^ slpd_v1process.c:734:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 734 | ToUINT16(result->start + 2, size); | ^~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_v1process.c:742:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 742 | ToUINT16(result->start + 8, message->header.encoding); | ^~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_v1process.c:744:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 744 | ToUINT16(result->start + 10, message->header.xid); | ^~~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_v1process.c:751:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 751 | ToUINT16(result->curpos, errorcode); | ^~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_v1process.c:756:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 756 | ToUINT16(result->curpos, numsrvtypes); | ^~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_v1process.c:769:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 769 | SLPv1ToEncoding(result->curpos + 2, | ^~~~~~~~~~~~~~~~~~ ../common/slp_utf8.h:57:27: note: passing argument to parameter 'string' here 57 | int SLPv1ToEncoding(char *string, int *len, int encoding, | ^ slpd_v1process.c:775:22: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 775 | ToUINT16(result->curpos, typelen); | ^~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ --- slpd_predicate.o --- 1 warning generated. mv -f .deps/slpd_predicate.Tpo .deps/slpd_predicate.Po --- slpd_v1process.o --- 30 warnings generated. mv -f .deps/slpd_v1process.Tpo .deps/slpd_v1process.Po --- slpd_spi.o --- mv -f .deps/slpd_spi.Tpo .deps/slpd_spi.Po --- slpd_log.o --- --- slpd_socket.o --- --- slpd_database.o --- --- slpd_log.o --- clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I../libslpattr -I. -I../libslp -DETCDIR=\"/opt/pkg/etc\" -DVARDIR=\"/var\" -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT slpd_log.o -MD -MP -MF .deps/slpd_log.Tpo -c -o slpd_log.o slpd_log.c --- slpd_socket.o --- clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I../libslpattr -I. -I../libslp -DETCDIR=\"/opt/pkg/etc\" -DVARDIR=\"/var\" -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT slpd_socket.o -MD -MP -MF .deps/slpd_socket.Tpo -c -o slpd_socket.o slpd_socket.c --- slpd_database.o --- clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I../libslpattr -I. -I../libslp -DETCDIR=\"/opt/pkg/etc\" -DVARDIR=\"/var\" -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -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_log.o --- mv -f .deps/slpd_log.Tpo .deps/slpd_log.Po --- slpd_main.o --- --- slpd_process.o --- --- slpd_main.o --- clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I../libslpattr -I. -I../libslp -DETCDIR=\"/opt/pkg/etc\" -DVARDIR=\"/var\" -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT slpd_main.o -MD -MP -MF .deps/slpd_main.Tpo -c -o slpd_main.o slpd_main.c --- slpd_database.o --- mv -f .deps/slpd_database.Tpo .deps/slpd_database.Po --- slpd_process.o --- clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I../libslpattr -I. -I../libslp -DETCDIR=\"/opt/pkg/etc\" -DVARDIR=\"/var\" -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT slpd_process.o -MD -MP -MF .deps/slpd_process.Tpo -c -o slpd_process.o slpd_process.c --- slpd_cmdline.o --- clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I../libslpattr -I. -I../libslp -DETCDIR=\"/opt/pkg/etc\" -DVARDIR=\"/var\" -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT slpd_cmdline.o -MD -MP -MF .deps/slpd_cmdline.Tpo -c -o slpd_cmdline.o slpd_cmdline.c mv -f .deps/slpd_cmdline.Tpo .deps/slpd_cmdline.Po --- slpd_property.o --- clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I../libslpattr -I. -I../libslp -DETCDIR=\"/opt/pkg/etc\" -DVARDIR=\"/var\" -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT slpd_property.o -MD -MP -MF .deps/slpd_property.Tpo -c -o slpd_property.o slpd_property.c --- slpd_main.o --- mv -f .deps/slpd_main.Tpo .deps/slpd_main.Po --- slpd_process.o --- slpd_process.c:120:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 120 | ToUINT24(result->start + 2, size); | ^~~~~~~~~~~~~~~~~ ../common/slp_message.h:490:21: note: passing argument to parameter 'charptr' here 490 | void ToUINT24(char *charptr, unsigned int val); | ^ slpd_process.c:122:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 122 | ToUINT16(result->start + 5, | ^~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_process.c:125:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 125 | ToUINT24(result->start + 7,0); | ^~~~~~~~~~~~~~~~~ ../common/slp_message.h:490:21: note: passing argument to parameter 'charptr' here 490 | void ToUINT24(char *charptr, unsigned int val); | ^ slpd_process.c:127:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 127 | ToUINT16(result->start + 10,message->header.xid); | ^~~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_process.c:129:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 129 | ToUINT16(result->start + 12,message->header.langtaglen); | ^~~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_process.c:140:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 140 | ToUINT16(result->curpos, G_SlpdProperty.myUrlLen); | ^~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_process.c:146:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 146 | ToUINT16(result->curpos, G_SlpdProperty.useScopesLen); | ^~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_process.c:153:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 153 | ToUINT16(result->curpos, 0); | ^~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_process.c:221:30: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 221 | ToUINT16(tmp->curpos, message->header.xid); | ^~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ --- slpd_regfile.o --- --- slpd_process.o --- slpd_process.c:496:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 496 | ToUINT24(result->start + 2, size); | ^~~~~~~~~~~~~~~~~ ../common/slp_message.h:490:21: note: passing argument to parameter 'charptr' here 490 | void ToUINT24(char *charptr, unsigned int val); | ^ slpd_process.c:498:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 498 | ToUINT16(result->start + 5, | ^~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_process.c:501:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 501 | ToUINT24(result->start + 7,0); | ^~~~~~~~~~~~~~~~~ ../common/slp_message.h:490:21: note: passing argument to parameter 'charptr' here 490 | void ToUINT24(char *charptr, unsigned int val); | ^ slpd_process.c:503:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 503 | ToUINT16(result->start + 10,message->header.xid); | ^~~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_process.c:505:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 505 | ToUINT16(result->start + 12,message->header.langtaglen); | ^~~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_process.c:516:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 516 | ToUINT16(result->curpos, errorcode); | ^~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_process.c:521:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 521 | ToUINT16(result->curpos, db->urlcount); | ^~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_process.c:536:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 536 | ToUINT16(result->curpos,urlentry->lifetime); | ^~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_process.c:539:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 539 | ToUINT16(result->curpos,urlentry->urllen); | ^~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_process.c:562:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 562 | ToUINT16(result->curpos, 0); | ^~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_process.c:680:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 680 | ToUINT24(result->start + 2,message->header.langtaglen + 16); | ^~~~~~~~~~~~~~~~~ ../common/slp_message.h:490:21: note: passing argument to parameter 'charptr' here 490 | void ToUINT24(char *charptr, unsigned int val); | ^ slpd_process.c:682:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 682 | ToUINT16(result->start + 5,0); | ^~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_process.c:684:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 684 | ToUINT24(result->start + 7,0); | ^~~~~~~~~~~~~~~~~ ../common/slp_message.h:490:21: note: passing argument to parameter 'charptr' here 490 | void ToUINT24(char *charptr, unsigned int val); | ^ slpd_process.c:686:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 686 | ToUINT16(result->start + 10,message->header.xid); | ^~~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_process.c:688:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 688 | ToUINT16(result->start + 12,message->header.langtaglen); | ^~~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_process.c:697:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 697 | ToUINT16(result->start + 14 + message->header.langtaglen, errorcode); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_process.c:785:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 785 | ToUINT24(result->start + 2,message->header.langtaglen + 16); | ^~~~~~~~~~~~~~~~~ ../common/slp_message.h:490:21: note: passing argument to parameter 'charptr' here 490 | void ToUINT24(char *charptr, unsigned int val); | ^ slpd_process.c:787:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 787 | ToUINT16(result->start + 5,0); | ^~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_process.c:789:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 789 | ToUINT24(result->start + 7,0); | ^~~~~~~~~~~~~~~~~ ../common/slp_message.h:490:21: note: passing argument to parameter 'charptr' here 490 | void ToUINT24(char *charptr, unsigned int val); | ^ slpd_process.c:791:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 791 | ToUINT16(result->start + 10,message->header.xid); | ^~~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_process.c:793:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 793 | ToUINT16(result->start + 12,message->header.langtaglen); | ^~~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_process.c:802:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 802 | ToUINT16(result->start + 14 + message->header.langtaglen, errorcode); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_process.c:983:36: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 983 | opaqueauth = db->autharray[i].opaque; | ^ ~~~~~~~~~~~~~~~~~~~~~~~ slpd_process.c:1024:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1024 | ToUINT24(result->start + 2,size); | ^~~~~~~~~~~~~~~~~ ../common/slp_message.h:490:21: note: passing argument to parameter 'charptr' here 490 | void ToUINT24(char *charptr, unsigned int val); | ^ slpd_process.c:1026:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1026 | ToUINT16(result->start + 5, | ^~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_process.c:1029:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1029 | ToUINT24(result->start + 7,0); | ^~~~~~~~~~~~~~~~~ ../common/slp_message.h:490:21: note: passing argument to parameter 'charptr' here 490 | void ToUINT24(char *charptr, unsigned int val); | ^ slpd_process.c:1031:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1031 | ToUINT16(result->start + 10,message->header.xid); | ^~~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_process.c:1033:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1033 | ToUINT16(result->start + 12,message->header.langtaglen); | ^~~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_process.c:1044:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1044 | ToUINT16(result->curpos, errorcode); | ^~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_process.c:1049:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1049 | ToUINT16(result->curpos, db->attrlistlen); | ^~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_process.c:1139:24: warning: if statement has empty body [-Wempty-body] 1139 | if (errorcode == 0); | ^ slpd_process.c:1139:24: note: put the semicolon on a separate line to silence this warning slpd_process.c:1256:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1256 | ToUINT24(result->start + 2,size); | ^~~~~~~~~~~~~~~~~ ../common/slp_message.h:490:21: note: passing argument to parameter 'charptr' here 490 | void ToUINT24(char *charptr, unsigned int val); | ^ slpd_process.c:1258:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1258 | ToUINT16(result->start + 5, | ^~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_process.c:1261:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1261 | ToUINT24(result->start + 7,0); | ^~~~~~~~~~~~~~~~~ ../common/slp_message.h:490:21: note: passing argument to parameter 'charptr' here 490 | void ToUINT24(char *charptr, unsigned int val); | ^ slpd_process.c:1263:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1263 | ToUINT16(result->start + 10,message->header.xid); | ^~~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_process.c:1265:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1265 | ToUINT16(result->start + 12,message->header.langtaglen); | ^~~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_process.c:1277:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1277 | ToUINT16(result->curpos, errorcode); | ^~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here --- slpd_regfile.o --- clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I../libslpattr -I. -I../libslp -DETCDIR=\"/opt/pkg/etc\" -DVARDIR=\"/var\" -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT slpd_regfile.o -MD -MP -MF .deps/slpd_regfile.Tpo -c -o slpd_regfile.o slpd_regfile.c --- slpd_process.o --- 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_process.c:1283:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1283 | ToUINT16(result->curpos, db->srvtypelistlen); | ^~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ 47 warnings generated. mv -f .deps/slpd_process.Tpo .deps/slpd_process.Po --- slpd_knownda.o --- clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I../libslpattr -I. -I../libslp -DETCDIR=\"/opt/pkg/etc\" -DVARDIR=\"/var\" -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT slpd_knownda.o -MD -MP -MF .deps/slpd_knownda.Tpo -c -o slpd_knownda.o slpd_knownda.c --- slpd_property.o --- mv -f .deps/slpd_property.Tpo .deps/slpd_property.Po --- slpd_incoming.o --- clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I../libslpattr -I. -I../libslp -DETCDIR=\"/opt/pkg/etc\" -DVARDIR=\"/var\" -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -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:479:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 479 | ToUINT24((*buf)->start + 2, bufsize); | ^~~~~~~~~~~~~~~~~ ../common/slp_message.h:490:21: note: passing argument to parameter 'charptr' here 490 | void ToUINT24(char *charptr, unsigned int val); | ^ slpd_regfile.c:481:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 481 | ToUINT16((*buf)->start + 5, 0); | ^~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_regfile.c:483:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 483 | ToUINT24((*buf)->start + 7,0); | ^~~~~~~~~~~~~~~~~ ../common/slp_message.h:490:21: note: passing argument to parameter 'charptr' here 490 | void ToUINT24(char *charptr, unsigned int val); | ^ slpd_regfile.c:485:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 485 | ToUINT16((*buf)->start + 10, 0); | ^~~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_regfile.c:487:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 487 | ToUINT16((*buf)->start + 12,langtaglen); | ^~~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_regfile.c:495:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 495 | ToUINT16((*buf)->curpos,lifetime); | ^~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_regfile.c:498:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 498 | ToUINT16((*buf)->curpos,urllen); | ^~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_regfile.c:522:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 522 | ToUINT16((*buf)->curpos,srvtypelen); | ^~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_regfile.c:527:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 527 | ToUINT16((*buf)->curpos,scopelistlen); | ^~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_regfile.c:532:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 532 | ToUINT16((*buf)->curpos,attrlistlen); | ^~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ 10 warnings generated. mv -f .deps/slpd_regfile.Tpo .deps/slpd_regfile.Po --- slpd_outgoing.o --- clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I../libslpattr -I. -I../libslp -DETCDIR=\"/opt/pkg/etc\" -DVARDIR=\"/var\" -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -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:168:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 168 | ToUINT24(result->start + 2, size); | ^~~~~~~~~~~~~~~~~ ../common/slp_message.h:490:21: note: passing argument to parameter 'charptr' here 490 | void ToUINT24(char *charptr, unsigned int val); | ^ slpd_knownda.c:170:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 170 | ToUINT16(result->start + 5, (ismcast ? SLP_FLAG_MCAST : 0)); | ^~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_knownda.c:172:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 172 | ToUINT24(result->start + 7,0); | ^~~~~~~~~~~~~~~~~ ../common/slp_message.h:490:21: note: passing argument to parameter 'charptr' here 490 | void ToUINT24(char *charptr, unsigned int val); | ^ slpd_knownda.c:174:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 174 | ToUINT16(result->start + 10, SLPXidGenerate()); /* TODO: generate a real XID */ | ^~~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_knownda.c:176:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 176 | ToUINT16(result->start + 12, G_SlpdProperty.localeLen); | ^~~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_knownda.c:183:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 183 | ToUINT16(result->curpos,prlistlen); | ^~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_knownda.c:188:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 188 | ToUINT16(result->curpos,23); | ^~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_knownda.c:194:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 194 | ToUINT16(result->curpos,0); | ^~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_knownda.c:197:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 197 | ToUINT16(result->curpos,0); | ^~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_knownda.c:200:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 200 | ToUINT16(result->curpos,0); | ^~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 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:355:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 355 | ToUINT24(sendbuf->start + 2, size); | ^~~~~~~~~~~~~~~~~~ ../common/slp_message.h:490:21: note: passing argument to parameter 'charptr' here 490 | void ToUINT24(char *charptr, unsigned int val); | ^ slpd_knownda.c:357:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 357 | ToUINT16(sendbuf->start + 5, | ^~~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_knownda.c:360:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 360 | ToUINT24(sendbuf->start + 7,0); | ^~~~~~~~~~~~~~~~~~ ../common/slp_message.h:490:21: note: passing argument to parameter 'charptr' here 490 | void ToUINT24(char *charptr, unsigned int val); | ^ slpd_knownda.c:362:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 362 | ToUINT16(sendbuf->start + 10,SLPXidGenerate()); | ^~~~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_knownda.c:364:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 364 | ToUINT16(sendbuf->start + 12,msg->header.langtaglen); | ^~~~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_knownda.c:372:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 372 | ToUINT16(sendbuf->curpos, srvreg->scopelistlen); | ^~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_knownda.c:384:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 384 | ToUINT16(sendbuf->curpos,srvreg->urlentry.lifetime); | ^~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_knownda.c:387:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 387 | ToUINT16(sendbuf->curpos,srvreg->urlentry.urllen); | ^~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_knownda.c:408:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 408 | ToUINT16(sendbuf->curpos,0); | ^~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_knownda.c:1029:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1029 | ToUINT24(result->start + 2, size); | ^~~~~~~~~~~~~~~~~ ../common/slp_message.h:490:21: note: passing argument to parameter 'charptr' here 490 | void ToUINT24(char *charptr, unsigned int val); | ^ slpd_knownda.c:1031:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1031 | ToUINT16(result->start + 5, | ^~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_knownda.c:1034:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1034 | ToUINT24(result->start + 7,0); | ^~~~~~~~~~~~~~~~~ ../common/slp_message.h:490:21: note: passing argument to parameter 'charptr' here 490 | void ToUINT24(char *charptr, unsigned int val); | ^ slpd_knownda.c:1036:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1036 | ToUINT16(result->start + 10,xid); | ^~~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_knownda.c:1038:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1038 | ToUINT16(result->start + 12, G_SlpdProperty.localeLen); | ^~~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_knownda.c:1049:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1049 | ToUINT16(result->curpos,errorcode); | ^~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_knownda.c:1056:22: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1056 | ToUINT32(result->curpos,0); | ^~~~~~~~~~~~~~ ../common/slp_message.h:491:21: note: passing argument to parameter 'charptr' here 491 | void ToUINT32(char *charptr, unsigned int val); | ^ slpd_knownda.c:1060:22: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1060 | ToUINT32(result->curpos,G_SlpdProperty.DATimestamp); | ^~~~~~~~~~~~~~ ../common/slp_message.h:491:21: note: passing argument to parameter 'charptr' here 491 | void ToUINT32(char *charptr, unsigned int val); | ^ slpd_knownda.c:1064:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1064 | ToUINT16(result->curpos, G_SlpdProperty.myUrlLen); | ^~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_knownda.c:1072:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1072 | ToUINT16(result->curpos, G_SlpdProperty.useScopesLen); | ^~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_knownda.c:1080:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1080 | ToUINT16(result->curpos, 0); | ^~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_knownda.c:1087:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1087 | ToUINT16(result->curpos,spistrlen); | ^~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_knownda.c:1207:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1207 | ToUINT16(result->start + 2, size); | ^~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_knownda.c:1209:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1209 | ToUINT16(result->start + 4, | ^~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_knownda.c:1218:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1218 | ToUINT16(result->start + 8, encoding); | ^~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_knownda.c:1220:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1220 | ToUINT16(result->start + 10,xid); | ^~~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_knownda.c:1228:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1228 | ToUINT16(result->curpos,errorcode); | ^~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_knownda.c:1230:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1230 | ToUINT16(result->curpos, urllen); | ^~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_knownda.c:1233:21: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1233 | SLPv1ToEncoding(result->curpos, | ^~~~~~~~~~~~~~ ../common/slp_utf8.h:57:27: note: passing argument to parameter 'string' here 57 | int SLPv1ToEncoding(char *string, int *len, int encoding, | ^ slpd_knownda.c:1240:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1240 | ToUINT16(result->curpos, scopelistlen); | ^~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ slpd_knownda.c:1244:21: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1244 | SLPv1ToEncoding(result->curpos, | ^~~~~~~~~~~~~~ ../common/slp_utf8.h:57:27: note: passing argument to parameter 'string' here 57 | int SLPv1ToEncoding(char *string, int *len, int encoding, | ^ 41 warnings generated. mv -f .deps/slpd_knownda.Tpo .deps/slpd_knownda.Po --- slpd_incoming.o --- slpd_incoming.c:87:26: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 87 | &peeraddrlen); | ^~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/socket.h:720:27: note: passing argument to parameter here 720 | socklen_t * __restrict) __DARWIN_ALIAS_C(recvfrom); | ^ slpd_incoming.c:191:30: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 191 | &peeraddrlen); | ^~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/socket.h:720:27: note: passing argument to parameter here 720 | socklen_t * __restrict) __DARWIN_ALIAS_C(recvfrom); | ^ slpd_incoming.c:497:22: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 497 | for (; (finished == 0); begin = ++end) | ~~~~~~~~~^~~~ slpd_incoming.c:497:22: note: remove extraneous parentheses around the comparison to silence this warning 497 | for (; (finished == 0); begin = ++end) | ~ ^ ~ slpd_incoming.c:497:22: note: use '=' to turn this equality comparison into an assignment 497 | for (; (finished == 0); begin = ++end) | ^~ | = 3 warnings generated. mv -f .deps/slpd_incoming.Tpo .deps/slpd_incoming.Po --- slpd_outgoing.o --- slpd_outgoing.c:85:26: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 85 | &peeraddrlen); | ^~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/socket.h:720:27: note: passing argument to parameter here 720 | socklen_t * __restrict) __DARWIN_ALIAS_C(recvfrom); | ^ slpd_outgoing.c:207:30: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 207 | &peeraddrlen); | ^~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/socket.h:720:27: note: passing argument to parameter here 720 | socklen_t * __restrict) __DARWIN_ALIAS_C(recvfrom); | ^ 2 warnings generated. mv -f .deps/slpd_outgoing.Tpo .deps/slpd_outgoing.Po --- slpd --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=link clang -std=gnu23 -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -L/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 -lresolv -lcrypto libtool: link: clang -std=gnu23 -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/var/tmp/work/net/openslp/work/.buildlink/include -Wall -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/var/tmp/work/net/openslp/work/.buildlink/lib ../common/.libs/libcommonslpd.a ../libslpattr/.libs/libslpattr.a -lresolv -lcrypto Making all in libslp --- libslp_dereg.lo --- --- libslp_findscopes.lo --- --- libslp_reg.lo --- --- libslp_dereg.lo --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT libslp_dereg.lo -MD -MP -MF .deps/libslp_dereg.Tpo -c -o libslp_dereg.lo libslp_dereg.c --- libslp_reg.lo --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT libslp_reg.lo -MD -MP -MF .deps/libslp_reg.Tpo -c -o libslp_reg.lo libslp_reg.c --- libslp_findscopes.lo --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT libslp_findscopes.lo -MD -MP -MF .deps/libslp_findscopes.Tpo -c -o libslp_findscopes.lo libslp_findscopes.c --- libslp_reg.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -Wall -MT libslp_reg.lo -MD -MP -MF .deps/libslp_reg.Tpo -c libslp_reg.c -fno-common -DPIC -o .libs/libslp_reg.o --- libslp_findscopes.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -Wall -MT libslp_findscopes.lo -MD -MP -MF .deps/libslp_findscopes.Tpo -c libslp_findscopes.c -fno-common -DPIC -o .libs/libslp_findscopes.o --- libslp_dereg.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -Wall -MT libslp_dereg.lo -MD -MP -MF .deps/libslp_dereg.Tpo -c libslp_dereg.c -fno-common -DPIC -o .libs/libslp_dereg.o libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -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_findscopes.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -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_reg.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -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_dereg.lo --- mv -f .deps/libslp_dereg.Tpo .deps/libslp_dereg.Plo --- libslp_findscopes.lo --- mv -f .deps/libslp_findscopes.Tpo .deps/libslp_findscopes.Plo --- libslp_findsrvs.lo --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT libslp_findsrvs.lo -MD -MP -MF .deps/libslp_findsrvs.Tpo -c -o libslp_findsrvs.lo libslp_findsrvs.c --- libslp_reg.lo --- mv -f .deps/libslp_reg.Tpo .deps/libslp_reg.Plo --- libslp_parse.lo --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT libslp_parse.lo -MD -MP -MF .deps/libslp_parse.Tpo -c -o libslp_parse.lo libslp_parse.c --- libslp_property.lo --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT libslp_property.lo -MD -MP -MF .deps/libslp_property.Tpo -c -o libslp_property.lo libslp_property.c --- libslp_findsrvs.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -Wall -MT libslp_findsrvs.lo -MD -MP -MF .deps/libslp_findsrvs.Tpo -c libslp_findsrvs.c -fno-common -DPIC -o .libs/libslp_findsrvs.o --- libslp_parse.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -Wall -MT libslp_parse.lo -MD -MP -MF .deps/libslp_parse.Tpo -c libslp_parse.c -fno-common -DPIC -o .libs/libslp_parse.o --- libslp_property.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -Wall -MT libslp_property.lo -MD -MP -MF .deps/libslp_property.Tpo -c libslp_property.c -fno-common -DPIC -o .libs/libslp_property.o --- libslp_parse.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -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_property.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -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_findsrvs.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -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_property.lo --- mv -f .deps/libslp_property.Tpo .deps/libslp_property.Plo --- libslp_handle.lo --- --- libslp_parse.lo --- mv -f .deps/libslp_parse.Tpo .deps/libslp_parse.Plo --- libslp_handle.lo --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT libslp_handle.lo -MD -MP -MF .deps/libslp_handle.Tpo -c -o libslp_handle.lo libslp_handle.c --- libslp_thread.lo --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT libslp_thread.lo -MD -MP -MF .deps/libslp_thread.Tpo -c -o libslp_thread.lo libslp_thread.c --- libslp_findsrvs.lo --- mv -f .deps/libslp_findsrvs.Tpo .deps/libslp_findsrvs.Plo --- libslp_network.lo --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT libslp_network.lo -MD -MP -MF .deps/libslp_network.Tpo -c -o libslp_network.lo libslp_network.c --- libslp_handle.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -Wall -MT libslp_handle.lo -MD -MP -MF .deps/libslp_handle.Tpo -c libslp_handle.c -fno-common -DPIC -o .libs/libslp_handle.o --- libslp_thread.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -Wall -MT libslp_thread.lo -MD -MP -MF .deps/libslp_thread.Tpo -c libslp_thread.c -fno-common -DPIC -o .libs/libslp_thread.o --- libslp_network.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -Wall -MT libslp_network.lo -MD -MP -MF .deps/libslp_network.Tpo -c libslp_network.c -fno-common -DPIC -o .libs/libslp_network.o libslp_network.c:341:54: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 341 | getsockopt(sock,SOL_SOCKET,SO_TYPE,&socktype,&size); | ^~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/socket.h:716:76: note: passing argument to parameter here 716 | int getsockopt(int, int, int, void * __restrict, socklen_t * __restrict); | ^ libslp_network.c:450:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 450 | ToUINT24(sendbuf->start + 2, size); | ^~~~~~~~~~~~~~~~~~ ../common/slp_message.h:490:21: note: passing argument to parameter 'charptr' here 490 | void ToUINT24(char *charptr, unsigned int val); | ^ libslp_network.c:457:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 457 | ToUINT16(sendbuf->start + 5, flags); | ^~~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ libslp_network.c:465:22: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 465 | ToUINT24(sendbuf->start + 7,extoffset + langtaglen + 14); | ^~~~~~~~~~~~~~~~~~ ../common/slp_message.h:490:21: note: passing argument to parameter 'charptr' here 490 | void ToUINT24(char *charptr, unsigned int val); | ^ libslp_network.c:469:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 469 | ToUINT24(sendbuf->start + 7, 0); | ^~~~~~~~~~~~~~~~~~ ../common/slp_message.h:490:21: note: passing argument to parameter 'charptr' here 490 | void ToUINT24(char *charptr, unsigned int val); | ^ libslp_network.c:472:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 472 | ToUINT16(sendbuf->start + 10,xid); | ^~~~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ libslp_network.c:474:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 474 | ToUINT16(sendbuf->start + 12,langtaglen); | ^~~~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ libslp_network.c:484:22: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 484 | ToUINT16(sendbuf->curpos,prlistlen); | ^~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ libslp_network.c:545:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 545 | if(AsUINT16(recvbuf->start+10) == xid) | ^~~~~~~~~~~~~~~~~ ../common/slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ libslp_network.c:814:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 814 | ToUINT24(sendbuf->start + 2, size); | ^~~~~~~~~~~~~~~~~~ ../common/slp_message.h:490:21: note: passing argument to parameter 'charptr' here 490 | void ToUINT24(char *charptr, unsigned int val); | ^ libslp_network.c:816:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 816 | ToUINT16(sendbuf->start + 5, SLP_FLAG_MCAST); | ^~~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ libslp_network.c:818:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 818 | ToUINT24(sendbuf->start + 7,0); | ^~~~~~~~~~~~~~~~~~ ../common/slp_message.h:490:21: note: passing argument to parameter 'charptr' here 490 | void ToUINT24(char *charptr, unsigned int val); | ^ libslp_network.c:820:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 820 | ToUINT16(sendbuf->start + 10,xid); | ^~~~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ libslp_network.c:822:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 822 | ToUINT16(sendbuf->start + 12,langtaglen); | ^~~~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ libslp_network.c:836:22: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 836 | ToUINT16(sendbuf->curpos,prlistlen); | ^~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ libslp_network.c:910:20: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 910 | ToUINT16(sendbuf->start + 5, SLP_FLAG_UCAST); | ^~~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ libslp_network.c:912:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 912 | ToUINT16(sendbuf->start + 10,xid); | ^~~~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ libslp_network.c:985:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 985 | if(AsUINT16(recvbuf->start+10) == xid) | ^~~~~~~~~~~~~~~~~ ../common/slp_message.h:482:37: note: passing argument to parameter 'charptr' here 482 | unsigned short AsUINT16(const char *charptr); | ^ libslp_network.c:1190:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1190 | ToUINT24(sendbuf->start + 2, size); | ^~~~~~~~~~~~~~~~~~ ../common/slp_message.h:490:21: note: passing argument to parameter 'charptr' here 490 | void ToUINT24(char *charptr, unsigned int val); | ^ libslp_network.c:1192:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1192 | ToUINT16(sendbuf->start + 5, SLP_FLAG_UCAST); /*this is a unicast */ | ^~~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ libslp_network.c:1194:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1194 | ToUINT24(sendbuf->start + 7,0); | ^~~~~~~~~~~~~~~~~~ ../common/slp_message.h:490:21: note: passing argument to parameter 'charptr' here 490 | void ToUINT24(char *charptr, unsigned int val); | ^ libslp_network.c:1196:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1196 | ToUINT16(sendbuf->start + 10,xid); | ^~~~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ libslp_network.c:1198:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1198 | ToUINT16(sendbuf->start + 12,langtaglen); | ^~~~~~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ libslp_network.c:1208:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1208 | ToUINT16(sendbuf->curpos,prlistlen); | ^~~~~~~~~~~~~~~ ../common/slp_message.h:489:21: note: passing argument to parameter 'charptr' here 489 | void ToUINT16(char *charptr, unsigned int val); | ^ libslp_network.c:1272:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1272 | if(AsUINT16(recvbuf->start+10) == xid) | ^~~~~~~~~~~~~~~~~ ../common/slp_message.h:482:37: note: passing argument to parameter 'charptr' here 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_thread.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -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_handle.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -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_network.lo --- 26 warnings generated. libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -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_thread.lo --- mv -f .deps/libslp_thread.Tpo .deps/libslp_thread.Plo --- libslp_handle.lo --- mv -f .deps/libslp_handle.Tpo .deps/libslp_handle.Plo --- libslp_findattrs.lo --- --- libslp_delattrs.lo --- --- libslp_findattrs.lo --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT libslp_findattrs.lo -MD -MP -MF .deps/libslp_findattrs.Tpo -c -o libslp_findattrs.lo libslp_findattrs.c --- libslp_delattrs.lo --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT libslp_delattrs.lo -MD -MP -MF .deps/libslp_delattrs.Tpo -c -o libslp_delattrs.lo libslp_delattrs.c --- libslp_network.lo --- mv -f .deps/libslp_network.Tpo .deps/libslp_network.Plo --- libslp_findsrvtypes.lo --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -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: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -Wall -MT libslp_findattrs.lo -MD -MP -MF .deps/libslp_findattrs.Tpo -c libslp_findattrs.c -fno-common -DPIC -o .libs/libslp_findattrs.o --- libslp_delattrs.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -Wall -MT libslp_delattrs.lo -MD -MP -MF .deps/libslp_delattrs.Tpo -c libslp_delattrs.c -fno-common -DPIC -o .libs/libslp_delattrs.o --- libslp_findsrvtypes.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -Wall -MT libslp_findsrvtypes.lo -MD -MP -MF .deps/libslp_findsrvtypes.Tpo -c libslp_findsrvtypes.c -fno-common -DPIC -o .libs/libslp_findsrvtypes.o --- libslp_findattrs.lo --- libslp_findattrs.c:69:21: warning: variable 'securityenabled' set but not used [-Wunused-but-set-variable] 69 | int securityenabled; | ^ 1 warning generated. --- libslp_delattrs.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -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_findattrs.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -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_findsrvtypes.lo --- libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -Wall -MT libslp_findsrvtypes.lo -MD -MP -MF .deps/libslp_findsrvtypes.Tpo -c libslp_findsrvtypes.c -o libslp_findsrvtypes.o >/dev/null 2>&1 --- libslp_delattrs.lo --- mv -f .deps/libslp_delattrs.Tpo .deps/libslp_delattrs.Plo --- libslp_findsrvtypes.lo --- mv -f .deps/libslp_findsrvtypes.Tpo .deps/libslp_findsrvtypes.Plo --- libslp_findattrs.lo --- mv -f .deps/libslp_findattrs.Tpo .deps/libslp_findattrs.Plo --- libslp_knownda.lo --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT libslp_knownda.lo -MD -MP -MF .deps/libslp_knownda.Tpo -c -o libslp_knownda.lo libslp_knownda.c libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -Wall -MT libslp_knownda.lo -MD -MP -MF .deps/libslp_knownda.Tpo -c libslp_knownda.c -fno-common -DPIC -o .libs/libslp_knownda.o libslp_knownda.c:667:34: warning: 'memset' call operates on objects of type 'struct sockaddr_in' while the size is based on a different type 'struct sockaddr_in *' [-Wsizeof-pointer-memaccess] 667 | memset(peeraddr,0,sizeof(peeraddr)); | ~~~~~~~~ ^~~~~~~~ libslp_knownda.c:667:34: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)? 667 | memset(peeraddr,0,sizeof(peeraddr)); | ^~~~~~~~ 1 warning generated. libtool: compile: clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../common -I/var/tmp/work/net/openslp/work/.buildlink/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -Wall -MT libslp_knownda.lo -MD -MP -MF .deps/libslp_knownda.Tpo -c libslp_knownda.c -o libslp_knownda.o >/dev/null 2>&1 mv -f .deps/libslp_knownda.Tpo .deps/libslp_knownda.Plo --- libslp.la --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=link clang -std=gnu23 -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -version-info 1:1:0 -L/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 -lresolv -lcrypto libtool: link: clang -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o .libs/libslp.1.dylib .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,-force_load,../common/.libs/libcommonlibslp.a -L/var/tmp/work/net/openslp/work/.buildlink/lib -lresolv -lcrypto -Os -install_name /opt/pkg/lib/libslp.1.dylib -compatibility_version 2 -current_version 2.1 libtool: link: (cd ".libs" && rm -f "libslp.dylib" && ln -s "libslp.1.dylib" "libslp.dylib") libtool: link: (cd .libs/libslp.lax/libcommonlibslp.a && ar x "/var/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 --- clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../libslp -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT slptool.o -MD -MP -MF .deps/slptool.Tpo -c -o slptool.o slptool.c slptool.c:982:25: warning: variable 'result' set but not used [-Wunused-but-set-variable] 982 | int result; | ^ 1 warning generated. mv -f .deps/slptool.Tpo .deps/slptool.Po --- slptool --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=link clang -std=gnu23 -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -L/opt/pkg/lib -o slptool slptool.o ../libslp/libslp.la ../common/libcommonlibslp.la ../common/libcommonslpd.la -lresolv -lcrypto libtool: link: clang -std=gnu23 -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/var/tmp/work/net/openslp/work/.buildlink/include -Wall -o .libs/slptool slptool.o -L/var/tmp/work/net/openslp/work/.buildlink/lib ../libslp/.libs/libslp.dylib ../common/.libs/libcommonlibslp.a ../common/.libs/libcommonslpd.a -lresolv -lcrypto Making all in test --- SLPDereg.o --- --- SLPEscape.o --- --- SLPFindAttrs.o --- --- SLPEscape.o --- clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../libslp -I../libslpattr -I../common -I../slpd -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -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 --- clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../libslp -I../libslpattr -I../common -I../slpd -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -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 --- clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../libslp -I../libslpattr -I../common -I../slpd -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT SLPDereg.o -MD -MP -MF .deps/SLPDereg.Tpo -c -o SLPDereg.o `test -f 'SLPDereg/SLPDereg.c' || echo './'`SLPDereg/SLPDereg.c --- SLPEscape.o --- mv -f .deps/SLPEscape.Tpo .deps/SLPEscape.Po --- SLPFindSrvTypes.o --- clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../libslp -I../libslpattr -I../common -I../slpd -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT SLPFindSrvTypes.o -MD -MP -MF .deps/SLPFindSrvTypes.Tpo -c -o SLPFindSrvTypes.o `test -f 'SLPFindSrvTypes/SLPFindSrvTypes.c' || echo './'`SLPFindSrvTypes/SLPFindSrvTypes.c --- SLPFindAttrs.o --- mv -f .deps/SLPFindAttrs.Tpo .deps/SLPFindAttrs.Po --- SLPDereg.o --- mv -f .deps/SLPDereg.Tpo .deps/SLPDereg.Po --- SLPFindSrvs.o --- clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../libslp -I../libslpattr -I../common -I../slpd -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT SLPFindSrvs.o -MD -MP -MF .deps/SLPFindSrvs.Tpo -c -o SLPFindSrvs.o `test -f 'SLPFindSrvs/SLPFindSrvs.c' || echo './'`SLPFindSrvs/SLPFindSrvs.c --- SLPOpen.o --- clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../libslp -I../libslpattr -I../common -I../slpd -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT SLPOpen.o -MD -MP -MF .deps/SLPOpen.Tpo -c -o SLPOpen.o `test -f 'SLPOpen/SLPOpen.c' || echo './'`SLPOpen/SLPOpen.c --- SLPFindSrvTypes.o --- mv -f .deps/SLPFindSrvTypes.Tpo .deps/SLPFindSrvTypes.Po --- SLPParseSrvURL.o --- clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../libslp -I../libslpattr -I../common -I../slpd -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT SLPParseSrvURL.o -MD -MP -MF .deps/SLPParseSrvURL.Tpo -c -o SLPParseSrvURL.o `test -f 'SLPParseSrvURL/SLPParseSrvURL.c' || echo './'`SLPParseSrvURL/SLPParseSrvURL.c --- SLPOpen.o --- mv -f .deps/SLPOpen.Tpo .deps/SLPOpen.Po --- SLPReg.o --- --- SLPFindSrvs.o --- mv -f .deps/SLPFindSrvs.Tpo .deps/SLPFindSrvs.Po --- SLPReg.o --- clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../libslp -I../libslpattr -I../common -I../slpd -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -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 --- clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../libslp -I../libslpattr -I../common -I../slpd -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT SLPUnescape.o -MD -MP -MF .deps/SLPUnescape.Tpo -c -o SLPUnescape.o `test -f 'SLPUnescape/SLPUnescape.c' || echo './'`SLPUnescape/SLPUnescape.c mv -f .deps/SLPUnescape.Tpo .deps/SLPUnescape.Po --- SLPParseSrvURL.o --- mv -f .deps/SLPParseSrvURL.Tpo .deps/SLPParseSrvURL.Po --- slp_attr_test.o --- --- slpd_predicate_test.o --- --- SLPReg.o --- mv -f .deps/SLPReg.Tpo .deps/SLPReg.Po --- slp_attr_test.o --- clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../libslp -I../libslpattr -I../common -I../slpd -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -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 --- slpd_predicate_test.o --- clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I../libslp -I../libslpattr -I../common -I../slpd -I/opt/pkg/include -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -MT slpd_predicate_test.o -MD -MP -MF .deps/slpd_predicate_test.Tpo -c -o slpd_predicate_test.o `test -f 'SLPD_predicate_test/slpd_predicate_test.c' || echo './'`SLPD_predicate_test/slpd_predicate_test.c --- testslpescape --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=link clang -std=gnu23 -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -L/opt/pkg/lib -o testslpescape SLPEscape.o ../libslp/libslp.la ../libslpattr/libslpattr.la ../common/libcommonlibslp.la ../common/libcommonslpd.la -lresolv -lcrypto --- slpd_predicate_test.o --- SLPD_predicate_test/slpd_predicate_test.c:27:6: warning: variable 'err' set but not used [-Wunused-but-set-variable] 27 | int err; | ^ SLPD_predicate_test/slpd_predicate_test.c:105:6: warning: variable 'ierr' set but not used [-Wunused-but-set-variable] 105 | int ierr; | ^ SLPD_predicate_test/slpd_predicate_test.c:107:11: warning: variable 'err' set but not used [-Wunused-but-set-variable] 107 | SLPError err; | ^ 3 warnings generated. mv -f .deps/slpd_predicate_test.Tpo .deps/slpd_predicate_test.Po --- testslpfindattrs --- /opt/pkg/bin/mksh ../libtool --tag=CC --mode=link clang -std=gnu23 -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/opt/pkg/include -Wall -L/opt/pkg/lib -o testslpfindattrs SLPFindAttrs.o ../libslp/libslp.la ../libslpattr/libslpattr.la ../common/libcommonlibslp.la ../common/libcommonslpd.la -lresolv -lcrypto --- slp_attr_test.o --- SLP_attr_test/slp_attr_test.c:128:11: warning: variable 'err' set but not used [-Wunused-but-set-variable] 128 | SLPError err; | ^ SLP_attr_test/slp_attr_test.c:162:11: warning: variable 'err' set but not used [-Wunused-but-set-variable] 162 | SLPError err; | ^ SLP_attr_test/slp_attr_test.c:218:11: warning: variable 'err' set but not used [-Wunused-but-set-variable] 218 | SLPError err; | ^ SLP_attr_test/slp_attr_test.c:272:13: error: cannot combine with previous 'type-name' declaration specifier 272 | SLPBoolean bool; | ^ SLP_attr_test/slp_attr_test.c:272:2: warning: declaration does not declare anything [-Wmissing-declarations] 272 | SLPBoolean bool; | ^~~~~~~~~~~~~~~ SLP_attr_test/slp_attr_test.c:286:7: 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:48: error: expected expression 403 | err = SLPAttrGet_bool(attr, "shouldBeFalse", &bool); /* Test. */ | ^ SLP_attr_test/slp_attr_test.c:599:40: error: expected expression 599 | err = SLPAttrGet_bool(attr, "keyw1", &bool); | ^ SLP_attr_test/slp_attr_test.c:654:40: error: expected expression 654 | err = SLPAttrGet_bool(attr, "abool", &bool); | ^ SLP_attr_test/slp_attr_test.c:714:40: error: expected expression 714 | err = SLPAttrGet_bool(attr, "abool", &bool); | ^ 5 warnings and 5 errors generated. *** [slp_attr_test.o] Error code 1 bmake[2]: stopped making "all" in /var/tmp/work/net/openslp/work/openslp-1.2.1/test --- testslpescape --- libtool: link: clang -std=gnu23 -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/var/tmp/work/net/openslp/work/.buildlink/include -Wall -o .libs/testslpescape SLPEscape.o -L/var/tmp/work/net/openslp/work/.buildlink/lib ../libslp/.libs/libslp.dylib ../libslpattr/.libs/libslpattr.a ../common/.libs/libcommonlibslp.a ../common/.libs/libcommonslpd.a -lresolv -lcrypto --- testslpfindattrs --- libtool: link: clang -std=gnu23 -DNDEBUG -D_REENTRANT=1 -pipe -Os -I/var/tmp/work/net/openslp/work/.buildlink/include -Wall -o .libs/testslpfindattrs SLPFindAttrs.o -L/var/tmp/work/net/openslp/work/.buildlink/lib ../libslp/.libs/libslp.dylib ../libslpattr/.libs/libslpattr.a ../common/.libs/libcommonlibslp.a ../common/.libs/libcommonslpd.a -lresolv -lcrypto bmake[2]: 1 error bmake[2]: stopped making "all" in /var/tmp/work/net/openslp/work/openslp-1.2.1/test bmake[1]: stopped making "all-recursive" in /var/tmp/work/net/openslp/work/openslp-1.2.1 bmake: stopped making "all" in /var/tmp/work/net/openslp/work/openslp-1.2.1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/openslp *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/openslp