Boost C++ Libraries: Ticket #2482: msvc-9.0 unreferenced formal parameter warning when using boost::breadth_first_visit https://svn.boost.org/trac10/ticket/2482 <p> Boost. 1.37.0 (maybe earlier) and Boost.Trunk trigger msvc " warning C4100: 'b' : unreferenced formal parameter" in concept_check.hpp(144) and in concept/detail/msvc.hpp(21) : warning C4100: 'x' : unreferenced formal parameter. </p> <p> Full obfuscated template instation stack attached. </p> <p> I've attached our patch against 1.37.0, a patch against current trunk for msvc.hpp and a patch showing that trunk and release version of boost/concept_check.hpp are different. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2482 Trac 1.4.3 Jürgen Hunold Thu, 06 Nov 2008 21:37:07 GMT attachment set https://svn.boost.org/trac10/ticket/2482 https://svn.boost.org/trac10/ticket/2482 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">concept_check_error.txt</span> </li> </ul> <p> msvc error messages </p> Ticket Jürgen Hunold Thu, 06 Nov 2008 21:38:10 GMT attachment set https://svn.boost.org/trac10/ticket/2482 https://svn.boost.org/trac10/ticket/2482 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">msvc_concept_detail.diff</span> </li> </ul> <p> patch against trunk </p> Ticket Jürgen Hunold Thu, 06 Nov 2008 21:39:53 GMT attachment set https://svn.boost.org/trac10/ticket/2482 https://svn.boost.org/trac10/ticket/2482 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">msvc_concept_warnings.diff</span> </li> </ul> <p> patch against 1.37.0 </p> Ticket Jürgen Hunold Thu, 06 Nov 2008 21:40:40 GMT attachment set https://svn.boost.org/trac10/ticket/2482 https://svn.boost.org/trac10/ticket/2482 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">concept_check.diff</span> </li> </ul> <p> Delta between trunk and release branch </p> Ticket Alexis Armin Huf <alexishuf@…> Mon, 18 Feb 2013 13:54:03 GMT attachment set https://svn.boost.org/trac10/ticket/2482 https://svn.boost.org/trac10/ticket/2482 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost_concepts_check_unused_var_buildlog.txt</span> </li> </ul> <p> Build log under msvc 2010 </p> Ticket Alexis Armin Huf <alexishuf@…> Mon, 18 Feb 2013 14:04:10 GMT <link>https://svn.boost.org/trac10/ticket/2482#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2482#comment:1</guid> <description> <p> I foud the same error under msvc 2010 with boost 1.53.0 while using boost::breadth_first_search. </p> <p> After some looking arround i could get the attached log with just </p> <pre class="wiki">BOOST_CONCEPT_ASSERT((boost::SignedInteger&lt;int&gt;)) </pre><p> The warning appears even with /Od and no fiddling with compiler options that i tried made the problem go away. </p> </description> <category>Ticket</category> </item> <item> <author>zadirion@…</author> <pubDate>Wed, 13 Mar 2013 14:39:16 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/2482#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2482#comment:2</guid> <description> <p> I am also having this issue. Unreferenced parameter x on line 22 in msvc.hpp. What can be done to avoid this???? </p> </description> <category>Ticket</category> </item> <item> <author>Chromatix <mhazadmanesh2009@…></author> <pubDate>Wed, 21 May 2014 10:22:34 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/2482#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2482#comment:3</guid> <description> <p> Boost 1_54_0 and the warnings are still there on MSVC 2010. The patches posted by jhunold simply fix this. Could the developers please apply the patches? </p> </description> <category>Ticket</category> </item> </channel> </rss>