Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Feb 2015 18:45:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 197329] graphics/dcraw-m: will not build under modern gcc due to explicit -Werror flag
Message-ID:  <bug-197329-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: marino@FreeBSD.org
                CC: waitman@waitman.net
             Flags: maintainer-feedback?(waitman@waitman.net)
                CC: waitman@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@FreeBSD.org> ---
Maintainer CC'd

-- 
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-197329-13>