← Back to team overview

touch-packages team mailing list archive

[Bug 1366134] Re: [regression] Mir FTBFS with g++-4.8 [error: ISO C++ forbids casting between pointer-to-function and pointer-to-object]

 

This bug was fixed in the package mir - 0.7.2+14.10.20140912-0ubuntu1

---------------
mir (0.7.2+14.10.20140912-0ubuntu1) utopic; urgency=medium

  [ Alexandros Frantzis ]
  * New upstream release 0.7.2 (https://launchpad.net/mir/+milestone/0.7.2)
    - Bug fixes
      . Restore support for gcc-4.8/trusty (LP: #1366134)
 -- Ubuntu daily release <ps-jenkins@xxxxxxxxxxxxxxxxxxx>   Fri, 12 Sep 2014 09:07:49 +0000

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

-- 
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/1366134

Title:
  [regression] Mir FTBFS with g++-4.8 [error: ISO C++ forbids casting
  between pointer-to-function and pointer-to-object]

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

Bug description:
  /home/camako/workspace/mir-dev/src/platform/options/default_configuration.cpp: In function ‘void {anonymous}::ensure_loaded_with_rtld_global()’:
  /home/camako/workspace/mir-dev/src/platform/options/default_configuration.cpp:77:67: error: ISO C++ forbids casting between pointer-to-function and pointer-to-object [-Werror]
       dladdr(reinterpret_cast<void*>(&ensure_loaded_with_rtld_global), &info);

  ...

  /home/camako/workspace/mir-dev/src/client/default_connection_configuration.cpp: In function ‘void {anonymous}::ensure_loaded_with_rtld_global()’:
  /home/camako/workspace/mir-dev/src/client/default_connection_configuration.cpp:57:67: error: ISO C++ forbids casting between pointer-to-function and pointer-to-object [-Werror]
       dladdr(reinterpret_cast<void*>(&ensure_loaded_with_rtld_global), &info);

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