[MacPorts] #54042: appstream-glib @0.6.10: error: ‘for’ loop initial declaration used outside C99 mode

MacPorts noreply at macports.org
Wed Apr 26 08:17:20 UTC 2017


#54042: appstream-glib @0.6.10: error: ‘for’ loop initial declaration used outside
C99 mode
---------------------+----------------------------
 Reporter:  dliessi  |      Owner:
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:
 Keywords:           |       Port:  appstream-glib
---------------------+----------------------------
 Build failure on Mac OS X 10.6.8, Xcode 3.2.6.

 Relevant parts of main.log (complete file attached):
 {{{
 :info:build as-app.c: In function ‘as_app_get_format_by_filename’:
 :info:build as-app.c:929: error: ‘for’ loop initial declaration used
 outside C99 mode
 :info:build as-app.c: In function ‘as_app_get_format_by_kind’:
 :info:build as-app.c:952: error: ‘for’ loop initial declaration used
 outside C99 mode
 :info:build as-app.c: In function ‘as_app_get_require_by_value’:
 :info:build as-app.c:1315: error: ‘for’ loop initial declaration used
 outside C99 mode
 }}}
 {{{
 :info:build as-app.c: In function ‘as_app_recalculate_state’:
 :info:build as-app.c:2868: error: ‘for’ loop initial declaration used
 outside C99 mode
 :info:build as-app.c: In function ‘as_app_add_format’:
 [...]
 :info:build as-app.c:2911: error: ‘for’ loop initial declaration used
 outside C99 mode
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/54042>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list