[LLVMbugs] [Bug 11396] New: clang doesn't compile Spirit headers

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Nov 17 15:01:32 PST 2011


http://llvm.org/bugs/show_bug.cgi?id=11396

             Bug #: 11396
           Summary: clang doesn't compile Spirit headers
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: tziltzal at y7mail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified


My clang is:

clang version 3.1 (trunk 144737)
Target: x86_64-unknown-linux-gnu
Thread model: posix

uname -a returns:

Linux yaron-fedora 3.1.0-7.fc16.x86_64 #1 SMP Tue Nov 1 21:10:48 UTC 2011
x86_64 x86_64 x86_64 GNU/Linux

Please notice that Fedora 16 has gcc 4.6.2 by default but I compile clang with
4.6.1 that I compiled separately into /usr/local/gcc-4.6.1.

When #include <boost/spirit/include/qi.hpp> I get:

In file included from /usr/include/boost/spirit/include/qi.hpp:16:
In file included from /usr/include/boost/spirit/home/qi.hpp:21:
In file included from /usr/include/boost/spirit/home/qi/numeric.hpp:17:
In file included from /usr/include/boost/spirit/home/qi/numeric/real.hpp:21:
In file included from
/usr/include/boost/spirit/home/qi/numeric/detail/real_impl.hpp:22:
In file included from
/usr/include/boost/spirit/home/support/detail/sign.hpp:22:
In file included from
/usr/include/boost/math/special_functions/fpclassify.hpp:19:
In file included from
/usr/include/boost/math/special_functions/math_fwd.hpp:27:
In file included from /usr/include/boost/math/tools/promotion.hpp:26:
In file included from /usr/include/boost/math/tools/config.hpp:266:
In file included from /usr/include/boost/detail/fenv.hpp:25:
/usr/include/bits/fenv.h:105:1: error: unknown type name '__extern_inline'
__extern_inline int
^
/usr/include/bits/fenv.h:105:17: error: expected unqualified-id
__extern_inline int
                ^
2 errors generated.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list