Last Comment Bug 711385 - DrawTargetD2D.h fails to compile on GCC (mingw)
: DrawTargetD2D.h fails to compile on GCC (mingw)
Product: Core
Classification: Components
Component: Graphics (show other bugs)
: Trunk
: x86 Windows 7
-- normal (vote)
: mozilla11
Assigned To: Jacek Caban
: Milan Sreckovic [:milan]
Depends on:
  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:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

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

Description User image 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 User image 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 User image Jacek Caban 2011-12-19 05:07:33 PST
Thanks for the review, pushed to m-i:
Comment 3 User image Matt Brubeck (:mbrubeck) 2011-12-19 11:14:31 PST

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