https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196465
Bug ID: 196465
Summary: clang 3.5: Fix compilation of
tools/tools/netmap/pkt-gen.c
Product: Base System
Version: 11.0-CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: bin
Assignee: [email protected]
Reporter: [email protected]
Created attachment 151295
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=151295&action=edit
patch file for netmap/pkt-gen with clang 3.5
Since Clang 3.5.0 import on -current I've got this problem for compiling
tools/tools/netmap/pkt-gen.c:
pkt-gen.c:1820:8: error: comparison of array 'g.ifname' equal to a null
pointer is always false [-Werror,-Wtautological-pointer-compare]
if (g.ifname == NULL) {
~~^~~~~~ ~~~~
Here is a proposal for this problem.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"