[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
Mon Jan 25 10:57: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:  ryandesign
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.4
Resolution:  fixed      |   Keywords:  leopard
      Port:  wget       |
------------------------+------------------------

Comment (by ryandesign):

 Checking on a 10.6 machine, where the compiler is also gcc-4.2, running
 `./configure` outside of MacPorts, the config.log unfortunately provides
 no details about why is incorrectly believes C99 is supported without a
 flag:
 {{{
 configure:5958: checking for gcc option to enable C99 features
 configure:5973: gcc  -c -g -O2  conftest.c >&5
 configure:5973: $? = 0
 configure:5988: result: none needed
 }}}

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


More information about the macports-tickets mailing list