Re: [MacPorts] #63231: mpg123 @1.28.0: /audio.c:352: error: ‘for’ loop initial declaration used outside C99 mode

MacPorts noreply at macports.org
Thu Jul 8 14:20:46 UTC 2021


#63231: mpg123 @1.28.0: /audio.c:352: error: ‘for’ loop initial declaration used
outside C99 mode
---------------------+---------------------------------------
  Reporter:  kencu   |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:  tiger leopard snowleopard
      Port:  mpg123  |
---------------------+---------------------------------------

Comment (by jmroot):

 According to https://www.mpg123.de/hacking.shtml the code is supposed to
 be C89. But the committed fix for this issue, which will be in 1.28.1, is
 to enable C99 mode in the configure script:
 https://github.com/madebr/mpg123/commit/fbbf27ae6d45d591af6fd72cdade8a43694d4661

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


More information about the macports-tickets mailing list