Boost logo

Boost :

From: SourceForge.net (noreply_at_[hidden])
Date: 2004-02-27 20:01:34


Bugs item #906289, was opened at 2004-02-28 03:01
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=906289&group_id=7586

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Valentin Lavrinenko (vlavrinenko)
Assigned to: Nobody/Anonymous (nobody)
Summary: uBLAS on Borland C++ 5.5.1 - 9 compile errors

Initial Comment:
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.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=906289&group_id=7586

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Boost-bugs mailing list
Boost-bugs_at_[hidden]
https://lists.sourceforge.net/lists/listinfo/boost-bugs


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk