Skip to content
Snippets Groups Projects

pavucontrol: fix compilation issue with g++ (Raspbian 4.9.2-10+deb8u2)

Merged duhlin requested to merge duhlin/pavucontrol:on_v4.0 into master

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Author Contributor

    Fix this compilation issue:

    pavuapplication.cc: In function ‘int main(int, char**)’:
    pavuapplication.cc:146:32: error: use of deleted function ‘PavuApplication::PavuApplication(PavuApplication&&)’
         auto app = PavuApplication();
                                    ^
    In file included from pavuapplication.cc:29:0:
    pavuapplication.h:27:7: note: ‘PavuApplication::PavuApplication(PavuApplication&&)’ is implicitly deleted because the default definition would be ill-formed:
     class PavuApplication : public Gtk::Application {
           ^
    In file included from /usr/include/gtkmm-3.0/gtkmm/window.h:32:0,
                     from /usr/include/gtkmm-3.0/gtkmm/dialog.h:30,
                     from /usr/include/gtkmm-3.0/gtkmm/aboutdialog.h:33,
                     from /usr/include/gtkmm-3.0/gtkmm.h:99,
                     from pavucontrol.h:29,
                     from pavuapplication.h:24,
                     from pavuapplication.cc:29:
    /usr/include/gtkmm-3.0/gtkmm/application.h:211:3: error: ‘Gtk::Application::Application(const Gtk::Application&)’ is private
       Application(const Application&);
       ^
    In file included from pavuapplication.cc:29:0:
    pavuapplication.h:27:7: error: within this context
     class PavuApplication : public Gtk::Application {
           ^
    In file included from /usr/include/glibmm-2.4/glibmm/wrap.h:26:0,
                     from /usr/include/glibmm-2.4/glibmm/containerhandle_shared.h:26,
                     from /usr/include/glibmm-2.4/glibmm/arrayhandle.h:23,
                     from /usr/include/glibmm-2.4/glibmm.h:91,
                     from /usr/include/gtkmm-3.0/gtkmm.h:87,
                     from pavucontrol.h:29,
                     from pavuapplication.h:24,
                     from pavuapplication.cc:29:
    /usr/include/glibmm-2.4/glibmm/objectbase.h:238:3: error: ‘Glib::ObjectBase::ObjectBase(const Glib::ObjectBase&)’ is private
       ObjectBase(const ObjectBase&);
       ^
    In file included from pavuapplication.cc:29:0:
    pavuapplication.h:27:7: error: within this context
     class PavuApplication : public Gtk::Application {
           ^
    Makefile:675: recipe for target 'pavucontrol-pavuapplication.o' failed
    make[2]: *** [pavucontrol-pavuapplication.o] Error 1
    make[2]: Leaving directory '/home/pi/pulseaudio/pavucontrol/src'
    Makefile:416: recipe for target 'all-recursive' failed
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory '/home/pi/pulseaudio/pavucontrol'
    Makefile:356: recipe for target 'all' failed
    make: *** [all] Error 2
  • duhlin added 17 commits

    added 17 commits

    Compare with previous version

  • Thanks! Looks good, except that the commit message should start with a "pavuapplication: " prefix, and the commit message should contain the error message that you added as a comment. I would fix this myself, but you haven't enabled the "Allow commits from members who can merge to the target branch" option.

  • duhlin added 2 commits

    added 2 commits

    • 83038938 - 1 commit from branch pulseaudio:master
    • a258216c - fix compilation issue with g++ (Raspbian 4.9.2-10+deb8u2)

    Compare with previous version

  • duhlin changed title from fix compilation issue with g++ (Raspbian 4.9.2-10+deb8u2) to pavucontrol: fix compilation issue with g++ (Raspbian 4.9.2-10+deb8u2)

    changed title from fix compilation issue with g++ (Raspbian 4.9.2-10+deb8u2) to pavucontrol: fix compilation issue with g++ (Raspbian 4.9.2-10+deb8u2)

  • Tanu Kaskinen added 1 commit

    added 1 commit

    • 327be8dc - pavuapplication: fix compilation issue with g++ (Raspbian 4.9.2-10+deb8u2)

    Compare with previous version

  • merged

Please register or sign in to reply
Loading