-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/30911/#review73706
-----------------------------------------------------------


This breaks on gcc-4.4.
```
../../../mesos/src/common/resources.cpp: In member function 
'Option<mesos::Resources> mesos::Resources::find(const mesos::Resource&) const':
../../../mesos/src/common/resources.cpp:571: error: could not convert 
'{std::tr1::bind(_Functor, _ArgTypes ...) [with _Functor = bool (*)(const 
mesos::Resource&, const Option<std::basic_string<char, std::char_traits<char>, 
std::allocator<char> > >&), _ArgTypes = std::tr1::_Placeholder<1>, 
std::basic_string<char, std::char_traits<char>, std::allocator<char> 
>]((std::tr1::placeholders::<unnamed>::_1, std::tr1::_Placeholder<1>()), 
std::basic_string<char, std::char_traits<char>, std::allocator<char> >(((const 
std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)((const 
std::string*)((const mesos::Resource*)target)->mesos::Resource::role())))), 
mesos::Resources::isUnreserved, any}' to 
'std::initializer_list<std::tr1::function<bool(const mesos::Resource&)> >'
../../../mesos/src/common/resources.cpp:571: confused by earlier errors, 
bailing out
```

- Jie Yu


On Feb. 23, 2015, 10:12 p.m., Michael Park wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/30911/
> -----------------------------------------------------------
> 
> (Updated Feb. 23, 2015, 10:12 p.m.)
> 
> 
> Review request for mesos, Adam B, Benjamin Hindman, Ben Mahler, Jie Yu, and 
> Vinod Kone.
> 
> 
> Bugs: MESOS-2348
>     https://issues.apache.org/jira/browse/MESOS-2348
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> See [JIRA Ticket](https://issues.apache.org/jira/browse/MESOS-2348).
> 
> 
> Diffs
> -----
> 
>   include/mesos/resources.hpp c242bcc29c490841354d6fdc8d0de16eeea602ed 
>   src/common/resources.cpp 625922dd1abe2420736867c6043ca39be4e526ef 
>   src/master/allocator/mesos/hierarchical.hpp 
> 2680d6231927867d5a8d75cbc42b81d6c75fc7f2 
>   src/master/master.hpp a466f9299f116e1c3aae6fc79c73c9c165383769 
>   src/master/validation.cpp cd1052adc877cf698f5f627eef6ff4008aa573d5 
>   src/slave/slave.cpp 0374ca061cb53dc7e3338366aa41b1c15fb3231c 
>   src/tests/hierarchical_allocator_tests.cpp 
> eeecfb64540b16666915074aaffaa5d506b203bc 
>   src/tests/resources_tests.cpp 3f98782fd437dba808d720bf8e9b94b8fa7e0feb 
> 
> Diff: https://reviews.apache.org/r/30911/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Michael Park
> 
>

Reply via email to