Daniel Russel wrote: > The attached patch adds the ability to remove particle attributes.
This patch fails with Boost 1.35: scons: Building targets ... g++ -o kernel/src/Model.os -c -Wall -g -fvisibility=hidden -fPIC -DIMP_EXPORTS -DGCC_VISIBILITY -Ikernel/include -I/opt/local/include kernel/src/Model.cpp /opt/local/include/boost/type_traits/is_base_and_derived.hpp: In instantiation of 'boost::detail::is_base_and_derived_impl2<IMP::internal::RefCountedObject, IMP::Particle>': /opt/local/include/boost/type_traits/is_base_and_derived.hpp:215: instantiated from 'boost::detail::is_base_and_derived_impl<IMP::internal::RefCountedObject, IMP::Particle>' /opt/local/include/boost/type_traits/is_base_of.hpp:21: instantiated from 'boost::is_base_of<IMP::internal::RefCountedObject, IMP::Particle>' kernel/include/IMP/internal/ObjectPointer.h:39: instantiated from 'IMP::internal::ObjectPointer<IMP::Particle, true>' kernel/include/IMP/internal/AttributeTable.h:92: instantiated from here /opt/local/include/boost/type_traits/is_base_and_derived.hpp:141: error: invalid application of 'sizeof' to incomplete type 'IMP::Particle' /opt/local/include/boost/type_traits/is_base_and_derived.hpp:141: error: invalid application of 'sizeof' to incomplete type 'boost::STATIC_ASSERTION_FAILURE<false>' scons: *** [kernel/src/Model.os] Error 1
Ben