Boost C++ Libraries: Ticket #9566: program_options parsers.cpp does not compile: template-related error https://svn.boost.org/trac10/ticket/9566 <p> When compiling program_options/src/parsers.cpp for sun/release/stdlib-sun-stlport/threading-multi Sun Studio 11 C++ 5.8, the compiler issues the following errors: </p> <blockquote> <p> "libs/program_options/src/parsers.cpp", line 162: Error: Could not find a match for boost::program_options::parse_config_file&lt;boost::program_options::charT&gt;(const char*, const boost::program_options::options_description&amp;, bool). "libs/program_options/src/parsers.cpp", line 169: Error: Could not find a match for boost::program_options::parse_config_file&lt;boost::program_options::charT&gt;(const char*, const boost::program_options::options_description&amp;, bool). </p> </blockquote> <p> The attached patch solves the problem by expliciting the template parameter for parse_config_file. I guess this is a bug in the compiler rather than in boost, but it seems to me that the suggested patch is still correct C++. Since this is the only issue that would inhibit use of program_options on my platform, for me it would be very useful to integrate the patch into the library. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9566 Trac 1.4.3 rv1971 <rv1971@…> Mon, 13 Jan 2014 10:45:56 GMT attachment set https://svn.boost.org/trac10/ticket/9566 https://svn.boost.org/trac10/ticket/9566 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">patch.txt</span> </li> </ul> <p> Patch for parsers.cpp </p> Ticket