[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53542] quad.cc:355:11: warning: this statemen
From: |
Dmitri A. Sergatskov |
Subject: |
[Octave-bug-tracker] [bug #53542] quad.cc:355:11: warning: this statement may fall through |
Date: |
Sun, 1 Apr 2018 14:35:20 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0 |
URL:
<http://savannah.gnu.org/bugs/?53542>
Summary: quad.cc:355:11: warning: this statement may fall
through
Project: GNU Octave
Submitted by: dasergatskov
Submitted on: Sun 01 Apr 2018 06:35:19 PM UTC
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Missed Error or Warning
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
With gcc 8.0.1 I see:
../libinterp/corefcn/quad.cc: In function ‘octave_value_list
Fquad(octave::interpreter&, const octave_value_list&, int)’:
../libinterp/corefcn/quad.cc:260:11: warning: this statement may fall through
[-Wimplicit-fallthrough=]
switch (tol.numel ())
^~~~~~
../libinterp/corefcn/quad.cc:274:9: note: here
case 3:
^~~~
../libinterp/corefcn/quad.cc:355:11: warning: this statement may fall through
[-Wimplicit-fallthrough=]
switch (tol.numel ())
^~~~~~
../libinterp/corefcn/quad.cc:369:9: note: here
case 3:
^~~~
Dmitri.
--
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53542>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #53542] quad.cc:355:11: warning: this statement may fall through,
Dmitri A. Sergatskov <=