on Mon Sep 05 2011, Ytsen de Boer
Hi,
To take care of dependencies in my project using boost, I used to invoke gcc with the option -MM.
What does -MM do?
However, since using boost 1.47, this does not work anymore. The precompiler aborts with the message:
/usr/local/include/boost-1_47/boost/signals2/signal_type.hpp:29:2: error: #error This header requires BOOST_PARAMETER_MAX_ARITY to be defined as 7 or greater prior to including Boost.Parameter headers
Because the macro BOOST_PARAMETER_MAX_ARITY plays no role whatsover in this invocation of gcc, I think that boost should solve their internal problem with the "arity" in some other way.
I don't know what you mean. It defaults to 5, but signals2 apparently needs support for 7 arguments.
In the mean time I define the macro in my make rules to generate the dependencies, but there it is obviously misplaced (any tips or tricks are welcome here).
I don't understand your problem, sorry. -- Dave Abrahams BoostPro Computing http://www.boostpro.com