Date: Tue, 03 Feb 2015 00:38:18 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 197284] comms/hcidump fails compilation on gcc48 due to unused-variable "error" Message-ID: <bug-197284-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197284 Bug ID: 197284 Summary: comms/hcidump fails compilation on gcc48 due to unused-variable "error" Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: dewayne@heuristicsystems.com.au Created attachment 152505 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=152505&action=edit Patch removes unused ctr_type from print_rfcomm_hdr Compiling this port on 10.1Stable using gcc48 results in this error: /usr/local/libexec/ccache/gcc48 -O2 -pipe -g0 -ggdb0 -DSTRIP_FBSDID -UDEBUGGING -UEBUGGING -UDEBUG -Wno-error -march=prescott -mtune=prescott -fno-strict-aliasing -g0 -march=prescott -mtune=prescott -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c sdp.c -o sdp.o --- rfcomm.o --- rfcomm.c: In function 'print_rfcomm_hdr': rfcomm.c:52:20: error: unused variable 'ctr_type' [-Werror=unused-variable] uint8_t ctr_type,pf,dlci,fcs; ^ cc1: all warnings being treated as errors *** [rfcomm.o] Error code 1 The enclosed patch rectifies the problem. -- 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-197284-13>