<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 8 March 2017 at 10:25, Robinson, Paul <span dir="ltr"><<a href="mailto:paul.robinson@sony.com" target="_blank">paul.robinson@sony.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">> Richard Smith asked:<br>
>> Would raising the language standard to C++14 cause problems for PS4<br>
>> or MSVC? Is the constraint there "at least C++11" (because, say, the<br>
>> system headers are written in C++11) or "exactly C++11" (and if so,<br>
>> why?)?<br>
><br>
> A default dialect for a particular platform is not solely dependent on<br>
> the toolchain; the platform must support the appropriate standard<br>
> headers and libraries.  I have not investigated whether we have (or<br>
> plan to have) what's needed for 14 or 17, although I can ask.  (Seems<br>
> to me I've done this before but I can't find a record of it.)  Note<br>
> that we do not use either libcxx or libstdc++.<br>
> --paulr<br>
<br>
</div></div>My management is not opposed to raising the default to C++14 in 5.0.<br>
Obviously we'll want to crank up our internal testing, and make sure<br>
we have the new library bits in place, but we have time to do that.</blockquote><div><br></div><div>Would you also be prepared to raise the default C standard from C99 to C11 for PS4? Ideally I'd like for us to get the PS4 defaults to match the Clang defaults for other toolchains where possible -- though clearly this change is separate from the change in C++ language standard default. (If I remember correctly, the issue here was the target libc not fully supporting C11.)</div></div></div></div>