← 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]

 

** Branch unlinked: lp:mir/0.7

-- 
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:
  New

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