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

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

[Octave-bug-tracker] [bug #52850] unused parameter warning during build


From: Rik
Subject: [Octave-bug-tracker] [bug #52850] unused parameter warning during build
Date: Tue, 9 Jan 2018 19:25:32 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

URL:
  <http://savannah.gnu.org/bugs/?52850>

                 Summary: unused parameter warning during build
                 Project: GNU Octave
            Submitted by: rik5
            Submitted on: Tue 09 Jan 2018 04:25:30 PM PST
                Category: Configuration and Build System
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error
                  Status: Confirmed
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

I recently configured with just about everything disabled, including hdf5,
zlib, and bzip2.  When compiling, which works just fine, I get a bunch of
unused parameter warnings.  These all come from the inclusion of ov-base-int.h
in files.  An example is shown.


In file included from libinterp/octave-value/ov-int16.cc:48:0:
libinterp/octave-value/ov-base-int.cc: In instantiation of ‘bool
octave_base_int_matrix<T>::save_hdf5_internal(octave_hdf5_id, octave_hdf5_id,
const char*, bool) [with T = intNDArray<octave_int<signed char> >;
octave_hdf5_id = long int]’:
libinterp/octave-value/ov-intx.h:374:12:   required from here
libinterp/octave-value/ov-base-int.h:98:66: warning: unused parameter
‘save_type’ [-Wunused-parameter]
   bool save_hdf5_internal (octave_hdf5_id loc_id, octave_hdf5_id save_type,








    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52850>

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




reply via email to

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