[SERVER-4802] Add -Woverloaded-virtual to CXXFLAGS Created: 27/Jan/12  Updated: 11/Jul/16  Resolved: 09/Feb/12

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: None
Fix Version/s: 2.1.1

Type: Improvement Priority: Major - P3
Reporter: Mathias Stearn Assignee: Mathias Stearn
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

This will catch a common class of errors not covered by -Wall.



 Comments   
Comment by auto [ 09/Feb/12 ]

Author:

{u'login': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: Add -Woverloaded-virtual to CXXFLAGS and fix build SERVER-4802
Branch: master
https://github.com/mongodb/mongo/commit/74c1ffb05d5d5fc274897deaa57aae3846db0ee7

Comment by auto [ 27/Jan/12 ]

Author:

{u'login': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: Extend Auth::Level auth() parameter to whole DBClient inheritance tree

Follow-up to commit 02853421 SERVER-4614
Warning from -Woverloaded-virtuals SERVER-4802
Branch: master
https://github.com/mongodb/mongo/commit/d841b9ea6a9161be9b8f0adad0905b091ce201d0

Comment by Mathias Stearn [ 27/Jan/12 ]

This defaults to on in clang++

Generated at Thu Feb 08 03:07:01 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.