[LLVMdev] Fixing prototypes in llvm-c/Core.h.
Mahadevan R
mdevan.foobar at gmail.com
Thu May 1 00:34:28 PDT 2008
Hi,
The include file include/llvm-c/Core.h contains declarations
such as "LLVMTypeRef LLVMInt1Type();", which raises the
warning "function declaration isn't a prototype" when
using them in .c files.
Using "(void)" instead of "()" is the solution of course. Could
someone please:
sed -i~ 's/()/(void)/' Core.h
[Sorry to be picky, but so is my compiler!]
Thanks,
-Mahadevan.
More information about the llvm-dev
mailing list