[Bug 197329] graphics/dcraw-m: will not build under modern gcc due to explicit -Werror flag
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Feb 4 18:45:38 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197329
Bug ID: 197329
Summary: graphics/dcraw-m: will not build under modern gcc due
to explicit -Werror flag
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: marino at FreeBSD.org
CC: waitman at waitman.net
Flags: maintainer-feedback?(waitman at waitman.net)
CC: waitman at waitman.net
If a newer gcc is used to build dcraw-m, it fails:
dcraw-m.c: In function 'parse_phase_one':
dcraw-m.c:6462:26: error: variable 'type' set but not used
[-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
*** Error code 1
due to this line in the makefile:
CFLAGS += -Wall -Werror -I${LOCALBASE}/include \
It's pretty much a standing order to *REMOVE* -Werror flags, for exactly this
reason. IMO, it should have been removed before the port was imported last
year. Is there a specific reason for it to be here? If not, I'll remove it
ASAP.
--- Comment #1 from Bugzilla Automation <bugzilla at FreeBSD.org> ---
Maintainer CC'd
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list