Boost logo

Boost Users :

From: Joaquín Mª López Muñoz (joaquin_at_[hidden])
Date: 2006-09-18 11:52:41


Prashant Thakre ha escrito:
[...]

> Hi,
> Sample file provided did *fail* to compile with Sun Studio 11 on Solaris 10.
> ----Error----
> Could not find a match for A::F<A::R>(int) needed in main().
> -------------
>
> However, adding __SUNPRO_CC as a special case for access_specifier.hpp didn't
> help.
> "boost/include/boost-1_33_1/boost/multi_index/detail/access_specifier.hpp"
> line 43: Error: Badly formed constant expression.

My hunch is that you overlook a needed

||\

at the end of line 42. Is that it? Oherwise, please send me your modified copy
of access_specifier.hpp and I'll be happy to take a look at it.

> Thanks a lot for the help.

Thanks for using Boost.MultiIndex, I hope it's being useful to your project.

> -regards,
> Prashant Thakre

Joaquín M López Muñoz
Telefónica, Investigación 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