Tizen support for C++ 11 standard

依然范特西╮ 提交于 2019-12-08 10:53:48

问题


I am beginning Tizen application developer.

I would like to know what is current support for C++11 features on Tizen?

When will the C++11 standard be fully supported? Maybe some platform developers could shed a light on that topic.


回答1:


The Tizen 2.3 SDK comes with clang++ version 3.4 and gcc 4.8.

gcc 4.8 is known to not adhere to the C++11 and C++14 standards, clang++ 3.4 is really close to complete for C++11.

However, there's more to C++11 compliance than just the compiler. You also need to have enough support in the C++ library. GCC and Clang have different C++ library projects. As far as I can quickly tell, Tizen 2.3 ships version 2.13 - which is from 2011.

So don't get your hopes up: things like move semantics, std::mutex, std::async will work, but smaller details like thread local storage will not.



来源:https://stackoverflow.com/questions/27527576/tizen-support-for-c-11-standard

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!