|
Boost : |
From: Beman Dawes (beman_at_[hidden])
Date: 2000-10-12 16:20:23
I've installed Metrowerks 6.0 and run the regression test. A couple of
previous failures now work OK.
It found a missing "typename" in call_traits_test.cpp, which I've fixed in
CVS, so that now works.
That leaves failures in random_test.cpp and compressed_pair_test.cpp - see
below.
--Beman
***** random/random_test.cpp *****
Metrowerks CodeWarrior
mwcc -maxerrors 10 -cwd source -I- -Ic:/boost/site
c:/boost/site/libs/random/random_test.cpp
### mwcc Compiler:
# In: ..\site\boost\random.hpp
# From: ..\site\libs\random\random_test.cpp
# --------------------------------------------
# 147: return (a*x+c) % m;
# Warning: ^
# division by 0
# (instantiating: 'boost::random::const_mod<unsigned long,
# 0>::mult_add(unsigned long, unsigned long, unsigned long)')
### mwcc Compiler:
# File: ..\site\libs\random\random_test.cpp
# --------------------------------------------
# 177: rand48 rnd(5);
# Error: ^
# ambiguous access to overloaded function
# 'boost::rand48::rand48(unsigned long long)'
# 'boost::rand48::rand48(long)'
### mwcc Compiler:
# 179: rnd.seed(17);
# Error: ^
# ambiguous access to overloaded function
# 'boost::rand48::seed(unsigned long long)'
# 'boost::rand48::seed(long)'
Errors caused tool to abort.
return status: 1
***** utility/compressed_pair_test.cpp *****
Metrowerks CodeWarrior
mwcc -maxerrors 10 -cwd source -I- -Ic:/boost/site
c:/boost/site/libs/utility/compressed_pair_test.cpp
### mwcc Compiler:
# File: ..\site\libs\utility\compressed_pair_test.cpp
# ------------------------------------------------------
# 134: template double& compressed_pair<double, int&>::first();
# Error: ^
# illegal explicit template instantiation
### mwcc Compiler:
# 135: template int& compressed_pair<double, int&>::second();
# Error: ^
# illegal explicit template instantiation
### mwcc Compiler:
# 136: template compressed_pair<double, int&>::compressed_pair(int&);
# Error: ^^^^^^^^^^^^^^^
# declaration syntax error
### mwcc Compiler:
# 137: template compressed_pair<double,
int&>::compressed_pair(call_traits<double>::param_type,int&);
# Error: ^^^^^^^^^^^^^^^
# declaration syntax error
Errors caused tool to abort.
return status: 1
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk