Date: Fri, 22 Jul 2016 21:30:34 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 211305] devel/gdb: (CORE_ADDR) 0 missing * in cast in tui/tui-stack.c Message-ID: <bug-211305-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211305 Bug ID: 211305 Summary: devel/gdb: (CORE_ADDR) 0 missing * in cast in tui/tui-stack.c Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: markmi@dsl-only.net CC: luca.pizzamiglio@gmail.com CC: luca.pizzamiglio@gmail.com Flags: maintainer-feedback?(luca.pizzamiglio@gmail.com) FYI: extern int find_pc_partial_function_gnu_ifunc (CORE_ADDR pc, const char **n= ame, CORE_ADDR *address, CORE_ADDR *endaddr, int *is_gnu_ifunc_p); But tui/tui-stack.c has: if (find_pc_partial_function (get_frame_pc (fi), (const char **) NULL, &low, (CORE_ADDR) 0) =3D=3D 0) which ends up with a compiler report (11.0-BETA2 on armv6's clang 3.8.0): ./tui/tui-stack.c:419:16: warning: expression which evaluates to zero treat= ed as a null pointer constant of type 'CORE_ADDR *' (aka 'unsigned long long *= ') [-Wnon-literal-null-conversion] because (CORE_ADDR) should be (CORE_ADDR*) to match types with the paramete= r. --=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-211305-13>