|
From: | Markus Mützel |
Subject: | [Octave-bug-tracker] [bug #61566] [octave forge] (communications) Fix compilation with Octave 8 |
Date: | Fri, 26 Nov 2021 11:25:21 -0500 (EST) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.36 Edg/96.0.1054.34 |
URL: <https://savannah.gnu.org/bugs/?61566> Summary: [octave forge] (communications) Fix compilation with Octave 8 Project: GNU Octave Submitted by: mmuetzel Submitted on: Fri 26 Nov 2021 05:25:19 PM CET Category: Octave Forge Package Severity: 3 - Normal Priority: 5 - Normal Item Group: Build Failure Status: None Assigned to: None Originator Name: Originator Email: Open/Closed: Open Release: dev Discussion Lock: Any Operating System: Any _______________________________________________________ Details: Quoting jwe from bug #61551: > The global 'error_state' variable has been useless for quite some time now. It's been removed on the default branch (what will become version 8.1 in about a year). Since about 6 years ago, it has never had a value other than 0 in Octave code and is no longer useful for checking whether an error has occurred because exceptions are thrown, so checking the state of a variable after an error occurs is not useful except inside a 'catch' clause that handles 'octave::execution_exception'. > All uses of this variable should be removed from the video package and any other packages that still use it. You should have been seeing a warning at compile time about it being deprecated since before version 6 was released (it was marked as deprecated in May 2019). This also applies to the communications package. I'll attach a possible patch as soon as I'll have a bug number. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?61566> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |