octave-maintainers
[Top][All Lists]
Advanced

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

Re: Miscellaneous build warnings


From: Torsten
Subject: Re: Miscellaneous build warnings
Date: Mon, 3 Jul 2017 23:11:13 +0200

On 03.07.2017 20:30, Torsten wrote:
> On 03.07.2017 19:05, Rik wrote:
>> I'm seeing the following when building Octave:
>>
>> libgui/src/settings-dialog.ui: Warning: The name 'horizontalLayout_17'
>> (QHBoxLayout) is already in use, defaulting to 'horizontalLayout_171'.
>> libgui/src/settings-dialog.ui: Warning: The name 'horizontalSpacer_33'
>> (QSpacerItem) is already in use, defaulting to 'horizontalSpacer_331'.
>> src/shared-fcns.h:174:1: warning: ‘std::__cxx11::string
>> prepend_octave_home(const string&)’ defined but not used [-Wunused-function]
>>
>> None of this looks tragic, but maybe someone knows if they can be silenced.
> 
> I will have a look at it.

While trying to silence the warnings from settings-dialog.ui I get the
following error during compilation:

../libgui/src/main-window.cc: In member function ‘void
main_window::display_release_notes()’:
../libgui/src/main-window.cc:462:39: error: ‘octave::config’ has not
been declared
       std::string news_file = octave::config::oct_etc_dir () + "/NEWS";
                                       ^

This does not seem to be related to the warnings?

Torsten



reply via email to

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