Hi Luis,�<div><br></div><div>could you post a simple code to demonstrate your problem?<div><br><br><div class="gmail_quote">On Fri, Oct 14, 2011 at 02:47, Luis A. Montes <span dir="ltr">&lt;<a href="mailto:luis@qdusa.com">luis@qdusa.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
I&#39;m trying to use the serialization library and was having a compile<br>
error using MSVC 2005. So I decided to try and compile &quot;A Very Simple<br>
Case&quot; from the tutorial, and that of course works. But then I noticed<br>
that the example serializes a const object, that sort of is rather<br>
useless, so I removed the const specifier, and I got the same error that<br>
I was getting with my program, namely:<br>
warning C4099:<br>
&#39;boost::serialization::static_warning_impl&lt;false&gt;::STATIC_WARNING&#39; :<br>
type name first seen using &#39;struct&#39; now seen using &#39;class&#39;<br>
<br>
I went googling for an answer and I found that I should look at the<br>
rationale on the docs, but the rationale<br>
(<a href="http://www.boost.org/doc/libs/1_47_0/libs/serialization/doc/rationale.html" target="_blank">http://www.boost.org/doc/libs/1_47_0/libs/serialization/doc/rationale.html</a>)<br>
doesn&#39;t seem at all relevant. I finally sort of guessed that I wanted<br>
was probably to modify the tracking behavior on my program (looking at<br>
the thread <a href="http://lists.boost.org/boost-users/2010/05/59107.php" target="_blank">http://lists.boost.org/boost-users/2010/05/59107.php</a> ). But<br>
my objects are not on the stack, so I&#39;m not really sure. My class<br>
structure is a bit more complicated than the simple example, but my<br>
question basically is, what changes would be appropriate on the simple<br>
example so that it would compile for non-const objects?<br>
<br>
Thanks<br>
<br>
<br>
_______________________________________________<br>
Boost-users mailing list<br>
<a href="mailto:Boost-users@lists.boost.org">Boost-users@lists.boost.org</a><br>
<a href="http://lists.boost.org/mailman/listinfo.cgi/boost-users" target="_blank">http://lists.boost.org/mailman/listinfo.cgi/boost-users</a><br>
</blockquote></div><br></div></div>