[MacPorts] #43745: cctools @855: error: ‘for’ loop initial declaration used outside C99 mode
#43745: cctools @855: error: ‘for’ loop initial declaration used outside C99 mode --------------------------+------------------------ Reporter: ryandesign@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: leopard | Port: cctools --------------------------+------------------------ Building cctools @855 is failing on Leopard (with gcc-4.2) with: {{{ dyld_bind_info.c: In function ‘get_dyld_bind_info’: dyld_bind_info.c:356: error: ‘for’ loop initial declaration used outside C99 mode }}} -- Ticket URL: <https://trac.macports.org/ticket/43745> MacPorts <http://www.macports.org/> Ports system for OS X
#43745: cctools @855: error: ‘for’ loop initial declaration used outside C99 mode ---------------------------+------------------------ Reporter: ryandesign@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: leopard Port: cctools | ---------------------------+------------------------ Comment (by jeremyhu@…): Does it work if you add -std=gnu99 to configure.cflags? -- Ticket URL: <https://trac.macports.org/ticket/43745#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#43745: cctools @855: error: ‘for’ loop initial declaration used outside C99 mode ---------------------------+------------------------ Reporter: ryandesign@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: leopard Port: cctools | ---------------------------+------------------------ Comment (by ryandesign@…): Yup, that's all it needed. Thanks. -- Ticket URL: <https://trac.macports.org/ticket/43745#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#43745: cctools @855: error: ‘for’ loop initial declaration used outside C99 mode ---------------------------+------------------------ Reporter: ryandesign@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: leopard Port: cctools | ---------------------------+------------------------ Changes (by jeremyhu@…): * status: new => closed * resolution: => fixed Comment: r120183 -- Ticket URL: <https://trac.macports.org/ticket/43745#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts