<div dir="ltr">On 16 August 2013 20:02, reed kotler <span dir="ltr"><<a href="mailto:rkotler@mips.com" target="_blank">rkotler@mips.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"><div class="im">
<div><span style="color:rgb(34,34,34)">-std=gnu89 is not valid for c++ </span></div></div></div></blockquote><div></div></div><br></div><div class="gmail_extra">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.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">Though, GCC 4.8 is getting very close to Clang's behaviour, so those issues are bound to disappear in the near future.</div><div class="gmail_extra"><br></div>
<div class="gmail_extra">cheers,</div><div class="gmail_extra">--renato</div></div>