[MacPorts] #68055: codeblocks fails to build with gcc12 on 10.6 when build as ppc: error: static assertion failed: comparison object must be invocable as const
MacPorts
noreply at macports.org
Mon Aug 28 07:53:43 UTC 2023
#68055: codeblocks fails to build with gcc12 on 10.6 when build as ppc: error:
static assertion failed: comparison object must be invocable as const
---------------------------+-----------------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords: snowleopard ppc
Port: codeblocks |
---------------------------+-----------------------------
Comment (by kencu):
relevant:
https://stackoverflow.com/questions/51235355/comparison-object-being-
invocable-as-const
I don’t see a c++ standard being set on the build line, and in the absence
of one being set gcc-12 will default to gnu++17, which apparently will
trigger this error.
It’s probably already fixed in codeblocks-devel, but you’d have to try it
to see.
--
Ticket URL: <https://trac.macports.org/ticket/68055#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list