Bug fix. BOOST_STATIC_CONSTANT macro won't compile, if boost/icl/.. includes are preceeded by #include <boost/thread.hpp> The fix is to put a subexpression into parentheses.