On 2024-09-17 22:31, Jason Merrill via Gcc wrote:
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

Hi Jason,

Today, the bootstrap requirement is C++11 (see configure.ac [1]).
Most of the people in this thread seemed to agree around mid-September with changing the bootstrap requirements from C++11 to C++14.
What was the final decision (if any) ?
Can the bootstrap requirement be increased to C++14 ?

[1]: https://github.com/gcc-mirror/gcc/blob/master/configure.ac#L1460-L1471

Regards,
Matthieu.

Reply via email to