During building dev Octave (67a5341edf15 tip mkstemp: ensure file is opened in binary mode on Windows (bug #48326), about every module compile emits errors along the lines of:
: ./dev/liboctave/cruft/misc/quit.h:109:5: warning: declaration of 'exit_status' shadows a member of 'this' [-Wshadow] In file included from ../dev/liboctave/util/lo-utils.h:33:0, from ../dev/liboctave/array/Array.h:40, from ../dev/liboctave/array/Array-util.h:28, from liboctave/operators/mx-ui64-ui16nda.cc:5: ../dev/liboctave/cruft/misc/quit.h: In constructor 'octave_exit_exception::octave_exit_exception(int, bool)': ../dev/liboctave/cruft/misc/quit.h:109:5: warning: declaration of 'safe_to_return' shadows a member of 'this' [-Wshadow] : m_exit_status (exit_status), m_safe_to_return (safe_to_return) ^ :
Anyone else seeing this?
(Mageia 5 Linux 64 bit)
Philip
-- View this message in context: http://octave.1599824.n4.nabble.com/Many-repeated-shadow-warnings-during-build-tp4678458.html Sent from the Octave - Maintainers mailing list archive at Nabble.com.