[
https://issues.apache.org/jira/browse/MESOS-909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Till Toenshoff closed MESOS-909.
--------------------------------
Resolution: Fixed
> 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
> Assignee: 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.2#6252)