Re: [MacPorts] #66904: cairo @1.17.6 fails to build with gcc-4.2: cairo-svg-surface.c: error: ‘for’ loop initial declaration used outside C99 mode

MacPorts noreply at macports.org
Tue Feb 28 04:39:16 UTC 2023


#66904: cairo @1.17.6 fails to build with gcc-4.2: cairo-svg-surface.c: error:
‘for’ loop initial declaration used outside C99 mode
---------------------------+---------------------------
  Reporter:  barracuda156  |      Owner:  ryandesign
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.1
Resolution:                |   Keywords:  tiger leopard
      Port:  cairo         |
---------------------------+---------------------------

Comment (by kencu):

 However, if it is upstream's intention to have the software confirm to the
 c99 standard, they should use and require it all the time, on all systems,
 and with all compilers.

 Nothing to do with Tiger, Leopard, Snow Leopard, or PowerPC.

 If the cairo project wants to adhere to a certain C standard, however, it
 not visible after 10 minutes perusing their documentation or source code.

 https://cgit.freedesktop.org/cairo/tree/

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


More information about the macports-tickets mailing list