You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Jie Yu (JIRA)" <ji...@apache.org> on 2014/01/15 20:13:26 UTC

[jira] [Commented] (MESOS-909) Errors when using stout headers with clang

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

Jie Yu commented on MESOS-909:
------------------------------

https://reviews.apache.org/r/16913/

> Errors when using stout headers with clang
> ------------------------------------------
>
>                 Key: MESOS-909
>                 URL: https://issues.apache.org/jira/browse/MESOS-909
>             Project: Mesos
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.17.0
>         Environment: Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
>            Reporter: Till Toenshoff
>            Priority: Trivial
>              Labels: C++11, build-failure, clang, stout
>
> Both, stout/lambda.hpp as well as stout/memory.hpp  are missing the includes of the respective standard C++ library headers on C++11 compilers.
> These problems do not pop up in the current mesos master as these headers are always included after some standard library headers.
> error: use of undeclared identifier 'std'
> error: expected namespace name
> It just popped up in one part of the project I am currently working on as that does not include standard headers before including stout/lambda.hpp.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)