2015-05-21 0:10 GMT+08:00 Ilia Mirkin <imir...@alum.mit.edu>: >> >> If this is required for compatibility reasons with old Android systems I >> suggest you wrap it under a preprocessor conditional like: >> >> #if __cplusplus >= 201103L >> using std::unordered_set; >> #elif building-on-old-android-version-with-broken-stlport >> using my-funky-wrapper-for-std-unordered-set; >> #else >> using std::tr1::unordered_set; >> #endif > > Chih-Wei, I think this is the right way to go as well. Could you > rework your nv50/ir patches into one that does it this way? Sounds > like the "#elif funky-wrapper" bit isn't actually needed anymore > either, as you're going with a C++11-only approach?
Sorry for not update in time. I'm too busy recently. Just sent the updated patch as Ilia's suggestion. Thank you for all the comments. -- Chih-Wei Android-x86 project http://www.android-x86.org _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev