Boost C++ Libraries: Ticket #3232: boost::program_options fails to compile on AIX https://svn.boost.org/trac10/ticket/3232 <p> common.mkdir bin.v2/libs/program_options/build/vacpp common.mkdir bin.v2/libs/program_options/build/vacpp/release common.mkdir bin.v2/libs/program_options/build/vacpp/release/link-static common.mkdir bin.v2/libs/program_options/build/vacpp/release/link-static/threading-multi vacpp.compile.c++ bin.v2/libs/program_options/build/vacpp/release/link-static/threading-multi/cmdline.o </p> <blockquote> <p> 1500-029: (W) WARNING: subprogram std::vector&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt;,std::allocator&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt; &gt;::_Construct&lt;const char * const *&gt;(const char * const *, const char * const *, input_iterator_tag) could not be inlined into boost::program_options::detail::cmdline::cmdline(int, const char * const *). </p> </blockquote> <p> vacpp.compile.c++ bin.v2/libs/program_options/build/vacpp/release/link-static/threading-multi/config_file.o vacpp.compile.c++ bin.v2/libs/program_options/build/vacpp/release/link-static/threading-multi/options_description.o </p> <blockquote> <p> 1500-029: (W) WARNING: subprogram std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt;::_Assign&lt;std::_Ptrit&lt;char,long,const char *,const char &amp;,char *,char &amp;&gt; &gt;(_Ptrit&lt;char,long,const char *,const char &amp;,char *,char &amp;&gt;, _Ptrit&lt;char,long,const char *,const char &amp;,char *,char &amp;&gt;, input_iterator_tag) could not be inlined into boost::char_separator&lt;char,std::char_traits&lt;char&gt; &gt;::operator() &lt;std::_Ptrit&lt;char,long,const char *,const char &amp;,char *,char &amp;&gt;,std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt;(_Ptrit&lt;char,long,const char *,const char &amp;,char *,char &amp;&gt; &amp;, _Ptrit&lt;char,long,const char *,const char &amp;,char *,char &amp;&gt;, basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &amp;). 1500-029: (W) WARNING: subprogram std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt;::_Assign&lt;std::_Ptrit&lt;char,long,const char *,const char &amp;,char *,char &amp;&gt; &gt;(_Ptrit&lt;char,long,const char *,const char &amp;,char *,char &amp;&gt;, _Ptrit&lt;char,long,const char *,const char &amp;,char *,char &amp;&gt;, input_iterator_tag) could not be inlined into boost::char_separator&lt;char,std::char_traits&lt;char&gt; &gt;::operator() &lt;std::_Ptrit&lt;char,long,const char *,const char &amp;,char *,char &amp;&gt;,std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt;(_Ptrit&lt;char,long,const char *,const char &amp;,char *,char &amp;&gt; &amp;, _Ptrit&lt;char,long,const char *,const char &amp;,char *,char &amp;&gt;, basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &amp;). </p> </blockquote> <p> vacpp.compile.c++ bin.v2/libs/program_options/build/vacpp/release/link-static/threading-multi/parsers.o "./boost/function/function_template.hpp", line 564.9: 1540-1118 (S) The declaration of "assign_functor&lt;boost::program_options::&lt;unnamed&gt;::prefix_name_mapper&gt;" uses the undefined class "boost::program_options::&lt;unnamed&gt;::prefix_name_mapper" when the class must be complete. "./boost/function/function_template.hpp", line 564.9: 1540-0700 (I) The previous message was produced while processing "boost::detail::function::basic_vtable1&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt;,std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt;::assign_functor&lt;boost::program_options::&lt;unnamed&gt;::prefix_name_mapper&gt;(prefix_name_mapper, function_buffer &amp;, true_)". "./boost/function/function_template.hpp", line 476.15: 1540-0700 (I) The previous message was produced while processing "struct boost::detail::function::basic_vtable1&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt;,std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt;". "./boost/function/function_template.hpp", line 1010.5: 1540-0700 (I) The previous message was produced while processing "boost::function1&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt;,std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt;::operator()(std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt;) const". "libs/program_options/src/parsers.cpp", line 160.45: 1540-0700 (I) The previous message was produced while processing "boost::program_options::parse_environment(const options_description &amp;, const function1&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt;,std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt; &amp;)". </p> <blockquote> <p> xlC_r -c -DBOOST_ALL_NO_LIB=1 -DNDEBUG -qcpluscmt -O3 -qstrict -qfuncsect -qeh -qrtti -I"." -o "bin.v2/libs/program_options/build/vacpp/release/link-static/threading-multi/parsers.o" "libs/program_options/src/parsers.cpp" </p> </blockquote> <p> ...failed vacpp.compile.c++ bin.v2/libs/program_options/build/vacpp/release/link-static/threading-multi/parsers.o... vacpp.compile.c++ bin.v2/libs/program_options/build/vacpp/release/link-static/threading-multi/variables_map.o vacpp.compile.c++ bin.v2/libs/program_options/build/vacpp/release/link-static/threading-multi/value_semantic.o </p> <blockquote> <p> 1500-029: (W) WARNING: subprogram std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt;::_Assign&lt;char *&gt;(char *, char *, input_iterator_tag) could not be inlined into boost::detail::lexical_cast&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt;,bool,0,char&gt;(param_type, char *, size_t). </p> </blockquote> <p> I am using version V7.0 of the xlC_r visual age c++ compiler. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3232 Trac 1.4.3 Frank Meerkötter <frank@…> Mon, 29 Jun 2009 11:15:42 GMT <link>https://svn.boost.org/trac10/ticket/3232#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3232#comment:1</guid> <description> <blockquote> <p> The boost version used is the boost-trunk of today svn info Path: . URL: <a class="ext-link" href="http://svn.boost.org/svn/boost/trunk"><span class="icon">​</span>http://svn.boost.org/svn/boost/trunk</a> Repository Root: <a class="ext-link" href="http://svn.boost.org/svn/boost"><span class="icon">​</span>http://svn.boost.org/svn/boost</a> Repository UUID: b8fc166d-592f-0410-95f2-cb63ce0dd405 Revision: 54497 Node Kind: directory Schedule: normal Last Changed Author: rogeeff Last Changed Rev: 54495 Last Changed Date: 2009-06-29 05:44:38 +0200 (Mon, 29 Jun 2009) </p> </blockquote> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Mon, 29 Jun 2009 15:12:18 GMT</pubDate> <title>component changed; owner set https://svn.boost.org/trac10/ticket/3232#comment:2 https://svn.boost.org/trac10/ticket/3232#comment:2 <ul> <li><strong>owner</strong> set to <span class="trac-author">Vladimir Prus</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">program_options</span> </li> </ul> Ticket Vladimir Prus Tue, 25 Aug 2009 06:39:02 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3232#comment:3 https://svn.boost.org/trac10/ticket/3232#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> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/55773" title="Avoid unnamed namespace, to please vacpp. Closes #3232. ">[55773]</a>) Avoid unnamed namespace, to please vacpp. </p> <p> Closes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3232" title="#3232: Bugs: boost::program_options fails to compile on AIX (closed: fixed)">#3232</a>. </p> Ticket