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

Review request for mesos, Benjamin Hindman and Vinod Kone.


Repository: mesos-git


Description
-------

We are hitting the "Unqualified lookup in templates" issue in stout interval 
set:
http://clang.llvm.org/compatibility.html#dep_lookup

And looks like this is a boost bug:
1) boost/icl/concept/interval.hpp:621 defines a template that uses 
'lower_less_equal'
2) boost/icl/concept/interval.hpp:877 'lower_less_equal' is defined here

Since lower_less_equal does not contain any class type, the compiler may or may 
not choose to reject the program according to the C++ standard :( Clearly, 
gcc-4.8 rejects the program and gcc-4.4 does not.

I am using a workaround here to bypass the problem.


Diffs
-----

  3rdparty/libprocess/3rdparty/stout/include/stout/interval.hpp df01e13 

Diff: https://reviews.apache.org/r/20935/diff/


Testing
-------

make check

Tested using:
1) gcc-4.4 on Linux
2) gcc-4.8 on Mac


Thanks,

Jie Yu

Reply via email to