[cfe-dev] current clang C++ level for plumhall

Eli Friedman eli.friedman at gmail.com
Thu Sep 5 11:13:01 PDT 2013


On Thu, Sep 5, 2013 at 10:52 AM, reed kotler <rkotler at mips.com> wrote:

> 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.
>
> What is the default for clang x86 in terms of c++ standard? Wouldn't Mips
> be the same?
>

-std=gnu++98 is the default for all architectures.


> Also, there is the issue of how .c files are handled by the compiler; i.e.
> does clang++ treat them as c++ or c.
>
> Is this somehow configurable by the target driver?
>

IIRC, it should treat them as C++ on all architectures.


> There were some trigraph tests I needed to turn trigraphs on for Mips
> clang++ but not for x86 clang++?
>

Sorry, no idea.

If you want more specific advice, you're going to have to show some
diagnostic output.

-Eli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130905/eb56f250/attachment.html>


More information about the cfe-dev mailing list