<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 08/16/2013 01:42 PM, Renato Golin
wrote:<br>
</div>
<blockquote
cite="mid:CAMSE1kdto7L2ZW0PWVrVJQXwY+VPs4Dy8abhiSHoJ0F2P4E6zQ@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<div dir="ltr">On 16 August 2013 20:02, reed kotler <span
dir="ltr"><<a moz-do-not-send="true"
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>
<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>
</blockquote>
right, but what option in clang++ forces it close to g++ for
running spec2006 ?<br>
<br>
for clang it is apparent -std=gnu89<br>
<br>
i understand that we have it configured already for test-suite but I
also need to be able to run this standalone (outside of test-suite).<br>
<br>
<blockquote
cite="mid:CAMSE1kdto7L2ZW0PWVrVJQXwY+VPs4Dy8abhiSHoJ0F2P4E6zQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<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>
</blockquote>
<br>
</body>
</html>