Using c++14?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Using c++14?

964件の閲覧回数
michaelkoller
Contributor III

Hello!

Part of my current K64F project using Kinetis Design Studio under Ubuntu is written in C++, where it uses syntax available since c++14.

I tried a few things, for example:

-- properties -> cross arm c++ compiler -> optimization -> language standard -> next gnu iso c++ (-std=gnu++1y)

-- properties -> c/c++ genereal -> preprocessor include paths, macros, etc. -> providers -> cdt gcc built in... -> add "-std=c++14" without quotation marks at the end of the "command to get compiler specs" line

--g++5 installed

 

But I still get compile errors. The compiler does not recognize the new language standard. Where do I have to change the setting?

 

Best regard and thanks,

Michael

ラベル(1)
0 件の賞賛
返信
1 返信

790件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

HI,

I use KDS for windows but I can't reproduce your issue.

Can you please specify your steps of below with screenshot?

-- properties -> c/c++ genereal -> preprocessor include paths, macros, etc. -> providers -> cdt gcc built in... -> add "-std=c++14" without quotation marks at the end of the "command to get compiler specs" line

--g++5 installed

can you send me the screenshot of error message?

Best Regards,

Jennie

0 件の賞賛
返信