octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #49171] Warnings after save from GUI editor ar


From: John Swensen
Subject: [Octave-bug-tracker] [bug #49171] Warnings after save from GUI editor are related to the previous version
Date: Tue, 8 Nov 2016 19:26:41 +0000 (UTC)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.35 Safari/537.36

Follow-up Comment #10, bug #49171 (project octave):

I was just about to submit and almost identical patch. However, mine was
slightly different because it doesn't seem my compile allows the comparison of
octave_value_list and bool


libgui/src/m-editor/file-editor-tab.cc:1846:11: error: value of type
'octave_value_list' is not contextually convertible to 'bool'
      if (Fisdebugmode () &&
          ^~~~~~~~~~~~~~~
libgui/src/m-editor/file-editor-tab.cc:1846:27: error: invalid operands to
binary expression ('octave_value_list' and 'bool')
      if (Fisdebugmode () &&


I will still attach my diff, but the difference was that I used


Fisdebugmode () (0).bool_value () == true


instead.

(file #38907)
    _______________________________________________________

Additional Item Attachment:

File name: only_reparse_if_in_debug.diff  Size:0 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?49171>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]