Re: [C++ PATCH] Set C++ standard earlier

2015-09-04 Thread Jason Merrill
OK. Jason

[C++ PATCH] Set C++ standard earlier

2015-09-04 Thread Marek Polacek
I noticed that -Wshift-overflow isn't on by default even though now we're defaulting to C++14. The reason is that at the time we set warn_shift_overflow the cxx_dialect is still cxx_unset. So let's set the default C++ standard earlier in that function, before be enable/disable the warnings. (A t