|
Boost Users : |
From: Marc Viala (mviala_at_[hidden])
Date: 2007-01-02 04:06:16
Hello Joaquin and happy New Year,
Sorry for my late reply but our mail server was down in the night of 31th; this is not a joke.
I've just changed the code snippet with your recommendation but without success: I've got the same ICE with VC7.1.
Just to clarify my report: I've also compiled some code snippets from the MultiIndex documentation and get the same ICE. My compiler version corresponds to the VC7.1 with the service pack #1.
Best regards,
Marc Viala
> -----Message d'origine-----
> De : boost-users-bounces_at_[hidden] [mailto:boost-users-bounces_at_[hidden]] De
> la part de "JOAQUIN LOPEZ MU?Z"
> Envoyé : dimanche 31 décembre 2006 01:08
> À : boost-users_at_[hidden]
> Objet : Re: [Boost-users] [Boost.Multi-Index] ICE w/ VC7.1
>
> Hello Marc,
>
> ----- Mensaje original -----
> De: Marc Viala <mviala_at_[hidden]>
> Fecha: Viernes, Diciembre 29, 2006 7:25 pm
> Asunto: [Boost-users] [Boost.Multi-Index] ICE w/ VC7.1
> Para: boost-users_at_[hidden]
>
> > I'm just trying to use Boost.MultiIndex in a large project but I'm
> not
> > being able to compile this library with VC 7.1.6030: I've got an
> > ICE in file "apply_wrap.hpp" of Boost.MPL. I've tried to change the
> > headers order but without success.
> >
> > My environment is:
> > - Windows XP
> > - Boost 1.33.1
> > - VC 7.1.6030
> >
> > To demonstrate this ICE, you will find hereafter a code snippet.
> >
> > Thanks in advance.
> >
> > Marc Viala
> [...]
> > typedef composite_key<
> > Item
> > , ordered_non_unique<member<Item,int,&Item::_i> >
> > , ordered_non_unique<member<Item,int,&Item::_j> >
> > > ckey_ij ;
>
> I think the problem lies here: you must provide composite_key<>
> with *key extractors*, not index specifiers. Please try
> rewriting ckey_ij like this:
>
> typedef composite_key<
> Item
> , member<Item,int,&Item::_i>
> , member<Item,int,&Item::_j>
> > ckey_ij ;
>
> Problem solved? I'm sorry I can't try the snippet you
> provide myself, so please report back. Thanks for using
> Boost.MultiIndex!
>
> Joaquín M López Muñoz
> Telefónica, Investigación y Desarrollo
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
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