I'm using boost 1.54 and Qt version 5.2.1.
I'm getting the following error when I try to build the package
/usr/include/boost/multi_index/sequenced_index.hpp:927:10: error: 'boost::Q_FOREACH’ has not been declared
boost::foreach::tag
^
/usr/include/boost/multi_index/ordered_index.hpp:1399:10: error: ‘boost::Q_FOREACH’ has not been declared
boost::foreach::tag)
^
Checked the header in sequenced_index.hpp
, ordered_index.hpp
, they both have foreach_fwd.hpp
and foreach.hpp
included.
I tried including CONFIG += no_keywords
in the project file (.pro)
. But still I'm getting this error. I'm not sure what's the reason.