[cfe-dev] clang vs boost - take 3
Douglas Gregor
dgregor at apple.com
Fri Jan 29 09:23:22 PST 2010
On Jan 29, 2010, at 1:04 AM, Maurice Gittens wrote:
> Hi,
>
> today, llvm and clang actually links again on my Linux box so I decided to
> see how well clang currently does at compiling the boost headers.
>
> It turns out that there remain only 7 top-level boost header files
> that do not compile for me with the current version of clang.
That's progress!
> More specifically the toplevel header files:
>
> #include <boost/regex.hpp>
> #include <boost/unordered_set.hpp>
> #include <boost/unordered_map.hpp>
> #include <boost/dynamic_bitset.hpp>
> #include <boost/asio.hpp>
>
> do not yet compile with clang++ for me.
>
> Compilation of the above header files all crash as a result of the following assertion failure.
> // clang: SemaExpr.cpp:1521: clang::ASTOwningResult<&clang::ActionBase::DeleteExpr> clang::Sema::BuildDeclarationNameExpr(const clang::CXXScopeSpec&, clang::SourceLocation, clang::NamedDecl*): Assertion `!isa<FunctionTemplateDecl>(D) && "Cannot refer unambiguously to a function template"' failed.
I've now fixed this one.
> Should I close the bug reports that now appear to have been currently fixed?
I think I've already done this. However, there's one remaining Boost-related issue that we know about:
http://llvm.org/bugs/show_bug.cgi?id=6089
- Doug
More information about the cfe-dev
mailing list