[LLVMdev] clang errors on void main()

Eli Friedman eli.friedman at gmail.com
Mon Feb 6 19:27:27 PST 2012

On Mon, Feb 6, 2012 at 6:51 PM, Xin Tong <xerox.time.tech at gmail.com> wrote:
> Is there any way to stop this ?
> /home/socrates/llvm/llvm-3.0.src/benchmarks/powerstone/crc/crc.c:67:1:
> error: 'main' must return 'int'
> void main()
> ^
> 1 error generated.

You mean besides fixing the source of your benchmark so it's valid C?
Not at the moment... patches welcome.


More information about the llvm-dev mailing list