Closed
Bug 1275541
Opened 8 years ago
Closed 8 years ago
Fix the name conflict of macro GetCurrentTime() in WinBas.h and MediaStream::GetCurrentTime()
Categories
(Core :: Audio/Video: MediaStreamGraph, defect, P1)
Tracking
()
RESOLVED
FIXED
mozilla49
Tracking | Status | |
---|---|---|
firefox49 | --- | fixed |
People
(Reporter: kaku, Assigned: kaku)
References
Details
Attachments
(1 file)
Follow bug 1235301 comment 73.
In the try of bug 1235301, Window does not compile which is caused by the name conflict of macro GetCurrentTime() in WinBas.h and MediaStream::GetCurrentTime().
The failed try job is: https://treeherder.mozilla.org/#/jobs?repo=try&revision=0fa6727ad16c&selectedJob=20335318
Assignee | ||
Comment 1•8 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/55078/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/55078/
Attachment #8756298 -
Flags: review?(rjesup)
Comment 2•8 years ago
|
||
Comment on attachment 8756298 [details]
MozReview Request: Bug 1275541 - undefine GetCurrentTime; r?jesup
https://reviewboard.mozilla.org/r/55078/#review51732
Stealing the review, this is trivial and we've got the same fix in other locations of the code.
Attachment #8756298 -
Flags: review+
Updated•8 years ago
|
Attachment #8756298 -
Flags: review?(rjesup) → review+
Comment 3•8 years ago
|
||
Comment on attachment 8756298 [details]
MozReview Request: Bug 1275541 - undefine GetCurrentTime; r?jesup
https://reviewboard.mozilla.org/r/55078/#review51734
Updated•8 years ago
|
Rank: 19
Component: Audio/Video → Audio/Video: MediaStreamGraph
Priority: -- → P1
Assignee | ||
Comment 4•8 years ago
|
||
Try1: https://treeherder.mozilla.org/#/jobs?repo=try&revision=4800b1d6e4ed
Try2: https://treeherder.mozilla.org/#/jobs?repo=try&revision=8c55de20682d
I don't know why tests do not run in Win8 in the first try so I have a second try and all look good.
Thanks for the reviews!
Assignee | ||
Updated•8 years ago
|
Keywords: checkin-needed
Keywords: checkin-needed
Comment 6•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
Assignee | ||
Comment 7•8 years ago
|
||
Personally I think putting the "#ifndef GetCurrentTime #define GetCurrentTime #endif" everywhere is somewhat annoying and it's not even obvious where to put this period of code since it depends on the include order.
Does bug 834505 a good solution to get rid of all the fix? or how about we just rename the MediaStream::GetCurrentTime()?
You need to log in
before you can comment on or make changes to this bug.
Description
•