|
From: | Pantxo Diribarne |
Subject: | [Octave-bug-tracker] [bug #61783] [octave forge] (image) errors while installing image package on 7.0.90 |
Date: | Mon, 10 Jan 2022 12:17:42 -0500 (EST) |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0 |
Follow-up Comment #4, bug #61783 (project octave): @Avinoam: AFAICS the warning about fortran_vec is displayed together with the solution warning: ‘const T* Array<T, Alloc>::fortran_vec() const [with T = long int; Alloc = std::allocator<long int>]’ is deprecated: [7]: for read-only access, use 'data' method instead So for const access to the elements of Array based classes you should use the "data" method as a replacement for "fortran_vec". The "data" method has been there since at least Octave 4.0 (see http://wiki.octave.org/Publications_about_Octave#Doxygen) and this should thus be backward compatible. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?61783> _______________________________________________ Message posté via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |