You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Cody Maloney (JIRA)" <ji...@apache.org> on 2014/08/27 00:47:58 UTC
[jira] [Comment Edited] (MESOS-750) Require compilers that support
c++11
[ https://issues.apache.org/jira/browse/MESOS-750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14111495#comment-14111495 ]
Cody Maloney edited comment on MESOS-750 at 8/26/14 10:46 PM:
--------------------------------------------------------------
If the switch isn't flipped, is it possible to at least get a buildbot or something similar which will test the older compiler + libstdc++?
Even gcc 4.4 has quite a bit of C+\+11 supported: https://gcc.gnu.org/gcc-4.4/cxx0x_status.html. And the ABI for C++ has stayed stable inside GCC / GCC will produce the older ABI if/when requested even if a newer compiler is used: https://gcc.gnu.org/onlinedocs/gcc-4.9.1/gcc/C_002b_002b-Dialect-Options.html
The only thing to watch out for is libstdc++ silent API/ABI breakages, intentional ABI changse have been held off until they decide to have a big break: https://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html
was (Author: cmaloney):
If the switch isn't flipped, is it possible to at least get a buildbot or something similar which will test the older compiler + libstdc++?
Even gcc 4.4 has quite a bit of C++11 supported: https://gcc.gnu.org/gcc-4.4/cxx0x_status.html. And the ABI for C++ has stayed stable inside GCC / GCC will produce the older ABI if/when requested even if a newer compiler is used: https://gcc.gnu.org/onlinedocs/gcc-4.9.1/gcc/C_002b_002b-Dialect-Options.html
The only thing to watch out for is libstdc++ silent API/ABI breakages, intentional ABI changse have been held off until they decide to have a big break: https://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html
> Require compilers that support c++11
> ------------------------------------
>
> Key: MESOS-750
> URL: https://issues.apache.org/jira/browse/MESOS-750
> Project: Mesos
> Issue Type: Improvement
> Components: technical debt
> Reporter: Benjamin Mahler
>
> Requiring C++11 support will provide substantial benefits to Mesos.
> Most notably, the lack of lambda support has resulted in a proliferation of continuation style functions scattered throughout the code. Having lambdas will allow us to reduce this clutter and simplify the code.
> This will require carefully documenting how to get Mesos compiling on various systems to make this transition easy.
--
This message was sent by Atlassian JIRA
(v6.2#6252)