gcmd-devel
[Top][All Lists]
Advanced

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

[gcmd-dev] Latest version 1.11 breaks building with gcc-9.3 inside core1


From: Stefan Czinczoll
Subject: [gcmd-dev] Latest version 1.11 breaks building with gcc-9.3 inside core18 snap environment
Date: Fri, 27 Nov 2020 16:41:22 +0100 (CET)

Hi all,

right now I'm trying to create a working snap from gcmd (container format for 
Ubuntu). This seems to be better supported than formerly targeted AppImage.

However, the current version 1.11.0 breaks building with core18 environment (VM 
based on Ubuntu 18.04). Autotools are in use.

The error is shown below:

In file included from gnome-cmd-manage-profiles-dialog.h:27,
                 from gnome-cmd-advrename-dialog.cc:37:
gnome-cmd-edit-profile-dialog.h: In static member function ‘static void 
GnomeCmd::ManageProfilesDialog<CONFIG, PROFILE, 
COMPONENT>::edit_clicked_callback(GtkButton*, GtkWidget*) [with CONFIG = 
GnomeCmdData::AdvrenameConfig; PROFILE = 
GnomeCmdData::AdvrenameConfig::Profile; COMPONENT = 
GnomeCmdAdvrenameProfileComponent]’:
gnome-cmd-edit-profile-dialog.h:78:12: error: inlining failed in call to 
‘GnomeCmd::EditProfileDialog<PROFILE, COMPONENT>::EditProfileDialog(GtkWindow*, 
PROFILE&, const char*) [with PROFILE = GnomeCmdData::AdvrenameConfig::Profile; 
COMPONENT = GnomeCmdAdvrenameProfileComponent]’: --param 
max-inline-insns-single limit reached [-Werror=inline]
   78 |     inline 
EditProfileDialog<PROFILE,COMPONENT>::EditProfileDialog(GtkWindow *parent, 
PROFILE &profile, const char *id):  help_id(id)
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from gnome-cmd-advrename-dialog.cc:37:
gnome-cmd-manage-profiles-dialog.h:220:13: note: called from here
  220 |             if (GnomeCmd::EditProfileDialog<PROFILE,COMPONENT> 
(GTK_WINDOW (dialog), p, help_id))
      |             ^~
cc1plus: all warnings being treated as errors
Makefile:548: recipe for target 'gnome-cmd-advrename-dialog.o' failed
make[3]: *** [gnome-cmd-advrename-dialog.o] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/gnome-cmd-chmod-dialog.Tpo .deps/gnome-cmd-chmod-dialog.Po
make[3]: Leaving directory '/root/parts/gcmd/build/src/dialogs'
Makefile:834: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/root/parts/gcmd/build/src'
Makefile:540: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/root/parts/gcmd/build'
Makefile:470: recipe for target 'all' failed
make: *** [all] Error 2
Failed to run 'make -j2' for 'gcmd': Exited with code 2.

Kind regards,

Stefan

--
schollsky.jimdofree.com
stefan.czinczoll[at]arcor.de



reply via email to

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