Boost logo

Boost Users :

Subject: [Boost-users] Fusion error: wrong number of template arguments (30, should be 20)
From: Joost Kraaijeveld (J.Kraaijeveld_at_[hidden])
Date: 2012-08-07 04:38:40


Hi,

I have the following error after an upgrade to Boost 1.49 (Debian
Wheezy):

/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<class T0, class T1, class T2, class T3, class T4, class T5, class T6, class T7, class T8, class T9, class T10, class T11, class T12, class T13, class T14, class T15, class T16, class T17, class T18, class T19> struct boost::mpl::vector'

I have defined the following:

#define FUSION_MAX_VECTOR_SIZE 30
#define FUSION_MAX_MAP_SIZE 30

How can I solve this problem?

TIA

-- 
Groeten,
Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
web: www.askesis.nl

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net