[LLVMdev] bitcast of function

Matthijs Kooijman matthijs at stdin.nl
Wed Aug 20 01:07:37 PDT 2008


> 'void openBMPJPG()' will give you varargs function declaration. So,
> actually you're calling no-args function via vargargs declaration. Thus
> bitcast there.
So, the correct way of declaring the function would be
	void openBMPJPG(void)

Gr.

Matthijs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080820/1e036bbe/attachment.sig>


More information about the llvm-dev mailing list