<div dir="ltr">right, aren't android base & gmocks are also out of sync ?<div>br,kg </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 19, 2015 at 8:59 AM, Cemil Azizoglu <span dir="ltr"><<a href="mailto:cemil.azizoglu@canonical.com" target="_blank">cemil.azizoglu@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Trusty is not dropped. At least, not because we have moved to C++14. If supporting Trusty were as simple as having compiler support, we already have that with the PPA for 4.9 Chris pointed out. Though, other reasons making that support difficult remain. But those are not related to the choice of compiler.<div><br></div><div>Thanks,</div><div>Cemil</div><div><br></div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Wed, Feb 18, 2015 at 8:12 PM, Daniel van Vugt <span dir="ltr"><<a href="mailto:daniel.van.vugt@canonical.com" target="_blank">daniel.van.vugt@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">We do seem to be guilty of having the same conversations in multiple different places a lot :)<br>
<br>
Just FYI, the nail is in the coffin. C++14 support landed last night. So trusty is dropped I guess.<div><div><br>
<br>
<br>
On 18/02/15 12:43, Daniel van Vugt wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
As a compromise why don't we say Mir supports the latest LTS only?<br>
<br>
So 14 months from now, we'll be free to jump to C++14 (and it will be<br>
more mature in implementation by then). But until then, we would stick<br>
to C++11 for trusty.<br>
<br>
<br>
<br>
On 18/02/15 09:39, Daniel van Vugt wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I think this is a bad idea.<br>
<br>
Supporting trusty with the latest Mir is presently easy, as demonstrated:<br>
<a href="https://code.launchpad.net/~vanvugt/mir/revive-trusty/+merge/249789" target="_blank">https://code.launchpad.net/~<u></u>vanvugt/mir/revive-trusty/+<u></u>merge/249789</a><br>
<br>
Using newer language specs I think is contrary to engineering maturity.<br>
Because it means we knowingly and needlessly reduce the number of<br>
distros Mir can support. And we also make the learning curve for people<br>
even steeper (fewer C++ developers know the new language features).<br>
<br>
Overall this will lead to reduced adoption by users and reduced<br>
participation by developers. We need to be careful and draw the line<br>
somewhere... stop upgrading to the latest C++ every time one comes along.<br>
<br>
- Daniel<br>
<br>
<br>
On 17/02/15 20:37, Alexandros Frantzis wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
I think it's to time to consider moving from C++11 to C++14 (at least<br>
the C++14 features our compilers support). C++14 offers some useful<br>
improvements over C++11, like:<br>
<br>
* std::make_unique()<br>
* standard literal suffixes for std::chrono (e.g. auto delay = 10ms;)<br>
* std::shared_timed_mutex (aka RW mutex)<br>
* generic lambdas<br>
* lambda capture initializers (which, importantly, allow moving values<br>
into<br>
   lambdas)<br>
<br>
Moving to C++14 means that we will not be able to build Mir on a<br>
pristine Ubuntu LTS 14.04 system. Note that, even now, Mir cannot be<br>
fully built on the LTS because of changes in the Android interfaces. As<br>
things currently stand, I believe that dropping support for 14.04 builds<br>
in order to allow C++14 is a worthy trade-off.<br>
<br>
In addition, not supporting 14.04 builds means that we will be able to<br>
use all the new features of other libraries we depend on, e.g.<br>
gmock/gtest.<br>
<br>
It's also worth noting that our packages depend on g++-4.9 (which<br>
supports the C++14 features we want).<br>
<br>
I have published an MP introducing C++14 into our codebase:<br>
<br>
<a href="https://code.launchpad.net/~afrantzis/mir/introduce-c++14/+merge/249988" target="_blank">https://code.launchpad.net/~<u></u>afrantzis/mir/introduce-c++14/<u></u>+merge/249988</a><br>
<br>
Let me know what you think.<br>
<br>
Thanks,<br>
Alexandros<br>
<br>
</blockquote>
<br>
</blockquote>
<br>
</blockquote>
<br>
-- <br>
Mir-devel mailing list<br>
<a href="mailto:Mir-devel@lists.ubuntu.com" target="_blank">Mir-devel@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/mir-devel" target="_blank">https://lists.ubuntu.com/<u></u>mailman/listinfo/mir-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="">-- <br><div><div dir="ltr">Cemil Azizoglu<div>Mir Display Server - Team Lead</div><div>Canonical USA</div></div></div>
</span></div>
<br>--<br>
Mir-devel mailing list<br>
<a href="mailto:Mir-devel@lists.ubuntu.com">Mir-devel@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/mir-devel" target="_blank">https://lists.ubuntu.com/mailman/listinfo/mir-devel</a><br>
<br></blockquote></div><br></div>