|
From: | Markus Mützel |
Subject: | [Octave-bug-tracker] [bug #65318] Deprecation warning with C++20 |
Date: | Mon, 19 Feb 2024 04:10:05 -0500 (EST) |
Follow-up Comment #14, bug#65318 (group octave): The actual error is this: ../libinterp/corefcn/sysdep.cc: In lambda function: ../libinterp/corefcn/sysdep.cc:910:62: error: 'h_subkey' is not captured 910 | unwind_action restore_keys ([] () { reg_close_key_wrapper (h_subkey); }); | ^~~~~~~~ ../libinterp/corefcn/sysdep.cc:910:32: note: the lambda has no capture-default 910 | unwind_action restore_keys ([] () { reg_close_key_wrapper (h_subkey); }); | ^ ../libinterp/corefcn/sysdep.cc:901:8: note: 'HKEY__* h_subkey' declared here 901 | HKEY h_subkey; | ^~~~~~~~ This and some similar errors should be fixed with this change: https://hg.savannah.gnu.org/hgweb/octave/rev/5b54c2fb69bb _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?65318> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |