Closed Bug 1126447 Opened 10 years ago Closed 10 years ago

nsDateTimeFormatUnix.h:23:14 [-Winconsistent-missing-override] 'FormatTime' overrides a member function but is not marked 'override'

Categories

(Core :: Internationalization, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla38

People

(Reporter: dholbert, Assigned: dholbert)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

clang 3.6 build warnings, on linux:
{
intl/locale/unix/nsDateTimeFormatUnix.h:23:14 [-Winconsistent-missing-override] 'FormatTime' overrides a member function but is not marked 'override'
intl/locale/unix/nsDateTimeFormatUnix.h:30:14 [-Winconsistent-missing-override] 'FormatTMTime' overrides a member function but is not marked 'override'
intl/locale/unix/nsDateTimeFormatUnix.h:37:14 [-Winconsistent-missing-override] 'FormatPRTime' overrides a member function but is not marked 'override'
intl/locale/unix/nsDateTimeFormatUnix.h:44:14 [-Winconsistent-missing-override] 'FormatPRExplodedTime' overrides a member function but is not marked 'override'
}
Attached patch fix v1Splinter Review
Attachment #8555425 - Flags: review?(ehsan)
Comment on attachment 8555425 [details] [diff] [review]
fix v1

blanket r=me for all fixes of this nature across the tree.  :-)
Attachment #8555425 - Flags: review?(ehsan) → review+
Sweet, thanks!

This and bug 1126438 are actually the last instances of this that I get, locally, outside of skia! :)
(In reply to Daniel Holbert [:dholbert] from comment #3)
> This and bug 1126438 are actually the last instances of this that I get,
> locally, outside of skia! :)

Don't think for a second that people will stop putting more of these in.  ;-)  I have "fixed" MIR.h at least three times, if not more.
True. I will take full advantage of your blanket-r+ then. :)
https://hg.mozilla.org/mozilla-central/rev/f579eea5dc02
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: