Boost logo

Boost Users :

Subject: [Boost-users] [multi_index] Re: problem in porting my application to 1.42.0
From: Joaquin M Lopez Munoz (joaquin_at_[hidden])
Date: 2010-04-22 14:31:24


>

Hi, please prepend the subjects of your posts with
the library you're asking about (here [multi_index]).
Thank you!

Mahmood Naderan <nt_mahmood <at> yahoo.com> writes:

> My project works fine with Boost 1.33.1 but when I want to make it with boost
1.42.0 I get several errors.
>
> In file included from /home/mahmood/boost_1_42_0/boost/
> multi_index_container_fwd.hpp:18,
> from /home/mahmood/boost_1_42_0/boost/
> multi_index_container.hpp:30,
> from BaseCacheControllerImpl.cpp:61:/home/mahmood/boost_1_42_0/boost/
> multi_index/indexed_by.hpp:61: error: wrong number of template arguments
> (50, should be 20)/home/mahmood/boost_1_42_0/boost/mpl/aux_/preprocessed/
> gcc/vector.hpp:22: 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’
> [...]

It's difficult to to say without more context. A shot in the
dark: Are you using precompiled headers? If so, try rebuilding
from scratch without them.

Other than this, can you provide a small complete program
showing the error and contextual info (compiler, system, etc.)?

Thank you,

Joaquín M López Muñoz
Telefónica, Investigaciónm y Desarrollo


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