[LLVMdev] running spec2006 with clang
Renato Golin
renato.golin at linaro.org
Fri Aug 16 13:42:19 PDT 2013
On 16 August 2013 20:02, reed kotler <rkotler at mips.com> wrote:
> -std=gnu89 is not valid for c++
>
I think the point here is that this is the default std for GCC but not
Clang, so you have to force clang to behave like GCC. For C++, you'll have
to force whatever default GCC has for it's C++ standard.
Though, GCC 4.8 is getting very close to Clang's behaviour, so those issues
are bound to disappear in the near future.
cheers,
--renato
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130816/4334c8b5/attachment.html>
More information about the llvm-dev
mailing list