fay59 / fcd

An optimizing decompiler
http://zneak.github.io/fcd
Other
705 stars 70 forks source link

make failed on Ubuntu 14.04 #12

Closed HirumaStu closed 8 years ago

HirumaStu commented 8 years ago

When I tried to build master I got the error: bindings.cpp:2091:20: error: no matching function for call to 'LLVMBuildLandingPad' auto callReturn = LLVMBuildLandingPad(self->obj, arg0->obj, arg1, arg2); It has been checked on gcc 4.8 and 5.3.0, (llvm/clang)-3.7

fay59 commented 8 years ago

You have LLVM 3.7.1, which broke API compatibility with 3.7.

There are a couple of options, but the simplest one would be to replace the offending line with something like "LLVMValueRef callReturn = nullptr;", since fcd doesn't use landing pads anyway.

Le 23 févr. 2016 à 17:40:44, HirumaStu notifications@github.com a écrit :

When I tried to build master I got the error: bindings.cpp:2091:20: error: no matching function for call to 'LLVMBuildLandingPad' auto callReturn = LLVMBuildLandingPad(self->obj, arg0->obj, arg1, arg2); It has been checked on gcc 4.8 and 5.3.0, (llvm/clang)-3.7

— Reply to this email directly or view it on GitHub https://github.com/zneak/fcd/issues/12.

fay59 commented 8 years ago

This will be fixed soon-ish when LLVM 3.8 lands.