Hi,
I was reading the Ars Technica review of Snow Leopard and I have a question about the LVVM and Clang part. In the review they say that the LLVM compiler should report warning/errors more efficiently in xcode as gcc does.
I wanted to reproduce this:
So I coded that same function in xcode, set the compiler to LLVM GCC 4.2 in the project preferences, build it but I don't see the same result.
What am I doing wrong ?
Thanks,
Tex
I was reading the Ars Technica review of Snow Leopard and I have a question about the LVVM and Clang part. In the review they say that the LLVM compiler should report warning/errors more efficiently in xcode as gcc does.
I wanted to reproduce this:

So I coded that same function in xcode, set the compiler to LLVM GCC 4.2 in the project preferences, build it but I don't see the same result.
What am I doing wrong ?
Thanks,
Tex