[LLVMdev] Removing Warning Message

Chris Lattner sabre at nondot.org
Tue Jul 18 12:03:54 PDT 2006


On Wed, 19 Jul 2006 deveshti at comp.nus.edu.sg wrote:
> While using LLVM Back-End for ANSI C:
> $llc -march=c <ByteCode>
>
> I get following warning message:
> warning: conflicting types for built-in function 'malloc'
>
> Can somehow I remove this warning through using GCC options, I know it
> should be on  GCC Discussion Forum but still if someone can help me I
> would appreciate.

I don't think there is any way to disable the warning, other than piping 
the output of gcc to /dev/null.  Perhaps others know a way.

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-dev mailing list