On 7/13/2013 3:15 PM, Kyle Huey wrote:
We've dropped support for versions of MSVC prior to 2010, and we're requiring at least GCC 4.4. According to [0] that means we should be able to use /auto/. Anybody know any reasons why we can't start using it?
We don't yet require C++11 mode when building Mozilla. That said, all platforms on the buildbot farms now compile with C++11, this should be feasible (though, as Mike points out, it effectively means requiring Desktop Linux builds to go to gcc 4.5 or newer). Forcing C++11 mode to build Mozilla will also enable us to use the following features:
mozilla/Char16.h [I may start tackling replacing PRUnichar with char16_t after I finish atomic conversion]
auto rvalue references in limited fashion -- Beware of bugs in the above code; I have only proved it correct, not tried it. -- Donald E. Knuth _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform