[cfe-dev] Compiling with C++14 support

Nikola Smiljanic popizdeh at gmail.com
Sat Jun 27 00:37:39 PDT 2015


Try c++1y instead of c++14, the switch was renamed once C++14 was
officially standardized.

On Sat, Jun 27, 2015 at 1:21 PM, Edward Diener <
eldlistmailingz at tropicsoft.com> wrote:

> On 6/26/2015 11:10 PM, Edward Diener wrote:
>
>> How do I specify C++14 support on the command-line using clang++ ? I
>> tried '-std=c++14' but received:
>>
>> error: invalid value 'c++14' in '-std=c++14'
>>
>
> I can see that -std=c++14 works on clang 3.5+. I will assume that clang
> 3.4 does not have c++14 support.
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150627/2044423c/attachment.html>


More information about the cfe-dev mailing list