![]() |
Blitz Bugs : |
From: sprs (sprs_at_[hidden])
Date: 2002-12-25 16:45:54
Hi,
Could you tell me why I got arrayresize failure (below) for blitz-0.5beta3
(and blitz-0.6 also) being built with gcc-3.2 (and gcc-3.2.1 also) on
Ultra-60, SunOS 5.8.
But the same arrayresize testcase being built with gcc-2.95.3, or SunMicro C++
compilers runs ok.
Is it gcc's bug or wrong test case?
Here are some details from *.log file:
1. arrayresize run-time failure which stops blitz build
--------------------------------------------------------
Running test suite...
...........
arrayresize
Segmentation Fault
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory
`/home2/sprs/apps/apps_collect/blitz-0.5beta3/testsuite'
gmake: *** [all] Error 1
blitz-0.5beta3 FAILED in make
2. How arrayresize binary was built (before execution failure)
-------------------------------------------------------
/usr/local/bin/g++ -I.. -O -ftemplate-depth-64 -c ./arrayresize.cpp In file
included from /usr/local/include/c++/3.2.1/backward/strstream:51,
from ../blitz/array/fastiter.h:38,
from ../blitz/array.h:2459,
from arrayresize.cpp:2:
/usr/local/include/c++/3.2.1/backward/backward_warning.h:32:2: warning:
#warning This file includes at least one deprecated or antiquated header.
Please consider using one of the 32 headers found in section 17.4.1.2 of the
C++ standard. Examples include substituting the <X> header for the <X.h>
header for C++ includes, or <sstream> instead of the deprecated header
<strstream.h>. To disable this warning use -Wno-deprecated.
In file included from ../blitz/array.h:2464,
from arrayresize.cpp:2:
./blitz/array/io.cc: In function `std::ostream&
blitz::operator<<(std::ostream&, const blitz::Array<P_numtype, N_rank>&)':
./blitz/array/io.cc:60: warning: `typename blitz::Array<T, N>::const_iterator'
is implicitly a typename
./blitz/array/io.cc:60: warning: implicit typename is deprecated, please see
the documentation for details
./blitz/array/io.cc:60: warning: `typename blitz::Array<T, N>::const_iterator'
is implicitly a typename
./blitz/array/io.cc:60: warning: implicit typename is deprecated, please see
the documentation for details
./blitz/array/io.cc: In function `std::istream&
blitz::operator>>(std::istream&, blitz::Array<P_numtype, N_rank>&)':
./blitz/array/io.cc:110: warning: `typename blitz::Array<T, N>::iterator' is
implicitly a typename
./blitz/array/io.cc:110: warning: implicit typename is deprecated, please see
the documentation for details
./blitz/array/io.cc:110: warning: `typename blitz::Array<T, N>::iterator' is
implicitly a typename
./blitz/array/io.cc:110: warning: implicit typename is deprecated, please see
the documentation for details
/usr/local/bin/g++ arrayresize.o -o arrayresize -L../lib -lblitz -lm
Thanks,
Stan Sprogis