Boost C++ Libraries: Ticket #5402: bind.hpp generates declared but never referenced warnings for placeholders with armcc https://svn.boost.org/trac10/ticket/5402 <p> generates spurious variable defined but never referenced under armcc (check for <span class="underline">ARMCC_VERSION) </span></p> <p> "../../boost/bind/placeholders.hpp", line 55: Warning: <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/177" title="#177: Support Requests: Boost for Visual C++ 7.1 (closed: None)">#177</a>-D: variable "&lt;unnamed&gt;::_1" was declared but never referenced </p> <blockquote> <p> boost::arg&lt;1&gt; _1; </p> <blockquote> <p> <sup> </sup></p> </blockquote> </blockquote> <p> "../../boost/bind/placeholders.hpp", line 56: Warning: <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/177" title="#177: Support Requests: Boost for Visual C++ 7.1 (closed: None)">#177</a>-D: variable "&lt;unnamed&gt;::_2" was declared but never referenced </p> <blockquote> <p> boost::arg&lt;2&gt; _2; </p> <blockquote> <p> <sup> </sup></p> </blockquote> </blockquote> <p> "../../boost/bind/placeholders.hpp", line 57: Warning: <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/177" title="#177: Support Requests: Boost for Visual C++ 7.1 (closed: None)">#177</a>-D: variable "&lt;unnamed&gt;::_3" was declared but never referenced </p> <blockquote> <p> boost::arg&lt;3&gt; _3; </p> <blockquote> <p> <sup> </sup></p> </blockquote> </blockquote> <p> "../../boost/bind/placeholders.hpp", line 58: Warning: <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/177" title="#177: Support Requests: Boost for Visual C++ 7.1 (closed: None)">#177</a>-D: variable "&lt;unnamed&gt;::_4" was declared but never referenced </p> <blockquote> <p> boost::arg&lt;4&gt; _4; </p> <blockquote> <p> <sup> </sup></p> </blockquote> </blockquote> <p> "../../boost/bind/placeholders.hpp", line 59: Warning: <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/177" title="#177: Support Requests: Boost for Visual C++ 7.1 (closed: None)">#177</a>-D: variable "&lt;unnamed&gt;::_5" was declared but never referenced </p> <blockquote> <p> boost::arg&lt;5&gt; _5; </p> <blockquote> <p> <sup> </sup></p> </blockquote> </blockquote> <p> "../../boost/bind/placeholders.hpp", line 60: Warning: <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/177" title="#177: Support Requests: Boost for Visual C++ 7.1 (closed: None)">#177</a>-D: variable "&lt;unnamed&gt;::_6" was declared but never referenced </p> <blockquote> <p> boost::arg&lt;6&gt; _6; </p> <blockquote> <p> <sup> </sup></p> </blockquote> </blockquote> <p> "../../boost/bind/placeholders.hpp", line 61: Warning: <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/177" title="#177: Support Requests: Boost for Visual C++ 7.1 (closed: None)">#177</a>-D: variable "&lt;unnamed&gt;::_7" was declared but never referenced </p> <blockquote> <p> boost::arg&lt;7&gt; _7; </p> <blockquote> <p> <sup> </sup></p> </blockquote> </blockquote> <p> "../../boost/bind/placeholders.hpp", line 62: Warning: <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/177" title="#177: Support Requests: Boost for Visual C++ 7.1 (closed: None)">#177</a>-D: variable "&lt;unnamed&gt;::_8" was declared but never referenced </p> <blockquote> <p> boost::arg&lt;8&gt; _8; </p> <blockquote> <p> <sup> </sup></p> </blockquote> </blockquote> <p> "../../boost/bind/placeholders.hpp", line 63: Warning: <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/177" title="#177: Support Requests: Boost for Visual C++ 7.1 (closed: None)">#177</a>-D: variable "&lt;unnamed&gt;::_9" was declared but never referenced </p> <blockquote> <p> boost::arg&lt;9&gt; _9; </p> <blockquote> <p> <sup> </sup></p> </blockquote> </blockquote> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5402 Trac 1.4.3 Steven Watanabe Tue, 05 Apr 2011 22:33:28 GMT <link>https://svn.boost.org/trac10/ticket/5402#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5402#comment:1</guid> <description> <p> Looks to me like the compiler is using the EDG front end? I'm not sure that that there's a good way to avoid this warning. </p> </description> <category>Ticket</category> </item> </channel> </rss>