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 2015/05/04 22:45:07 UTC

[jira] [Commented] (MESOS-2604) Upgrade minimum required compilers for MESOS

    [ https://issues.apache.org/jira/browse/MESOS-2604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14527255#comment-14527255 ] 

Cody Maloney commented on MESOS-2604:
-------------------------------------

{code}
author	Cody Maloney <co...@mesosphere.io>	
Thu, 23 Apr 2015 14:38:48 -0700 (14:38 -0700)
committer	Benjamin Hindman <be...@gmail.com>	
Sat, 25 Apr 2015 16:21:46 -0700 (16:21 -0700)
commit	0f5c78fad3423181f7227027eb42d162811514e7
tree	5c6158257e926e29279e5eee13f189f46cf8fe07	tree | snapshot
parent	b4bbfd6ae0c5287d0328caeff89d0c574ae4a546	commit | diff
Warn if g++ < 4.8 or a C++ standard library is too old for Mesos.

After this a whole bunch more of the C++11 checks can be removed, we
can unconditionally use -std=c++11, among other things with this
change.

Note that we don't explicitly check the clang version number since
extracting it is hard (OS X clang behaves differently than Linux
clang), and 'clang -dumpversion' always reports 4.2.1 for
compatibility with some random tools that used GCC.
{code}

{code}
author	Benjamin Hindman <be...@gmail.com>	
Sat, 25 Apr 2015 16:06:38 -0700 (16:06 -0700)
committer	Benjamin Hindman <be...@gmail.com>	
Sat, 25 Apr 2015 16:21:35 -0700 (16:21 -0700)
commit	b4bbfd6ae0c5287d0328caeff89d0c574ae4a546
tree	68a2adab47a3e93e95064ad5dce87e1a99f726c3	tree | snapshot
parent	4919aa52a9eae4af0874cb41e3a1a6d10c2eafa7	commit | diff
Warn if g++ < 4.8 or a C++ standard library is too old for libprocess.

After this a whole bunch more of the C++11 checks can be removed, we
can unconditionally use -std=c++11, among other things with this
change.

Note that we don't explicitly check the clang version number since
extracting it is hard (OS X clang behaves differently than Linux
clang), and 'clang -dumpversion' always reports 4.2.1 for
compatibility with some random tools that used GCC.
{code}

> Upgrade minimum required compilers for MESOS
> --------------------------------------------
>
>                 Key: MESOS-2604
>                 URL: https://issues.apache.org/jira/browse/MESOS-2604
>             Project: Mesos
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 0.23.0
>            Reporter: Cody Maloney
>            Assignee: Cody Maloney
>              Labels: c++11
>
> As discussed in the last community meeting we would like to upgrade the minimum mesos compiler version to GCC 4.8+, Clang 3.5. GCC primarily for Linux. Clang for OS X, as well as linux for enabling Mesos tooling improvements ([clang-format|http://mesos.apache.org/documentation/clang-format/], clang-tidy among others).
> Some documents for reference:
> [Compilers by Distribution Version|https://docs.google.com/spreadsheets/d/1Ji8p3p_1JqUsMxE31mJqqztHf7LDx7mGMXh253azWpU/edit?usp=sharing]
> Shows we can get GCC 4.8+ or clang 3.5+ on all supported platforms.
> C++11 features supported by each compiler:
> [https://gcc.gnu.org/projects/cxx0x.html]
> [http://clang.llvm.org/cxx_status.html]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)