When I want to serialise a vector of shared ptrs to<br>concrete types, there are no warnings on gcc/Linux. <br>and program runs correctly.<br>However when I compile on HP-UX, I get the following:<br clear="all"><br>.../boost_1_39_0/boost/serialization/export.hpp&quot;, line 137: <br>
warning #2414-D: delete of pointer to incomplete class<br>BOOST_STATIC_WARNING(boost::is_polymorphic&lt;T&gt;::value);<br>....<br> <br>It appears that boost shared ptr serialisation has made the <br>assumption that the pointer must be polymorphic! <br>
Is this assumption correct ?<br>i.e are we allowed to serialize shared ptrs to concrete types ?<br><br>To get rid of the message I simply add a virtual member<br> function.<br><br>It appears  in this case that HPUX compiler is more accurate, <br>
and I don&#39;t understand why this same warning does not appear<br>with gcc.<br><br>   Best regards,<br>Ta,<br>    Avi<br><br>

