[MacPorts] #62134: wget @1.21.1 does not build on PPC Leopard, Mac OS X 10.5.8, because of "error: 'for' loop initial declaration used outside C99 mode'"

MacPorts noreply at macports.org
Sat Jan 23 20:02:06 UTC 2021


#62134: wget @1.21.1 does not build on PPC Leopard, Mac OS X 10.5.8, because of
"error: 'for' loop initial declaration used outside C99 mode'"
------------------------+---------------------
  Reporter:  ballapete  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.4
Resolution:             |   Keywords:  leopard
      Port:  wget       |
------------------------+---------------------

Comment (by ballapete):

 > Here the re-declaration of `param` looks faulty since its type is known
 from the function's definition.

 Which is a faulty assumption:

 {{{
 progress.c: In function 'bar_set_params':
 progress.c:1378: error: 'param' undeclared (first use in this function)
 progress.c:1378: error: (Each undeclared identifier is reported only once
 progress.c:1378: error: for each function it appears in.)
 }}}

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


More information about the macports-tickets mailing list