|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #59113] Warning when String property of a uicontrol is a char array |
Date: | Mon, 14 Sep 2020 15:16:32 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36 |
Follow-up Comment #5, bug #59113 (project octave): I checked in a change (http://hg.savannah.gnu.org/hgweb/octave/rev/fed3b09f2efc) that fixes 2 out of 3 of the warnings printed when creating a uicontrol object. It turns out the input validation was not very good and was checking non-string values that it shouldn't have. Getting rid of the last warning will be a little more difficult. It is coming from somewhere in the graphics property architecture defined by graphics.in.h. There is a special string_array_property class which seems to mostly do the right thing, but somewhere it must be calling straight string_value() on a char matrix. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?59113> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |