[Bug 191867] New: Wno-unused-function used by mistake?

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jul 14 18:44:41 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191867

            Bug ID: 191867
           Summary: Wno-unused-function used by mistake?
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
               URL: http://svnweb.freebsd.org/base/head/sys/conf/kern.mk?v
                    iew=annotate#l32
                OS: Any
            Status: Needs Triage
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: steven at pyro.eu.org
                CC: dim at FreeBSD.org

Hi,

r261991 by dim@ added -Wno-unused-function to kernel compile flags via
CWARNEXTRA.  Also MFCd to 10-STABLE by r263763 and 9-STABLE by r263509

This looks wrong in context and from the preceding comment.  I think the intent
may have been to only *not fail* in case of the warning
(-Wno-error-unused-function).  But instead, this type of was disabled
completely from being shown.

I thought this ought to be double-checked (or otherwise fix the comment if it
is intentional).  Just in case one day, an unused function is introduced and
nobody ever sees the warning...

Thanks!!

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list