Boost C++ Libraries: Ticket #2690: array.hpp line 289 missing parameter https://svn.boost.org/trac10/ticket/2690 <p> I down loaded and installed boost 1.37.0 yesterday on our system with SPARC processor, running Solaris 10. When building I kept getting the following errors: "./boost/array.hpp", line 75: Error: Too few arguments for template std::reverse_iterator&lt;boost::T* "./boost/array.hpp", line 289: Where: While specializing "boost::array&lt;boost::T, boost::N&gt;" "./boost/array.hpp", line 289: Where: Specialized in non-template code. </p> <p> When looking at line 289, it reads: </p> <blockquote> <p> return std::equal(x.begin(), x.end(), y.begin()); </p> </blockquote> <p> I think it should read: </p> <blockquote> <p> return std::equal(x.begin(), x.end(), y.begin(), y.end()); </p> </blockquote> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2690 Trac 1.4.3 monte.jones.ctr@… Wed, 28 Jan 2009 16:51:07 GMT <link>https://svn.boost.org/trac10/ticket/2690#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2690#comment:1</guid> <description> <p> Replying to <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2690" title="#2690: Bugs: array.hpp line 289 missing parameter (closed: invalid)">anonymous</a>: Questions can be sent to the above email or I can be reached at 719-556-9903. </p> <blockquote class="citation"> <p> I down loaded and installed boost 1.37.0 yesterday on our system with SPARC processor, running Solaris 10. When building I kept getting the following errors: "./boost/array.hpp", line 75: Error: Too few arguments for template std::reverse_iterator&lt;boost::T* "./boost/array.hpp", line 289: Where: While specializing "boost::array&lt;boost::T, boost::N&gt;" "./boost/array.hpp", line 289: Where: Specialized in non-template code. </p> <p> When looking at line 289, it reads: </p> <blockquote> <p> return std::equal(x.begin(), x.end(), y.begin()); </p> </blockquote> <p> I think it should read: </p> <blockquote> <p> return std::equal(x.begin(), x.end(), y.begin(), y.end()); </p> </blockquote> </blockquote> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Thu, 29 Jan 2009 19:26:46 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/2690#comment:2 https://svn.boost.org/trac10/ticket/2690#comment:2 <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">invalid</span> </li> </ul> <p> std::equal takes three arguments, so the boost::array code is correct. </p> <p> The actual problem is that that std::reverse_iterator which is used to define boost::array&lt;&gt;::reverse_iterator does not conform to the standard. </p> <p> In order to use Boost with sun, you must use stlport (-library=stlport4). </p> Ticket anonymous Fri, 30 Jan 2009 18:10:08 GMT status changed; resolution deleted https://svn.boost.org/trac10/ticket/2690#comment:3 https://svn.boost.org/trac10/ticket/2690#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">invalid</span> </li> </ul> <p> May be I should have been more specific, this problem occurs when building the boost libraries. It keeps over 200 libraries from building, and some of them are ones I need. The solution provided when marked invalid is a compile time solution for Sun Studio 12, not an initial boost build solution. </p> Ticket Steven Watanabe Fri, 30 Jan 2009 23:58:01 GMT <link>https://svn.boost.org/trac10/ticket/2690#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2690#comment:4</guid> <description> <p> To build boost you need to add stdlib=sun-stlport to the bjam command line. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Mon, 02 Feb 2009 14:20:06 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/2690#comment:5 https://svn.boost.org/trac10/ticket/2690#comment:5 <ul> <li><strong>status</strong> <span class="trac-field-old">reopened</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">invalid</span> </li> </ul> <p> Thank you Steve. I now have Boost 1.37.0 built and working on our sun system. I would suggest adding this information to the documentation provided on line. </p> Ticket