vxworks中的C ++ 11 [英] C++ 11 in vxworks
问题描述
我是VxWorks的新手,我正在使用VxWorks平台中的C ++开发一个软件。我想知道VxWorks编译器是否支持C ++ 11标准。我问这个问题的原因是因为没有shrink_to_fit()std :: vector函数可用(此函数在c ++ 11标准中引入)。所以我想知道是否有任何方法来编译代码与C ++ 11标准在VxWorks中。
I am new to VxWorks and I am developing a software using C++ in VxWorks platform. I want to know whether VxWorks compiler supports C++ 11 standard. The reason I am asking this question is because there is no shrink_to_fit() std::vector function available(this function is introduced in c++ 11 standard). So I want to know is there any way to compile the code with C++ 11 standard in VxWorks.
推荐答案
有商业版本g ++可用于vxWorks,它们支持c ++ 11。据我所知,这些g ++端口可用于vxWorks 7.0或更高版本。
There are commercial versions of g++ available for vxWorks, which are supporting c++11. As far as I know these ports of g++ are available for vxWorks 7.0 or higher.
这篇关于vxworks中的C ++ 11的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!