Closed Bug 683049 Opened 13 years ago Closed 11 years ago

Make NS_OVERRIDE and NS_FINAL more useful

Categories

(Developer Infrastructure :: Source Code Analysis, defect)

x86_64
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: jcranmer, Unassigned)

Details

To be useful, NS_OVERRIDE and NS_FINAL should be catchable in a lot more situations, i.e., most people's build systems.

Notes:
* C++11 has override and final keywords, which g++ lists as being supported as of 4.7
* If we detect plugin headers for 4.4 <= gcc < 4.7, we could automatically build a simple compiler plugin that just checks for these two things
* A bit of google indicates that MSVC++ may already support at least C++11

Note that the C++11 syntax puts it after the function decl, so it looks like:
 void f() override {}
Obsolete.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Product: Core → Firefox Build System
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.