[Bug 272142] devel/xtensa-esp32-elf: Request lang/gcc as default

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 22 Jun 2023 18:23:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272142

--- Comment #1 from Craig Leres <leres@freebsd.org> ---
The port is locked to gcc10 because the last time I tried gcc11 it failed to
build. I just retested with 11 and 12:

gcc11:

[INFO ]  Installing pass-2 core C gcc compiler
[ERROR]   
/wrkdirs/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.22.0-97-gc752ad5/.build/src/gcc-5.2.0/gcc/reload1.c:115:24:
error: use of an operand of type 'bool' in 'operator++' is forbidden in C++17

gcc12:

[INFO ]  Installing pass-2 core C gcc compiler
[ERROR]   
/wrkdirs/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.22.0-97-gc752ad5/.build/src/gcc-5.2.0/gcc/reload1.c:115:24:
error: use of an operand of type 'bool' in 'operator++' is forbidden in C++17

Is there a way to disable this error?

-- 
You are receiving this mail because:
You are the assignee for the bug.