← Back to team overview

touch-packages team mailing list archive

[Bug 1358625] Re: Mir FTBFS in release mode: scroll.cpp: variable ‘rc’ set but not used

 

Fix committed to lp:mir/0.7 at revision 1872, scheduled for release in
Mir 0.7.0

** Changed in: mir
    Milestone: 0.7.0 => 0.8.0

** Also affects: mir/0.7
   Importance: Undecided
       Status: New

** Changed in: mir/0.7
   Importance: Undecided => Medium

** Changed in: mir/0.7
       Status: New => Fix Committed

** Changed in: mir/0.7
    Milestone: None => 0.7.0

** Changed in: mir/0.7
     Assignee: (unassigned) => Daniel van Vugt (vanvugt)

** Also affects: mir (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: mir (Ubuntu)
   Importance: Undecided => Medium

** Changed in: mir (Ubuntu)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mir in Ubuntu.
https://bugs.launchpad.net/bugs/1358625

Title:
  Mir FTBFS in release mode: scroll.cpp: variable ‘rc’ set but not used

Status in Mir:
  Fix Committed
Status in Mir 0.7 series:
  Fix Committed
Status in “mir” package in Ubuntu:
  Triaged

Bug description:
  Mir fails to build in release mode:

  cmake .. -DCMAKE_BUILD_TYPE=RELEASE
  make

  examples/scroll.cpp: In function ‘void create_and_run_scroll_surface(MirConnection*)’:
  examples/scroll.cpp:56:26: error: variable ‘rc’ set but not used [-Werror=unused-but-set-variable]
       int major, minor, n, rc;
                            ^

  So I'm wondering; is it a bad thing that we apparently never use
  release mode?

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1358625/+subscriptions