octave-patch-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-patch-tracker] [patch #8567] Remove unnecessary build warnings i


From: Rik
Subject: [Octave-patch-tracker] [patch #8567] Remove unnecessary build warnings in Faddeeva.cc.
Date: Mon, 10 Nov 2014 22:40:18 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0

Update of patch #8567 (project octave):

                  Status:                    None => Done                   
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

I modified the commit message to mention the function within the file which
was modified.  The new message is:


Faddeeva.cc: Fix compilation warnings.

Faddeeva.cc (FADDEEVA(Dawson)): Avoid shadowing variable 'x2'.
Faddeeva.cc (erfcx_y100): Replace old-style cast operator with C++
static_cast.
Faddeeva.cc (w_im_y100): Replace old-style cast operator with C++
static_cast.


Otherwise, it looked good and I committed it to the default branch.

Do you see an easy solution for these remaining warnings?


corefcn/kron.cc:141:43: warning: 'Array<T>::Array(octave_idx_type) [with T =
int, octave_idx_type = int]' is deprecated (declared at
../liboctave/array/Array.h:184) [-Wdeprecated-declarations]
dldfcn/__ilu__.cc:671:23: warning: 'partial_row_sum' may be used uninitialized
in this function [-Wuninitialized]
dldfcn/__ilu__.cc:678:25: warning: 'partial_col_sum' may be used uninitialized
in this function [-Wuninitialized]
dldfcn/__ilu__.cc:710:19: warning: 'tl' may be used uninitialized in this
function [-Wuninitialized]



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?8567>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]