Luabind does not build with clang

Bug #1055374 reported by DennisLuxen
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
luabind (Debian)
Fix Released
Unknown
luabind (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Libluabind-dev cannot be used with clang because of missing forward declarations. A fix has been committed to the github master branch of luabind about two years ago:

https://github.com/luabind/luabind/commit/3044a9053ac50977684a75c4af42b2bddb853fad

For sake of completeness:

1) $ lsb_release -rd
Description: Ubuntu 12.04.1 LTS
Release: 12.04

2) apt-cache policy libluabind-dev
libluabind-dev:
  Installiert: 0.9.1+dfsg-4
  Kandidat: 0.9.1+dfsg-4
  Versionstabelle:
 *** 0.9.1+dfsg-4 0
        500 http://fr.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages
        100 /var/lib/dpkg/status

clang:
  Installiert: 3.0-6ubuntu3
  Kandidat: 3.0-6ubuntu3
  Versionstabelle:
 *** 3.0-6ubuntu3 0
        500 http://fr.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages
        100 /var/lib/dpkg/status

3) Programm compiles fine.

4) In file included from /usr/include/luabind/luabind.hpp:28:
In file included from /usr/include/luabind/class.hpp:94:
In file included from /usr/include/luabind/function.hpp:10:
In file included from /usr/include/luabind/detail/call_function.hpp:320:
In file included from /usr/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:52:
/usr/include/luabind/detail/call_function.hpp:359:25: error: reference to 'object'
      is ambiguous
        call_function(luabind::object const& obj ...
                               ^
/usr/include/luabind/object.hpp:824:12: note: candidate found by name lookup is
      'luabind::object'
using adl::object;
           ^
/usr/include/luabind/detail/format_signature.hpp:18:7: note: candidate found by name
      lookup is 'luabind::object'
class object;
      ^

Related branches

Revision history for this message
DennisLuxen (dluxen) wrote :
Changed in luabind (Debian):
status: Unknown → New
Changed in luabind (Debian):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package luabind - 0.9.1+dfsg-7

---------------
luabind (0.9.1+dfsg-7) unstable; urgency=low

  * Tweak bjam invocation to account for instances where dpkg-buildflags
    returns an empty string; corrects FTBFS on ia64

 -- Roberto C. Sanchez <email address hidden> Sat, 13 Jul 2013 23:02:30 -0400

Changed in luabind (Ubuntu):
status: New → Fix Released
Changed in luabind (Debian):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.