[LLVMdev] clang: call extern function using JIT

Anton Korobeynikov anton at korobeynikov.info
Wed Aug 18 04:56:07 PDT 2010


> when I run my app the compiler says:
> E:\Projects\Whistle\Whistle\Release>Whistle file.c
> file.c(3) :  warning: implicit declaration of function 'yipee' is invalid in
> C99
>
>      [-Wimplicit-function-declaration]
>    int dd = yipee(1);
>             ^
This way you're creating a call to variadic function. It's of different type
compared to function you're binding to.

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University




More information about the llvm-dev mailing list