Boost C++ Libraries: Ticket #239: uBLAS on Borland C++ 5.5.1 - 9 compile errors https://svn.boost.org/trac10/ticket/239 <pre class="wiki">Compiling the test program provided in boost_1_31_0/libs/numeric/ublas/doc/matrix.htm with bcc32 5.5.1 gives the following output: Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland test.cpp: Error E2479 c:\bcc55\include\algorith.h 97: Cannot have both a template class and function named 'find' Error E2479 c:\bcc55\include\algorith.cc 71: Cannot have both a template class and function named 'find' Error E2479 c:\bcc55\include\complex.h 1158: Cannot have both a template class and function named 'arg' Error E2401 C: \BCC55\boost\include\boost-1_31\boost/numeric/ublas/tr aits.hpp 1011: Invalid template argument list Error E2040 C: \BCC55\boost\include\boost-1_31\boost/numeric/ublas/tr aits.hpp 1012: Declaration terminated incorrectly Error E2479 C: \BCC55\boost\include\boost-1_31\boost/numeric/ublas/ra w.hpp 25: Cannot have both a template class and function named 'size' Error E2479 C: \BCC55\boost\include\boost-1_31\boost/numeric/ublas/ra w.hpp 29: Cannot have both a template class and function named 'size' Error E2479 C: \BCC55\boost\include\boost-1_31\boost/numeric/ublas/ra w.hpp 428: Cannot have both a template class and function named 'size' Error E2479 C: \BCC55\boost\include\boost-1_31\boost/numeric/ublas/ra w.hpp 434: Cannot have both a template class and function named 'size' I've managed it by making some changes in the .hpp files (changed files are attached here in a zip archive, the lines I've added are marked with //LVU). And now the matrix test programs run perfectly. Unfortunately, I've failed to build regression test suite and cannot tell the test results. </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/239 Trac 1.4.3 mistevens Sat, 28 Feb 2004 19:19:41 GMT <link>https://svn.boost.org/trac10/ticket/239#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/239#comment:1</guid> <description> <pre class="wiki">Logged In: YES user_id=556024 uBLAS development was working on the assumption that BCC is sufficiently broken as to be a hopeless cause. Would it be possible to resubmit to ublas-dev (on SF). Of course a working patch against the ublas-dev CVS would be helpful. Thanks </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>mistevens</dc:creator> <pubDate>Tue, 17 Aug 2004 14:06:33 GMT</pubDate> <title>status changed https://svn.boost.org/trac10/ticket/239#comment:2 https://svn.boost.org/trac10/ticket/239#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> </ul> <pre class="wiki">Logged In: YES user_id=556024 Without further feedback from compiler owners uBLAS support for BCC has been dropped. </pre> Ticket