Re: [MacPorts] #54042: appstream-glib @0.6.10: error: ‘for’ loop initial declaration used outside C99 mode
MacPorts
noreply at macports.org
Sun May 14 14:16:32 UTC 2017
#54042: appstream-glib @0.6.10: error: ‘for’ loop initial declaration used outside
C99 mode
-----------------------------+----------------------
Reporter: dliessi | Owner: dbevans
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: appstream-glib |
-----------------------------+----------------------
Comment (by dliessi):
I tried adding `configure.cflags-append -std=c99`: the original error is
gone, but the build stil fails with many lines like
{{{
:info:build as-node.c:1800: error: ‘AsNodeData’ has no member named
‘cdata’
}}}
Any ideas? Should I try with a later compiler? `macports-gcc-4.9/5/6`?
--
Ticket URL: <https://trac.macports.org/ticket/54042#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list