|
Boost Users : |
Subject: Re: [Boost-users] [serialization] Undefined symbol
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-02-15 15:09:20
AMDG
On 2/15/2011 11:43 AM, John Reid wrote:
> I'm trying to work on some code I haven't looked at in some time and in
> debug builds (with gcc 4.4.3) I keep getting an undefined symbol:
>
> boost::serialization::version<boost::multi_index::detail::serialization_version<bio::BindingHit<bio::BindingModel>
> > >::value
>
> I can't work out where this is getting referenced and why the compiler
> is not instantiating it there? Can anyone point me in the right
> direction? I'm using boost SVN revision 64053.
>
Most likely, the out of line definition
was forgotten. It's easy to forget for
integral constants defined in the class
body because it often isn't needed.
In Christ,
Steven Watanabe
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