This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

  • Resolved

C++11 support

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.

  • Expert 1615 points

    In reply to George Mock:

    Thank you, George.

    One more question: will std::array be supported?

    Thanks again,

    Pibe

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

    Markus

    (Still dreaming of having rvalue references and move semantics... sigh)

  • In reply to Pibe:

    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.

  • In reply to George Mock:

    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.

    www.iar.com/.../

  • In reply to George Mock:

    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,

    -George


    TI C/C++ Compiler Forum Moderator
    Please click This Resolved My Issue on the best reply to your question
    The CCS Youtube Channel
     has short how-to videos
    The 
    Compiler Wiki answers most common questions
    Track an issue with SDOWP. Enter your bug id in the Search box.

  • In reply to George Mock:

    Hi,

    I use ARM GCC compiler:

  • In reply to Anh Pham48:

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

    Thanks and regards,

    -George


    TI C/C++ Compiler Forum Moderator
    Please click This Resolved My Issue on the best reply to your question
    The CCS Youtube Channel
     has short how-to videos
    The 
    Compiler Wiki answers most common questions
    Track an issue with SDOWP. Enter your bug id in the Search box.

  • In reply to George Mock:

    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.

    Thanks and regards,

    -George


    TI C/C++ Compiler Forum Moderator
    Please click This Resolved My Issue on the best reply to your question
    The CCS Youtube Channel
     has short how-to videos
    The 
    Compiler Wiki answers most common questions
    Track an issue with SDOWP. Enter your bug id in the Search box.

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.