|
From: | A.R. Burgers |
Subject: | [Octave-bug-tracker] [bug #56948] compilation warning in pt-eval.cc |
Date: | Wed, 25 Sep 2019 02:02:24 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763 |
URL: <https://savannah.gnu.org/bugs/?56948> Summary: compilation warning in pt-eval.cc Project: GNU Octave Submitted by: arb Submitted on: Wed 25 Sep 2019 06:02:22 AM UTC Category: Configuration and Build System Severity: 3 - Normal Priority: 5 - Normal Item Group: Regression Status: None Assigned to: None Originator Name: Originator Email: Open/Closed: Open Discussion Lock: Any Release: dev Operating System: Any _______________________________________________________ Details: I get this warning since http://hg.savannah.gnu.org/hgweb/octave/rev/d5fc84964eb9 with gcc 8.3.0 ../octave/libinterp/parse-tree/pt-eval.cc: In lambda function: ../octave/libinterp/parse-tree/pt-eval.cc:198:71: warning: declaration of 'evmgr' shadows a previous local [-Wshadow] frame.add ([fcn_nm, curr_debug_line] (event_manager& evmgr) { ^ ../octave/libinterp/parse-tree/pt-eval.cc:192:28: note: shadowed declaration is here event_manager& evmgr = m_interpreter.get_event_manager (); ^~~~~ _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?56948> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |