Re: [MacPorts] #66256: py-pygit2 does not build with gcc-4.2: error: ‘for’ loop initial declaration used outside C99 mode

MacPorts noreply at macports.org
Sun Apr 30 21:49:37 UTC 2023


#66256: py-pygit2 does not build with gcc-4.2: error: ‘for’ loop initial
declaration used outside C99 mode
---------------------------+----------------------------------
  Reporter:  barracuda156  |      Owner:  dbevans
      Type:  defect        |     Status:  closed
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.0
Resolution:  fixed         |   Keywords:  leopard, snowleopard
      Port:  py-pygit2     |
---------------------------+----------------------------------

Comment (by jmroot):

 It would work with very old gccs as long `-std=c99` is used.

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


More information about the macports-tickets mailing list