[MacPorts] #70874: icmake @9.03.01: Does not install /opt/local/libexec/icmake/icm-exec
MacPorts
noreply at macports.org
Mon Sep 30 07:19:11 UTC 2024
#70874: icmake @9.03.01: Does not install /opt/local/libexec/icmake/icm-exec
---------------------------+----------------------
Reporter: barracuda156 | Owner: larryv
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.10.1
Resolution: | Keywords: powerpc
Port: icmake |
---------------------------+----------------------
Comment (by ryandesign):
Replying to [comment:5 ryandesign]:
> {{{
> error: ‘Variable’ has no member named ‘data’
> }}}
Preceding this, the log contains:
{{{
../../rss/types.ih:243: warning: declaration does not declare anything
../../rss/types.ih:249: warning: declaration does not declare anything
../../rss/types.ih:259: warning: declaration does not declare anything
}}}
and these line numbers correspond to the ends of three anonymous unions,
the third of which is one that defines the `data` member in the `Variable`
struct.
According to https://mingw-users.narkive.com/kWqZRpk4/declaration-does-
not-declare-anything and https://stackoverflow.com/questions/3228104
/anonymous-union-within-struct-not-in-c99 such anonymous unions are an
extension, not part of the C standard.
These warnings and this error were not seen in your June build attempt
because gcc 4.2 defaults to `gnu89` mode (C89 with GNU extensions,
presumably including support for anonymous unions). Then, after you set
the compiler to `c99` mode (C99 without GNU extensions), this problem
appeared. The fix would be to use `gnu99` mode (C99 with GNU extensions).
--
Ticket URL: <https://trac.macports.org/ticket/70874#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list