|
From: | Markus Mützel |
Subject: | [Octave-bug-tracker] [bug #61784] builtins deprecated warning problem |
Date: | Tue, 18 Jan 2022 12:50:08 -0500 (EST) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36 Edg/97.0.1072.62 |
Follow-up Comment #9, bug #61784 (project octave): Sorry. I misunderstood where the warning was actually coming from. Looking at this again: Maybe, we don't even need to deprecate these functions outside the namespace. Argument dependent lookup (ADL) will automatically detach to the function in the `octave` namespace (because the `interpreter` object is in that namespace as well). Users of these functions wouldn't need to do anything in their code if we removed these functions entirely. There's not really a need for a deprecation warning. That is probably what the original reporter tried to explain the entire time. (But I didn't understand until now. Sorry!) I now agree with the original reporter to just remove the deprecated functions that take an interpreter argument from that header. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?61784> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |