Date: Mon, 30 Jun 2025 13:45:36 +0100
On Mon, Jun 30, 2025 at 1:25 PM Sebastian Wittmeier wrote:
>
> What C++ standard do they currently support?
The manual for the compiler I use for the microcontrollers is here:
https://www.ti.com/lit/ug/spru514z/spru514z.pdf
And here's the relevant excerpt:
"The compiler uses the C++03 version of the C++ standard. See the C++ Standard
ISO/IEC 14882:2003. The language is also described in Ellis and
Stroustrup's The
Annotated C++ Reference Manual (ARM), but that is not the standard.
For a description
of unsupported C++ features, see Section 6.2. • ISO-standard run-time
support: The
compiler tools come with an extensive run-time library. Library
functions conform to the
ISO C/C++ library standard unless otherwise stated. The library
includes functions for
standard input and output, string manipulation, dynamic memory allocation, data
conversion, timekeeping, trigonometry, and exponential and hyperbolic
functions. Functions
for signal handling are not included, because these are target-system
specific. For more
information, see Chapter 8. See Section 6.14 for command line options
to select the C
or C++ standard your code uses."
In reality though I use C++11 stuff on this compiler all the time, and
I just get a compiler warning saying "Warning: using a C++11 feature".
So this particular compiler is about 15 - 20 years behind. So maybe
when we're using C++38, they'll be catching up with C++20.
>
> What C++ standard do they currently support?
The manual for the compiler I use for the microcontrollers is here:
https://www.ti.com/lit/ug/spru514z/spru514z.pdf
And here's the relevant excerpt:
"The compiler uses the C++03 version of the C++ standard. See the C++ Standard
ISO/IEC 14882:2003. The language is also described in Ellis and
Stroustrup's The
Annotated C++ Reference Manual (ARM), but that is not the standard.
For a description
of unsupported C++ features, see Section 6.2. • ISO-standard run-time
support: The
compiler tools come with an extensive run-time library. Library
functions conform to the
ISO C/C++ library standard unless otherwise stated. The library
includes functions for
standard input and output, string manipulation, dynamic memory allocation, data
conversion, timekeeping, trigonometry, and exponential and hyperbolic
functions. Functions
for signal handling are not included, because these are target-system
specific. For more
information, see Chapter 8. See Section 6.14 for command line options
to select the C
or C++ standard your code uses."
In reality though I use C++11 stuff on this compiler all the time, and
I just get a compiler warning saying "Warning: using a C++11 feature".
So this particular compiler is about 15 - 20 years behind. So maybe
when we're using C++38, they'll be catching up with C++20.
Received on 2025-06-30 12:45:47