Date: Mon, 30 Apr 2018 07:24:01 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 227865] sysutils/apachetop Message-ID: <bug-227865-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227865 Bug ID: 227865 Summary: sysutils/apachetop Product: Ports & Packages Version: Latest Hardware: arm64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: tomsoft@mac.com CC: lukasz@wasikowski.net Flags: maintainer-feedback?(lukasz@wasikowski.net) CC: lukasz@wasikowski.net When ADNS is configured in, or even when just adns.h is present build is broken: source=3D'log.cc' object=3D'log.o' libtool=3Dno depfile=3D'.deps/log.Po' tmpdepfile=3D'.deps/log.TPo' depmode=3Dgcc3 /bin/sh ../config/depcomp c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I /usr/local/include = -O2 -pipe -fstack-protector -fno-strict-aliasing -c -o log.o `test -f log.cc || echo './'`log.cc In file included from log.cc:3: ... [lots of warnings] ... log.cc:75:8: error: C-style cast from 'nullptr_t' to 'adns_queryflags' is n= ot allowed (adns_queryflags) NULL, NULL, b->dns_query); ^~~~~~~~~~~~~~~~~~~~~~ ... [more warnings] ... 10 warnings and 1 error generated. *** Error code 1 Stop. The following makes the compiler go ahead: diff -c log.cc log.cc-fixed *** log.cc Mon Apr 30 09:12:55 2018 --- log.cc-fixed Mon Apr 30 09:22:22 2018 *************** *** 72,78 **** /* fire off a query with adns */ b->dns_query =3D new adns_query; adns_submit(adns, ptr, adns_r_a, ! (adns_queryflags) NULL, NULL, b->dns_query); b->ip_pos =3D im->insert(RESOLVING_STRING); b->ip_hash =3D TTHash(RESOLVING_STRING); --- 72,78 ---- /* fire off a query with adns */ b->dns_query =3D new adns_query; adns_submit(adns, ptr, adns_r_a, ! (adns_queryflags) 0, NULL, b->dns_query); b->ip_pos =3D im->insert(RESOLVING_STRING); b->ip_hash =3D TTHash(RESOLVING_STRING); --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227865-7788>