Make NS_OVERRIDE and NS_FINAL more useful

RESOLVED WONTFIX

Status

Firefox Build System
Source Code Analysis
RESOLVED WONTFIX
7 years ago
5 months ago

People

(Reporter: jcranmer, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
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 {}
(Reporter)

Comment 1

6 years ago
Obsolete.
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → WONTFIX

Updated

5 months ago
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.