vxworks中的C ++ 11 [英] C++ 11 in vxworks

查看:198
本文介绍了vxworks中的C ++ 11的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆