Boost C++ Libraries: Ticket #11920: MSVC warning C4505 when po::bool_switch(&flag) is being used https://svn.boost.org/trac10/ticket/11920 <p> When compiling a parameter definition like </p> <pre class="wiki">("wmi,w", po::bool_switch(&amp;_generateWmi), "Generate Wmi performance counters") </pre><p> with warning level 4, the follwing warnings are issued in program_options\detail\value_semantic.hpp: </p> <pre class="wiki">boost_1_60_0\boost\program_options\detail\value_semantic.hpp(17): warning C4505: 'boost::program_options::typed_value&lt;bool,char&gt;::name': unreferenced local function has been removed boost_1_60_0\boost\program_options\detail\value_semantic.hpp(158): warning C4505: 'boost::program_options::typed_value&lt;bool,char&gt;::xparse': unreferenced local function has been removed boost\program_options\detail\value_semantic.hpp(35): warning C4505: 'boost::program_options::typed_value&lt;bool,char&gt;::notify': unreferenced local function has been removed </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11920 Trac 1.4.3 matt.rixman@… Wed, 27 Jul 2016 04:12:01 GMT <link>https://svn.boost.org/trac10/ticket/11920#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11920#comment:1</guid> <description> <p> Can confirm </p> </description> <category>Ticket</category> </item> </channel> </rss>