[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #58791] Compilation warning messages
From: |
Michael Godfrey |
Subject: |
[Octave-bug-tracker] [bug #58791] Compilation warning messages |
Date: |
Mon, 20 Jul 2020 10:36:11 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
URL:
<https://savannah.gnu.org/bugs/?58791>
Summary: Compilation warning messages
Project: GNU Octave
Submitted by: godfrey
Submitted on: Mon 20 Jul 2020 02:36:09 PM UTC
Category: Configuration and Build System
Severity: 2 - Minor
Priority: 5 - Normal
Item Group: Other
Status: None
Assigned to: None
Originator Name: godfrey
Originator Email:
Open/Closed: Open
Release: dev
Discussion Lock: Any
Operating System: GNU/Linux
_______________________________________________________
Details:
On Fedora 32 for some time I have noticed the following compilation warning
messages. They do not seem to cause harm,
but may deserve some cleanup. These occur about 10 times during full rebuild:
CXX libinterp/octave-value/liboctave_value_la-ov-int16.lo
In file included from libinterp/octave-value/ov-base-int.cc:70,
from libinterp/octave-value/ov-int16.cc:49:
./liboctave/util/byte-swap.h: In member function ‘bool
octave_base_int_scalar<T>::load_binary(std::istream&, bool,
octave::mach_info::float_format) [with T = octave_int<short int>]’:
./liboctave/util/byte-swap.h:37:13: warning: array subscript 7 is outside
array bounds of ‘octave_int<short int> [1]’ [-Warray-bounds]
37 | t[i] = t[j];
| ~~~^
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58791>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #58791] Compilation warning messages,
Michael Godfrey <=