Julian,
I commented out lines 100-105 in vector.h and the copy constructor
warnings went away, but it still gives the rest of the warnings as
follows:
C:\Blitz\blitz\memblock.h(80) :
warning C4267: 'argument' : conversion from 'size_t' to 'int', possible
loss of data
C:\Blitz\blitz\memblock.h(77)
: while compiling class-template member function
'blitz::MemoryBlock<P_type>::MemoryBlock(size_t)'
with
[
P_type=blitz::MemoryBlockReference<double>::T_type
]
C:\Blitz\blitz\memblock.h(211)
: see reference to class template instantiation
'blitz::MemoryBlock<P_type>' being compiled
with
[
P_type=blitz::MemoryBlockReference<double>::T_type
]
C:\Blitz\blitz\memblock.h(235)
: see reference to class template instantiation
'blitz::NullMemoryBlock<P_type>' being compiled
with
[
P_type=blitz::MemoryBlockReference<double>::T_type
]
C:\Blitz\blitz\array-impl.h(113) : see reference to class template
instantiation 'blitz::MemoryBlockReference<P_type>' being
compiled
with
[
P_type=double
]
d:\Sindaworks\Code\SWBaseObjects\SWYsmpSolver.h(46) : see reference to
class template instantiation 'blitz::Array<P_numtype,N_rank>' being
compiled
with
[
P_numtype=double,
N_rank=2
]
I see the following reports in the lists with no followups.
I don't understand how I would know if these were fixed or not. And which
changes were important for them.
- To: blitz-bugs@oonumerics.org
- Subject: [Blitz-bugs] Bug with range-assignments in
Fortran-style arrays, if optimizing
- From: Christopher Eltschka
<christopher.eltschka@physik.uni-regensburg.de>
- Date: Thu, 07 Aug 2003 21:15:57 +0200
- Organization: Physik
- To: blitz-bugs@oonumerics.org
- Subject: [Blitz-bugs] Ouch! (-O causes blitz 0.7 bug?)
- From: Creon Levit <creon@nas.nasa.gov>
- Date: Tue, 2 Dec 2003 19:29:39 -0800
I have liked the package so far in my usage. Much better than the other
libraries out there. I'm just struggling to figure out how all the
sources are kept current, and how to figure out where I need to look for
fixes. Seems there a lot of source files that have changed since the big
zip file was created. I haven't figured out if it is important to get any
of the modified files or not.
Thanks,
Dave
At 12:21 PM 1/20/2004, you wrote:
Hi Dave,
David Johnson wrote:
Hi,
I'm finding that I am still getting the multiple copy constructors
warning. I find that if I change the arrayresize program in
testsuite to use double variables instead of int variables in line 33
where it declares the fortran array, I also get multiple copy constructor
warnings. This really looks like a bug in Blitz to me, but maybe I'm
missing something still. ( I did as Vincent suggested and found my other
errors! Thanks Vincent). Is this an issue that someone will look
at?
I think I see why the compiler is complaining here. There are two
copy constructors defined in <blitz/vector.h> for the class
template Vector (for const and non-const reference arg), when really only
one is required. If we just eliminate the version with the
non-const argument, the warnings should go away. Try removing or
commenting out lines 100-105 in <blitz/vector.h>, and let me know
if this resolves the problem.
I'm also concerned about the reported problems with optimization with
FORTRAN arrays. Is this a problem that is being addressed? Can anyone
tell me what kind of support these issues normally
get?
Could you please elaborate here? What problems are you referring
to?
When bugs are fixed, is it normal to have to scan the respository and
find the individual files that have been modified and download those? Or
is the whole package updated so we can just reinstall
everything?
Yes and no. I check into cvs bug fixes as issues are reported and
resolved. I also periodically generate a new tarball if there are
lots of bug fixes since the previous release or I have done some
significant code modifications. The schedule is irregular, as I
have the spare time to work on this or as volunteers offer to help
me.
Regards, Julian C.
--
Dr. Julian C.
Cummings
E-mail: cummings@cacr.caltech.edu
California Institute of
Technology
Phone: 626-395-2543
1200 E. California Blvd., Mail Code 158-79
Fax: 626-584-5917
Pasadena, CA 91125
_______________________________________________
Blitz-support mailing list
Blitz-support@oonumerics.org
http://www.oonumerics.org/mailman/listinfo.cgi/blitz-support
David Johnson
Cullimore and Ring Tech., Inc.
Voice: 303-471-9622
Fax: 303-971-0035
dave@crtech.com
http://www.crtech.com
Hot engineering ....
Cool software (tm)
.........................................................................