[mythtv] Should 0.28 use C++11? (hint: yes!)

Jean-Yves Avenard jyavenard at gmail.com
Tue Nov 3 19:50:14 UTC 2015


On Wednesday, 4 November 2015, Karl Dietz <dekarl at spaetfruehstuecken.org>
wrote:

> Hi,
>
> I'm considering to throw the switch and enable C++11 for master in the
> coming days.
> Its just a "CONFIG += c++11" in our .pro files. GCC learned it at 4.7
> and improved it with 4.8 and even Debian stable is already shipping
> GCC 4.9.
> QT 5.7 appears to makes C++11 mandatory anyway in some months.
>
> Some related discussion on IRC
> https://irc.mythtv.org/ircLog/channel/4/2015-10-27:21:22/2015-10-28:00:24
> https://irc.mythtv.org/ircLog/channel/4/2015-11-02:19:01/2015-11-02:23:27
>
> Any thoughts or vetos?
>
>
Yes!

The only thing that could make the transition difficult is that we'll need
visual studio 2013 at a minimum.

Having said that for this particular case, I thought Qt moc automatically
handled that case and as such wasn't really C++11
Eg for (QString i : QstringList) ...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-dev/attachments/20151104/57103bda/attachment.html>


More information about the mythtv-dev mailing list