There's a list of "blessed" C++11 features here:
http://mixxx.org/wiki/doku.php/coding_guidelines#c_11

Unit tests verifying the presence of the features wouldn't necessarily help
since it's the code reviewer's job to check that list and the MSVC
compatibility page say we support it:
https://msdn.microsoft.com/en-us/library/hh567368.aspx

However, both the guide and MSDN say initializer_list is supported! And
QList has an initializer_list constructor as of Qt 4.8. So I (the errant
code reviewer in this case) am surprised!

The constructor error message doesn't even say that the initializer_list
constructor was an option. So it looks to me like
Q_COMPILER_INITIALIZER_LISTS is not defined, which controls definition of
the initializer_list constructor in qlist.h.

Here's a Qt 5 bug for the same problem:
https://bugreports.qt.io/browse/QTBUG-39142


On Fri, Jan 29, 2016 at 10:03 AM, Owen Williams <owilli...@mixxx.org> wrote:

> (emails with a link to the console output, particularly)
>
> On Fri, 2016-01-29 at 12:53 -0500, Owen Williams wrote:
> > I'm happy with the system the way it is.  The only flaw is that we don't
> > get automatic emails when a build fails.
> >
> > On Fri, 2016-01-29 at 08:41 -0800, Sean M. Pappalardo - D.J. Pegasus
> > wrote:
> > >
> > > On 01/29/2016 08:25 AM, Owen Williams wrote:
> > > > The build server is the correct place for these bugs to be caught,
> > >
> > > Oh, I agree. I'm wondering if there's a way for us to have the build
> > > server run a script of some kind on all platforms that tries compiling
> > > small test programs that exercise C++09/11/13/future standards and
> > > report for each platform which ones built and which didn't.
> > >
> > > That way we can tell at a glance which is the highest standard we can
> > > use. It will also tell us quickly if the situation changes as we
> upgrade
> > > the build environments.
> > >
> > >
> > > Sincerely,
> > > Sean M. Pappalardo
> > > "D.J. Pegasus"
> > > Mixxx Developer - Controller Specialist
> > >
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > Site24x7 APM Insight: Get Deep Visibility into Application Performance
> > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> > Monitor end-to-end web transactions and take corrective actions now
> > Troubleshoot faster and improve end-user experience. Signup Now!
> > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> > _______________________________________________
> > Get Mixxx, the #1 Free MP3 DJ Mixing software Today
> > http://mixxx.org
> >
> >
> > Mixxx-devel mailing list
> > Mixxx-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/mixxx-devel
> >
> >
>
>
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> _______________________________________________
> Get Mixxx, the #1 Free MP3 DJ Mixing software Today
> http://mixxx.org
>
>
> Mixxx-devel mailing list
> Mixxx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mixxx-devel
>
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org


Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Reply via email to