[MacPorts] #74210: spice-gtk fails to build: error: 'for' loop initial declarations are only allowed in C99 or C11 mode

MacPorts noreply at macports.org
Mon Jul 13 00:35:36 UTC 2026


#74210: spice-gtk fails to build: error: 'for' loop initial declarations are only
allowed in C99 or C11 mode
---------------------------+--------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.12.5
Resolution:                |   Keywords:
      Port:  spice-gtk     |
---------------------------+--------------------

Comment (by barracuda156):

 `-std=gnu11` fixes it.

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


More information about the macports-tickets mailing list