Boost C++ Libraries: Ticket #1704: [any] 4512 warning from VC8/9 on warning level 4 https://svn.boost.org/trac10/ticket/1704 <p> Running the Any tests on VC8/9 + warning level 4 produces a couple of 4512 (assignment operator could not be generated) warnings: </p> <pre class="wiki">boost/any.hpp(130) : warning C4512: 'boost::any::holder&lt;ValueType&gt;' : assignment operator could not be generated </pre><p> Attached is a patch to silence the warning. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1704 Trac 1.4.3 Richard Webb <richard.webb@…> Sat, 22 Mar 2008 00:23:33 GMT attachment set https://svn.boost.org/trac10/ticket/1704 https://svn.boost.org/trac10/ticket/1704 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">any.diff</span> </li> </ul> Ticket niels_dekker Tue, 25 Mar 2008 22:09:45 GMT <link>https://svn.boost.org/trac10/ticket/1704#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1704#comment:1</guid> <description> <p> For the record, the issue is discussed at the Boost Developer mailing list, <a class="ext-link" href="http://thread.gmane.org/gmane.comp.lib.boost.devel/172574"><span class="icon">​</span>{boost} 1704 {any} 4512 warning from VC8/9 on warning level 4</a> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>niels_dekker</dc:creator> <pubDate>Tue, 25 Mar 2008 23:04:35 GMT</pubDate> <title>attachment set https://svn.boost.org/trac10/ticket/1704 https://svn.boost.org/trac10/ticket/1704 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">any_private_assignment.patch</span> </li> </ul> <p> Proposed fix by adding a private assignment to any::holder </p> Ticket nasonov Tue, 06 May 2008 20:44:10 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/1704#comment:2 https://svn.boost.org/trac10/ticket/1704#comment:2 <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> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/45178" title="Fixes #1704 [any] 4512 warning from VC8/9 on warning level 4">[45178]</a>) Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/1704" title="#1704: Bugs: [any] 4512 warning from VC8/9 on warning level 4 (closed: fixed)">#1704</a> [any] 4512 warning from VC8/9 on warning level 4 </p> Ticket