Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-97075

GCC 14.2.0 compilation failures due to -Wnon-virtual-dtor

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability

      Compilation against GCC 14.2.0 fails in a number of places due to the enforcement of -Wnon-virtual-dtor, which warns when a derived class inherits a non-virtual destructor from a base class. The fix is to explicitly mark the base class destructor as virtual in each offending case.

            Assignee:
            Unassigned Unassigned
            Reporter:
            james.bronsted@mongodb.com James Bronsted
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: