On Thursday, 18 July 2013 10:32:35 UTC+1, Mike Hommey wrote:
> On Wed, Jul 17, 2013 at 05:09:22PM +0900, Mike Hommey wrote:
>
> > On Tue, Jul 16, 2013 at 04:17:50PM +0900, Mike Hommey wrote:
>
> > > On Sat, Jul 13, 2013 at 01:15:31PM -0700, 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?
>
> > >
>
> > > Filed bug 894242. (double 42!)
>
> >
>
> > This almost stuck, but B2G desktop builds are, guess what, using gcc
>
> > 4.4, and a bug was already on file to upgrade that (bug 770625).
>
> > Hopefully this will go forward now that there are patches.
>
>
>
> And it's now done. Thanks to Ted Mielczarek and Ben Hearsum for the
>
> quick reviews, and Aki Sasaki for the buildbot reconfig.
>
>
>
> Now we can start discussing what specific features we want to start
>
> using. Bug 895322 has already been filed to use static_assert instead of
>
> MOZ_STATIC_ASSERT.
>
>
>
> A good resource is http://wiki.apache.org/stdcxx/C++0xCompilerSupport
>
> Our base versions are 4.4 for gcc, and 10.0 for MSVC. I'm not sure what
>
> our lowest supported version of clang is.
>From that table, using the gcc and msvc versions, that gives:
gcc msvc clang
auto 4.4 10.0* Yes
decltype 4.3@ 10.0@ 2.9
extern template 3.3 6.0 Yes
new fn syntax 4.4 10.0 2.9
right angle brackets 4.3 8.0 Yes
r-value references 4.3@ 10.0! Yes
static_assert 4.3 10.0 2.9
built-in type traits 4.3 8.0 3.0
* v0.9
@ v1.0
! v2.0
Which means a minimum clang version of 2.9 without built-in type traits, or 3.0
with.
- Reece
_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform