[cmake-developers] Add CXX_STANDARD support for Intel C++ compilers

Levi Morrison morrison.levi at gmail.com
Tue Nov 17 17:09:41 EST 2015


On Tue, Nov 17, 2015 at 2:38 PM, Brad King <brad.king at kitware.com> wrote:

> On 11/17/2015 04:34 PM, Levi Morrison wrote:
> > On Tue, Nov 17, 2015 at 2:07 PM, Levi Morrison wrote:
> >>> icpc: command line warning #10159: invalid argument for option '-std'
> >> Hmm. Can you tell me what the value of -std was for that invocation?
> >
> > Hazarding a guess I think it might be gnu++14 – can you confirm this?
>
> It was `-std=c++14`.  I'm using:
>
>  $ icpc --version
>  icpc (ICC) 15.0.0 20140723
>
> According to the `man icpc` page there is no -std=c++14 option.
>
> -Brad
>
>
It seems it was added in either 15.0.1 or 15.0.2. I can't find it in the
documentation. For now I will tell it 15.0.2 which I can confirm works.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20151117/3e030877/attachment.html>


More information about the cmake-developers mailing list