[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[creduce-bugs] Compilation Error with LLVM 3.4 trunk



Hi folks,

I'm trying to compile CReduce with current LLVM/Clang trunk and I'm getting
this errors[1]:

ClassTemplateToClass.cpp: In member function ?void
ClassTemplateToClass::rewriteClassTemplatePartialSpecs()?:

ClassTemplateToClass.cpp:263:71: error: cannot convert ?const
clang::ASTTemplateArgumentListInfo*? to ?clang::TemplateArgumentLoc*? in
initialization

ClassTemplateToClass.cpp:268:34: error: ?const class
clang::ClassTemplatePartialSpecializationDecl? has no member named
?getNumTemplateArgsAsWritten?

Anyone tried to compile it with a recent copy of LLVM? I'm not an expert in
Clang's AST to easily debug this, unfortunately.

cheers,
--renato

[1] Full Error message:

make[2]: Entering directory `/home/rengolin/devel/creduce/clang_delta'
g++ -DHAVE_CONFIG_H -I. -I..  -DGIT_VERSION=\"fb347da\"
-I"/home/rengolin/devel/llvm/install/include/clang"
 -I/home/rengolin/devel/llvm/install/include  -fPIC
-fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings
-Wno-missing-field-initializers -pedantic -Wno-long-long
-Wno-maybe-uninitialized -Wnon-virtual-dtor -O3   -D_GNU_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-fno-rtti -fno-exceptions -g -O3 -fno-strict-aliasing -Wall -Wextra
-Wno-long-long -Wno-unused-parameter -MT clang_delta-ClassTemplateToClass.o
-MD -MP -MF .deps/clang_delta-ClassTemplateToClass.Tpo -c -o
clang_delta-ClassTemplateToClass.o `test -f 'ClassTemplateToClass.cpp' ||
echo './'`ClassTemplateToClass.cpp
ClassTemplateToClass.cpp: In member function ?void
ClassTemplateToClass::rewriteClassTemplatePartialSpecs()?:
ClassTemplateToClass.cpp:263:71: error: cannot convert ?const
clang::ASTTemplateArgumentListInfo*? to ?clang::TemplateArgumentLoc*? in
initialization
ClassTemplateToClass.cpp:268:34: error: ?const class
clang::ClassTemplatePartialSpecializationDecl? has no member named
?getNumTemplateArgsAsWritten?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.flux.utah.edu/pipermail/creduce-bugs/attachments/20131010/4da07959/attachment.html>