[Bug 269913] sysutils/usbutils: incompatible integer to pointer conversion
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 02 Mar 2023 12:13:56 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269913 Bug ID: 269913 Summary: sysutils/usbutils: incompatible integer to pointer conversion Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: sunpoet@FreeBSD.org Reporter: dan.kotowski@a9development.com Flags: maintainer-feedback?(sunpoet@FreeBSD.org) Assignee: sunpoet@FreeBSD.org Attachment #240529 text/plain mime type: Created attachment 240529 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=240529&action=edit poudriere testport -j 14amd64 -p latest -J1 sysutils/usbutils cc -DHAVE_CONFIG_H -I. -I/usr/include -DDATADIR=\"/usr/local/share/usbids\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT lsusb-usbmisc.o -MD -MP -MF .deps/lsusb-usbmisc.Tpo -c -o lsusb-usbmisc.o `test -f 'usbmisc.c' || echo './'`usbmisc.c sed 's|VERSION|0.91|g;s|@usbids@|/usr/local/share/usbids/usb.ids|g' lsusb.8.in >lsusb.8 sed 's|VERSION|0.91|g' usb-devices.1.in >usb-devices.1 sed 's|@usbids@|/usr/local/share/usbids/usb.ids|g;s|@VERSION[@]|0.91|g' usbutils.pc.in >usbutils.pc usbmisc.c:47:8: warning: call to undeclared function 'readlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ret = readlink(path, buf, bufsize); ^ usbmisc.c:81:12: warning: call to undeclared function 'getcwd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] result = getcwd(result, result_size); ^ usbmisc.c:81:10: error: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Wint-conversion] result = getcwd(result, result_size); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. gmake[2]: *** [Makefile:590: lsusb-usbmisc.o] Error 1 -- You are receiving this mail because: You are the assignee for the bug.