Boost logo

Boost Users :

Subject: [Boost-users] boost 1.47: gcc file dependency generation trips over BOOST_PARAMETER_MAX_ARITY
From: Ytsen de Boer (yrdeboer_at_[hidden])
Date: 2011-09-05 06:46:53


  To take care of dependencies in my project using boost, I used to
invoke gcc with the option -MM. However, since using boost 1.47, this
does not work anymore. The precompiler aborts with the message:

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.

  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).

  All the best,


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at