Do you have any plans for starting to support C++11 features? It seems the latest release supports mostly C++98, so not even C++03 which was mostly a bugfix release for the standard.
The new standard has nice improvements, including usability, performance enhancements, and so forth. Many people began to write C++11 code, as other compilers (i.e. gcc, msvc, clang) seem to support it nicely. It would be nice if the porting would become easier.
I am not sure this is the right place for expressing the need and to get people voting to highlight the importance of this issue. Please feel free to suggest me a place if there is a better alternative. :)
Thank you for considering this inquiry.
In reply to George Mock:
Thank you, George.
One more question: will std::array be supported?
In reply to Pibe:
I guess std::array is one of the more boring library additions, as far as I can see it's trivial to implement in C++98 (in fact, boost introduced it a long time before C++11).
(Still dreaming of having rvalue references and move semantics... sigh)
std::array is an integral addition to the C++ STL for these versions, and will be supported. However, we are currently in the planning stages of C++11/C++14 support and cannot commit to a specific date.
I haven't seen an announcement yet. It's worth noting that other embedded compilers such as IAR now offer support for C++ 14 in addition to C++ 11.
Can GNU Compiler support C++11?
This is my Project Properties:
Error is still:
#error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
In reply to Anh Pham48:
Are you using the ARM GCC compiler that comes with CCS? Or the MSP430 GCC compiler?
Thanks and regards,
TI C/C++ Compiler Forum ModeratorPlease click Verify Answer on the best reply to your questionThe CCS Youtube Channel has short how-to videosThe Compiler Wiki answers most common questionsTrack an issue with SDOWP. Enter your bug id in the Search box.
I use ARM GCC compiler:
The ARM GCC compiler shipped with CCS 7.0 is version 4.9.3. The following quote comes from the GCC manual for version 4.9.4 ...
GCC supports the original ISO C++ standard (1998) and contains experimental support for the second ISO C++ standard (2011).
George Mock However, we are likely to make an announcement later this year.
Any news on this topic?
In reply to Roman Karlstetter:
Initial support for C++11 and C++14 is planned to be available in the TI ARM and MSP430 compilers by the end of 2017. Most features will be available, except for threads and atomics. Full details will be available with the release.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.