<div dir="ltr">On Thu, Sep 5, 2013 at 10:52 AM, 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">I'm trying to run Plumhall C++ against clang++ and it mostly passes for x86 with no -std= qualifiers but with clang for Mips there are some semantic tests that need tweaking in flags.h but this part of things should be the same for x86 and Mips.<br>

<br>
What is the default for clang x86 in terms of c++ standard? Wouldn't Mips be the same?<br></blockquote><div><br></div><div>-std=gnu++98 is the default for all architectures.<br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Also, there is the issue of how .c files are handled by the compiler; i.e. does clang++ treat them as c++ or c.<br>
<br>
Is this somehow configurable by the target driver?<br></blockquote><div><br></div><div>IIRC, it should treat them as C++ on all architectures.<br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

There were some trigraph tests I needed to turn trigraphs on for Mips clang++ but not for x86 clang++?<br></blockquote><div><br></div><div>Sorry, no idea.<br><br></div><div>If you want more specific advice, you're going to have to show some diagnostic output.<br>
</div><div><br>-Eli <br></div></div></div></div>