cpp2cxx
cpp2cxx copied to clipboard
Can't find a clang version to build successfully
Hello !
Thanks for sharing this software that is very interesting for source to source transformation. I've tried many llvm/clang versions but I can't find any with which I was able to succeffuly build cpp2cxx :( What version do you recommand please ?
clang-3.8 will work.
Ive successfully built cpp2cxx with llvm/clang-3.8 although
- I've had to change ClangInterface/ASTConsumer.cpp @460 to
PP.getBuiltinInfo().initializeBuiltins(PP.getIdentifierTable(),
- Also I've had to remove dependency on library LLVMipa (It seem to be fixed with llvm/clang-3.8.1 but I did not test)
Thank you !
That's great!, i'll apply your patch and let you know. Are you working on this as a hobby or a project?
It's a hobby as of now
ok, if you are planning to extend it, there are some improvements mentioned in the paper which were not implemented. I'd be glad to discuss with you. Also, it will be great to integrate this as a clang-plugin and get rid of boost-library dependencies. clang already has a very good ast visitor so dependency on boost::wave is not required.