[Insight-users] Warnings from CVS compile

Demian M. Nave Demian Nave <dnave at psc . edu>
Fri, 6 Jun 2003 15:08:30 -0400 (EDT)


Hi,

I am compiling with Compaq CXX 6.4 on a Linux Alpha box, and I've got the 
following warnings which may be of concern:


cxx: Warning: /vhvol/dnave/ITK/Insight/Utilities/vxl/vnl/vnl_vector_fixed.h,
lin
e 122: 
          subscript out of range
          detected during instantiation of "vnl_vector_fixed<T,
                    n>::vnl_vector_fixed(const T &, const T &, const T &)
                    [with T=double, n=2U]" at line 3 of
                    "/vhvol/dnave/ITK/Insight/Utilities/vxl/vnl/Templates/vnl_v
                    ector_fixed+double.2-.cxx"
    data_[0] = x0; data_[1] = x1; data_[2] = x2;
----------------------------------^


cxx: Warning: /vhvol/dnave/ITK/Insight/Utilities/vxl/vnl/algo/vnl_amoeba.h,
line
 45: 
          variable "a.num_evaluations_" declared at line 415 of
          "/vhvol/dnave/ITK/Insight/Utilities/vxl/vnl/algo/vnl_amoeba.cxx" is
          fetched, not initialized
class vnl_amoeba
------^


I haven't verified if these warnings are due to cxx or due to the code, but
I thought I'd pass them along.

Cheers,
Demian

-- 
 Demian M. Nave              | dnave at psc . edu        | Ph 412 268-4574
 Pgh. Supercomputing Center  | www.psc.edu/~dnave   | Fx 412 268-8200
 4400 Fifth Avenue           | "There are no problems; there are only
 Pittsburgh, PA 15213        |  opportunities."