On 9/16/24 11:14 AM, Florian Weimer wrote:
* Jason Merrill via Gcc:

We moved to a bootstrap requirement of C++11 in GCC 11, 8 years after
support was stable in GCC 4.8.

Note that some documentation still says C++03, for example:

| The directories gcc, libcpp and fixincludes may use C++03. They may
| also use the long long type if the host C++ compiler supports
| it. These directories should use reasonably portable parts of C++03,
| so that it is possible to build GCC with C++ compilers other than GCC
| itself. If testing reveals that reasonably recent versions of non-GCC
| C++ compilers cannot compile GCC, then GCC code should be adjusted
| accordingly. (Avoiding unusual language constructs helps immensely.)
| Furthermore, these directories should also be compatible with C++11.

<https://gcc.gnu.org/codingconventions.html#Portability>

I think this is just out of date.

Indeed. I had a patch to fix this in my local tree since January, which I have now finally pushed.

Jason

Reply via email to