Boost C++ Libraries: Ticket #1500: [Spirit/Phoenix] C4512 Compiler warnings from VC8 https://svn.boost.org/trac10/ticket/1500 <p> I have a project that uses <a class="missing wiki">Spirit/Phoenix</a>, and when building in VC8Sp1 with warnings set to level 4, i get a lot of C4512 (assignment operator could not be generated) warnings from various Spirit and Phoenix header files. For example: </p> <pre class="wiki">e:\development\safemail32\external\boost\boost\spirit\phoenix\tuples.hpp(591) : warning C4512: 'phoenix::tuple&lt;A,B,C,D,E,F,NU&gt;' : assignment operator could not be generated </pre><pre class="wiki">e:\development\safemail32\external\boost\boost\spirit\phoenix\primitives.hpp(217) : warning C4512: 'phoenix::variable&lt;T&gt;' : assignment operator could not be generated </pre><pre class="wiki">e:\development\safemail32\external\boost\boost\spirit\phoenix\actor.hpp(272) : warning C4512: 'phoenix::actor&lt;BaseT&gt;' : assignment operator could not be generated </pre><pre class="wiki">e:\development\safemail32\external\boost\boost\spirit\phoenix\composite.hpp(286) : warning C4512: 'phoenix::composite&lt;OperationT,A,B,C,D,E,F&gt;' : assignment operator could not be generated </pre><p> Is there any interest in silencing these?<br /> </p> <p> I could see about producing some patches if needed. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1500 Trac 1.4.3 Richard Webb <richard.webb@…> Sun, 09 Dec 2007 16:03:05 GMT attachment set https://svn.boost.org/trac10/ticket/1500 https://svn.boost.org/trac10/ticket/1500 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">numerics.patch</span> </li> </ul> <p> 'conditional expression is constant' warning </p> Ticket Richard Webb <richard.webb@…> Sun, 09 Dec 2007 16:04:10 GMT attachment set https://svn.boost.org/trac10/ticket/1500 https://svn.boost.org/trac10/ticket/1500 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">spirit.patch</span> </li> </ul> <p> 'assignment operator could not be generated' warnings </p> Ticket Richard Webb <richard.webb@…> Sun, 09 Dec 2007 16:08:22 GMT <link>https://svn.boost.org/trac10/ticket/1500#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1500#comment:1</guid> <description> <p> Patch to silence various warnings attached. </p> <p> On a similar note, including both bind and phoenix headers results in a number C6244 warnings: </p> <pre class="wiki">boost\spirit\phoenix\operators.hpp(1031) : warning C6244: Local declaration of '_1' hides previous declaration at line '42' of 'e:\development\boostsvn\boost\bind\placeholders.hpp' boost\spirit\phoenix\composite.hpp(1378) : warning C6244: Local declaration of '_1' hides previous declaration at line '42' of 'e:\development\boostsvn\boost\bind\placeholders.hpp' boost\spirit\phoenix\operators.hpp(1023) : warning C6244: Local declaration of '_1' hides previous declaration at line '42' of 'e:\development\boostsvn\boost\bind\placeholders.hpp' </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>Joel de Guzman</dc:creator> <pubDate>Mon, 08 Jun 2009 02:49:38 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/1500#comment:2 https://svn.boost.org/trac10/ticket/1500#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> Ticket