Boost C++ Libraries: Ticket #3368: impl/*.ipp not included https://svn.boost.org/trac10/ticket/3368 <p> when you build your own archive types, the following files have to be included manually. otherwise you get a lot of undefined references, mostly to pointer_?serializer destructors. </p> <p> #include &lt;boost/archive/impl/basic_binary_iarchive.ipp&gt; #include &lt;boost/archive/impl/basic_binary_oarchive.ipp&gt; #include &lt;boost/archive/impl/archive_pointer_oserializer.ipp&gt; #include &lt;boost/archive/impl/archive_pointer_iserializer.ipp&gt; </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3368 Trac 1.4.3 Robert Ramey Wed, 26 Aug 2009 18:14:56 GMT <link>https://svn.boost.org/trac10/ticket/3368#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3368#comment:1</guid> <description> <p> what do you think should be changed to implement this? </p> <p> The only thing that would occur to me is to have basic_binary_oarchive.ipp include archive_pointer....ipp. I'm sort of reluctant to do this as it might make things harder to follow. </p> <p> note: archive_pointer_?serializer.ipp have are not used in 1.40 onward. archive_pointer_map is used instead. </p> <p> Robert Ramey </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Wed, 26 Aug 2009 18:22:42 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3368#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3368#comment:2</guid> <description> <p> if this is not needed by the default archives, there could be a header dedicated to custom-built archives. or if these headers are not implementation details (although they seem to be, because you said they won't be there in 1.40) it could just be documented that they have to be included. </p> <p> I've found 2 or 3 threads in the mailing list archives with question about what causes those undefined references. (and no solution in those threads.) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Robert Ramey</dc:creator> <pubDate>Fri, 11 Sep 2009 18:12:11 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/3368#comment:3 https://svn.boost.org/trac10/ticket/3368#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> I'll just tweak the documentation </p> Ticket anonymous Mon, 07 Oct 2013 19:38:23 GMT <link>https://svn.boost.org/trac10/ticket/3368#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3368#comment:4</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/3368#comment:3" title="Comment 3">ramey</a>: </p> <blockquote class="citation"> <p> I'll just tweak the documentation </p> </blockquote> <p> ... Just spent a couple of fun hours trying to figure out what was going wrong. Perhaps it is worth tweaking the documentation a bit more? Or better, have that log_archive example include the ipp files. </p> <p> And for future searchers, try the above workaround if you get linker errors for newtoken and such, but know you have things linked properly for regular serialization stuff. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Mon, 07 Oct 2013 19:47:29 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3368#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3368#comment:5</guid> <description> <p> As of this moment you're more upto date on this than I am. so if you want to suggest some specific changes, I'll likely take your word that they are OK and just incorporate them. </p> <p> Robert Ramey </p> </description> <category>Ticket</category> </item> </channel> </rss>