BIND 10 #3068: Add more g++ CXXFLAGS (-Wnon-virtual-dtor, etc.)

BIND 10 Development do-not-reply at isc.org
Thu Jul 25 06:21:00 UTC 2013


#3068: Add more g++ CXXFLAGS (-Wnon-virtual-dtor, etc.)
-------------------------------------+-------------------------------------
                   Reporter:  muks   |                 Owner:  UnAssigned
                       Type:         |                Status:  new
  defect                             |             Milestone:  Next-Sprint-
                   Priority:         |  Proposed
  medium                             |              Keywords:
                  Component:  build  |             Sensitive:  0
  system                             |           Sub-Project:  DNS
               CVSS Scoring:         |  Estimated Difficulty:  0
            Defect Severity:  N/A    |           Total Hours:  0
Feature Depending on Ticket:         |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------
 The NetBSD builder is currently running an old version of GCC that does
 the equivalent of `-Wnon-virtual-dtor` by default. This causes it to fail
 compiles when the destructor is not virtual but there are virtual methods,
 but this does not happen on any of our development boxes.

 This is a branch to add `-Wnon-virtual-dtor` by default and other useful
 warning CXXFLAGS.

 I'm marking this as a defect, as we have seen this happening twice in the
 last week and one of them may have been a real issue.

-- 
Ticket URL: <https://bind10.isc.org/ticket/3068>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list