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

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

[Octave-bug-tracker] [bug #57203] build errors with Qt 5.4


From: A.R. Burgers
Subject: [Octave-bug-tracker] [bug #57203] build errors with Qt 5.4
Date: Mon, 11 Nov 2019 14:04:11 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763

Follow-up Comment #3, bug #57203 (project octave):

compilation is successful, but I get two similar warnings (using gcc 8.3.0):


../octave/libgui/src/settings-dialog.cc: In member function 'void
octave::settings_dialog::read_varedit_colors(octave::gui_settings*)':
../octave/libgui/src/settings-dialog.cc:1181:78: warning: use of old-style
cast to 'enum QPalette::ColorRole' [-Wold-style-cast]
                               ((QPalette::ColorRole) ve_colors[i].def.toInt
());
                                                                             
^
                                -
                                static_cast<        -
                                                    > (                       
)


and


../octave/libgui/src/variable-editor.cc: In member function 'virtual void
octave::variable_editor::notice_settings(const octave::gui_settings*)':
../octave/libgui/src/variable-editor.cc:1394:78: warning: use of old-style
cast to 'enum QPalette::ColorRole' [-Wold-style-cast]
                               ((QPalette::ColorRole) ve_colors[i].def.toInt
());
                                                                             
^
                                -
                                static_cast<        -
                                                    > (                       
)


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57203>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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