|
From: | Mike Miller |
Subject: | [Octave-bug-tracker] [bug #53650] build: clang-6.0 compiler warnings |
Date: | Sun, 15 Apr 2018 01:42:39 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0 |
Follow-up Comment #6, bug #53650 (project octave): Changing the lambda to '[&zero] (T elem) { return elem != zero; }' results in the same warning message. If I remove the const qualifier from the declaration of zero, making it a normal non-const variable, then the warning message goes away. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?53650> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |