[LLVMdev] bitcast of function

Anton Korobeynikov asl at math.spbu.ru
Tue Aug 19 14:32:12 PDT 2008


Hello,

> The function is declared in a header file.
How? As 'void openBMPJPG()' ?

> After linkingall the files together,  the callee function is called in
> the way bellow:
'void openBMPJPG()' will give you varargs function declaration. So,
actually you're calling no-args function via vargargs declaration. Thus
bitcast there.

-- 
With best regards, Anton Korobeynikov.

Faculty of Mathematics & Mechanics, Saint Petersburg State University.




More information about the llvm-dev mailing list