Last Comment Bug 711385 - DrawTargetD2D.h fails to compile on GCC (mingw)
: DrawTargetD2D.h fails to compile on GCC (mingw)
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: Graphics (show other bugs)
: Trunk
: x86 Windows 7
: -- normal (vote)
: mozilla11
Assigned To: Jacek Caban
:
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-12-16 04:46 PST by Jacek Caban
Modified: 2011-12-19 11:14 PST (History)
1 user (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
fix v1.0 (1.20 KB, patch)
2011-12-16 04:46 PST, Jacek Caban
bas: review+
Details | Diff | Review

Description Jacek Caban 2011-12-16 04:46:15 PST
Created attachment 582246 [details] [diff] [review]
fix v1.0

It uses stdext::hash_set that is deprecated and, as such, is in __gnu_cxx namespace. Even after changing the namespace, it still fails to compile. Using std::unordered_set fixes the problem.
Comment 1 Bas Schouten (:bas.schouten) 2011-12-16 05:35:41 PST
Comment on attachment 582246 [details] [diff] [review]
fix v1.0

If this passes try, I'm fine with it.
Comment 2 Jacek Caban 2011-12-19 05:07:33 PST
Thanks for the review, pushed to m-i:

https://hg.mozilla.org/integration/mozilla-inbound/rev/0a59af98d3ac
Comment 3 Matt Brubeck (:mbrubeck) 2011-12-19 11:14:31 PST
https://hg.mozilla.org/mozilla-central/rev/0a59af98d3ac

Note You need to log in before you can comment on or make changes to this bug.