#4586 closed defect (fixed)

4.11/rtems-arm does not build on ubuntu 21.10

Reported by: Chris Johns Owned by: Chris Johns
Priority: normal Milestone: 4.11.4
Component: tool/gcc Version: 4.11
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

The error is:

../../gcc-4.9.3/gcc/reload1.c: In function 'void init_reload()':
../../gcc-4.9.3/gcc/reload1.c:89:24: error: use of an operand of type 'bool' in 'operator++' is forbidden in C++17
   89 |   (this_target_reload->x_spill_indirect_levels)
      |   ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~

Change History (1)

comment:1 Changed on 01/25/22 at 05:58:40 by Chris Johns <chrisj@…>

Resolution: fixed
Status: assignedclosed

In 8aee243/rtems-source-builder:

gcc-4.9: Set the c++ standard to c++11 as the build breaks with later standards

Closes #4586

Note: See TracTickets for help on using tickets.