[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
Wed Mar 27 02:39:05 UTC 2024


#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 barracuda156):

 Replying to [comment:3 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.
 >

 Thank you, I will try it.

 P. S. Same error with gcc13, though nothing to be surprised about.

-- 
Ticket URL: <https://trac.macports.org/ticket/68055#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list