did you mean to compare to NULL? [-Wpointer-compare] if (optarg == NULL || optarg == '\0') { ^~~~ (void *)0 netstat-nat.c:530:9: error: call to undeclared function 'string_search'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_gnome_systemd-j4-20221004-070004 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12.2.0 * clang/llvm (if any): clang version 15.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin /usr/lib/llvm/15 15.0.1 Python 3.10.7 Available Rust versions: [1] rust-bin-1.64.0 * The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): GNU Make 4.3 HEAD of ::gentoo commit 9c436606561532c31ac45c8b107e8f4ba4756a56 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Tue Oct 4 09:48:53 2022 +0000 2022-10-04 09:48:52 UTC emerge -qpvO net-misc/netstat-nat [ebuild N ] net-misc/netstat-nat-1.4.10
Created attachment 820201 [details] emerge-info.txt
Created attachment 820204 [details] clang.tar.bz2
Created attachment 820207 [details] emerge-history.txt
Created attachment 820210 [details] environment
Created attachment 820213 [details] etc.portage.tar.bz2
Created attachment 820216 [details] logs.tar.bz2
Created attachment 820219 [details] net-misc:netstat-nat-1.4.10:20221004-100508.log
Created attachment 820222 [details] temp.tar.bz2