current clang C++ level for plumhall

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?

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?

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

Tia.

Reed

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