c++vxworks

C++ 11 in 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.


Solution

  • 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.