|
From: | John W. Eaton |
Subject: | [Octave-bug-tracker] [bug #65321] C++20 warnings about deprecated uses of volatile variables |
Date: | Fri, 16 Feb 2024 16:52:05 -0500 (EST) |
Update of bug#65321 (group octave): Status: None => Ready For Test Fixed Release: None => 10.1.0 (current default) Planned Release: None => 10.1.0 (current default) _______________________________________________________ Follow-up Comment #4: I pushed the following changeset and it seems to have eliminated the warnings for me: http://hg.savannah.gnu.org/hgweb/octave/rev/7d5a531a058a Thinking about this more, those volatile tags may have been added to prevent warnings about jump or longjmp crossing initialization of variables back when Octave's error handling used setjmp and longjmp. (Those were the days!) So I'm sure that they are just obsolete holdovers from another era. I'll leave other uses for now. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?65321> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |