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

MacPorts noreply at macports.org
Sun Jul 18 01:53:58 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 ryandesign):

 According to https://savannah.gnu.org/support/?110425 autoconf 2.70 had a
 bug where it did not add the `-std=gnu99` flag when needed but it was
 fixed in autoconf 2.71. I'm not sure if `AC_PROG_CC_C99` (as in the above
 mpg123 commit) or something else needs to be added to cause that to
 happen. It's also fine if we add the flag ourselves in the portfile.

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


More information about the macports-tickets mailing list