On Tue, 2012-08-07 at 11:01 +0200, Viatcheslav.Sysoltsev@h-d-gmbh.de wrote:
/usr/include/boost/fusion/container/deque/detail/preprocessed/deque_initial_size30.hpp:14:196: error: wrong number of template arguments (30, should be 20) In file included from /usr/include/boost/mpl/aux_/include_preprocessed.hpp:37:0, from /usr/include/boost/mpl/vector.hpp:46, from /usr/include/boost/fusion/container/deque/detail/deque_initial_size.hpp:16, from /usr/include/boost/fusion/container/deque/deque.hpp:15, from /usr/include/boost/fusion/container/deque.hpp:11, from /usr/include/boost/fusion/container.hpp:14, from ../../../library/../include/Danu/DanuModelObjects/Login.hpp:12, from ../../../library/DanuModelObjects/Login.cpp:7: /usr/include/boost/mpl/aux_/preprocessed/gcc/vector.hpp:22:8: error: provided for 'template
struct boost::mpl::vector' I have defined the following:
#define FUSION_MAX_VECTOR_SIZE 30 #define FUSION_MAX_MAP_SIZE 30
I do not see deque in boost fusion 1.49.0 documentation, it is first mentioned in 1.50.0. Nevertheless from 1.50 doc declaring FUSION_MAX_DEQUE_SIZE may help.
Thanks, I will try that. But it is strange, because I really use 1.49 (and no 1.50) and I do not use deque anywhere in my own code: I only use vector and map. Also, if a deque is used somehow in the implementation of a vector (for which the error is generated afaics from the error), I would think that configuring the vector size as I have done, should take care of configuring the implementation deque. -- Groeten, Joost Kraaijeveld Askesis B.V. Molukkenstraat 14 6524NB Nijmegen tel: 024-3888063 / 06-51855277 fax: 024-3608416 web: www.askesis.nl