AnsweredAssumed Answered

Using c++14?

Question asked by Michael Koller on Nov 6, 2016
Latest reply on Nov 16, 2016 by ZhangJennie

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

Outcomes