Boost Users :
Subject: Re: [Boost-users] Error:" Non-const function called for const object" on Sun CC while using boost::multi_index::multi_index_container
From: Alexander Vinokur (Alexander.Vinokur_at_[hidden])
Date: 2008-10-16 02:17:32
Now it works fine.
% CC -m64 -library=stlport4 -I./boost_patch -I/home/BOOST/boost_1_34_0
// No problem
"JOAQUIN M. LOPEZ MU?OZ" <joaquin_at_[hidden]> wrote in message
De: Alexander Vinokur [Alexander.Vinokur_at_[hidden]]
Enviado el: domingo, 12 de octubre de 2008 8:44
CC: JOAQUIN M. LOPEZ MU?OZ
Asunto: Re: Error:" Non-const function called for const object" on Sun
CC = while using boost::multi_index::multi_index_container
> Hi Joaqu?n,
> I was out of office several days. Sorry.
> So, I send my reply today.
No problem at all :)
> I don't have permissions to change something under /boost.
Maybe you can still perform the test by doing the following:
1 Create a local folder structure more or less like this:
and copy there the allocator_utilities.hpp modified file I sent you
2 When compiling your multi-index example add a compiler option (or
IDE setting, etc.) so that ~alex/boost_patch/ is added to the list of
include directories *and* takes precedence over the official copy of
If you finally manage to do the test please report back your results.
> But here other test I did:
[example core snipped]
I take this a sufficient evidence that the patch should work, so I went
and added it to the trunk:
If nothing wrong happens with the patch, it'll be shipped with Boost
Joaqu?n M L?pez Mu?oz
Telef?nica, Investigaci?n y Desarrollo
This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement,
you may review at http://www.amdocs.com/email_disclaimer.asp
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