[cfe-dev] Setting default dialect to C++11

James Y Knight via cfe-dev cfe-dev at lists.llvm.org
Fri Mar 3 09:36:50 PST 2017


If we changed the default for all targets, we can stop debating whether it
makes sense to change it only for PS4...at least for now... :)

On Fri, Mar 3, 2017 at 12:20 PM, Mehdi Amini via cfe-dev <
cfe-dev at lists.llvm.org> wrote:

>
> On Mar 2, 2017, at 10:57 PM, Robinson, Paul <paul.robinson at sony.com>
> wrote:
>
> Obviously in some cases target-specific defaults make a lot of sense --
> for instance if we know that a target or its ABI or toolchain simply
> doesn't support some feature, or needs special support for something -- but
> in the absence of a strong reason, we should generally aim for all targets
> to behave roughly the same.
>
> And in our case, the PS4 target simply doesn't support dialects other than
> C++11, therefore the target-specific default makes sense.
>
>
> I gave an alternative view that shows that “it makes sense” is not obvious.
>
>> Mehdi
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20170303/8137c7cb/attachment.html>


More information about the cfe-dev mailing list