Till Toenshoff created MESOS-909:
------------------------------------

             Summary: 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


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)

Reply via email to