On 2014-08-26, 6:57 AM, Ted Mielczarek wrote:
On 8/26/2014 2:03 AM, Makoto Kato wrote:
When do we support old version of Visual Studio after switching to
VS2013?

Now we still support VS2010 + SDK 7.1 as minimal requirement.

Generally we have worked with a few unofficial guidelines for toolchain
support:
1) If an older version of a toolchain is holding us back from using some
C++ feature in the codebase, we may drop support for it so we can use
more modern C++
2) If the cost of supporting an older toolchain in terms of its bugs
becomes excessive we may drop support for it
3) Try to support toolchains that are widely used by developers

We generally don't drop support for a toolchain immediately upon
switching, we ought to have a grace period of a release or two to give
other developers time to make the change if they've been following our
lead. Even then, I'm not sure if VS2010 is the thing holding us back
from using new C++ features, or if one of the B2G GCC compilers is
holding us back.

I would like us to update the minimum supported MSVC version to 2012 as soon as possible. That will give us access to the following C++ features which are all supported on gcc 4.4 (aka our Vintage Compiler) and MSVC starting from 2012:

* Variadic templates
* Strongly typed enums
* Initializer lists
* The ability to use decltype for non-trivial things (MSVC2010's decltype support is pretty buggy)

I doubt that there is a great reason to continue to support MSVC2010.

Cheers,
Ehsan
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to