Boost C++ Libraries: Ticket #11574: program_options: wrong option name in error message on linux https://svn.boost.org/trac10/ticket/11574 <p> To reproduce (bug occurs only on Linux): </p> <ul><li>compile the attached code sample </li><li>call the executable as follows <pre class="wiki">./wrong_option_name_in_error_message --enable-debug --enable-debug </pre></li></ul><p> <strong>OK</strong>: On Windows (Visual Studio 12 2013) the option name '--enable-debug' is contained as expected in the error message: </p> <pre class="wiki">option '--enable-debug' cannot be specified more than once </pre><p> <strong>BUG</strong>: On Linux (gcc 4.7.2) only the last part of the option name '--enable-debug' (=&gt; '--debug') is contained in the error message: </p> <pre class="wiki">option '--debug' cannot be specified more than once </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11574 Trac 1.4.3 Michael Bachmann <bachmann@…> Mon, 24 Aug 2015 14:16:34 GMT attachment set https://svn.boost.org/trac10/ticket/11574 https://svn.boost.org/trac10/ticket/11574 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">wrong_option_name_in_error_message.cpp</span> </li> </ul> <p> code example for reproducing the bug </p> Ticket Michael Bachmann <bachmann@…> Tue, 25 Aug 2015 14:41:54 GMT version changed https://svn.boost.org/trac10/ticket/11574#comment:1 https://svn.boost.org/trac10/ticket/11574#comment:1 <ul> <li><strong>version</strong> <span class="trac-field-old">Boost 1.57.0</span> → <span class="trac-field-new">Boost 1.55.0</span> </li> </ul> Ticket Michael Bachmann <bachmann@…> Tue, 25 Aug 2015 14:49:19 GMT <link>https://svn.boost.org/trac10/ticket/11574#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11574#comment:2</guid> <description> <p> @Vladimir: Please close this Ticket. </p> <p> The issue occurs with boost 1.55 and has been resolved in a later version of boost (tested with boost 1.57). </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Vladimir Prus</dc:creator> <pubDate>Tue, 25 Aug 2015 15:48:08 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/11574#comment:3 https://svn.boost.org/trac10/ticket/11574#comment:3 <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> Michael, </p> <p> thanks for reminder, closing. </p> Ticket