[MacPorts] #65128: xar @1.8.0.487.100.1: error: variable-sized object may not be initialized
MacPorts
noreply at macports.org
Sat May 7 18:25:19 UTC 2022
#65128: xar @1.8.0.487.100.1: error: variable-sized object may not be initialized
-------------------------+-------------------------------------------------
Reporter: | Owner: Schamschula
barracuda156 |
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: | Keywords: powerpc, tiger, leopard,
Port: xar | snowleopard
-------------------------+-------------------------------------------------
Comment (by ryandesign):
Replying to [comment:14 Schamschula]:
> Hence, I tried setting {{{compiler.c_standard 2011}}}, which worked for
all Intel and Apple SoC machines.
What worked was removing `-std=c99`, returning clang to its default
`-std=gnu99` mode; requiring a 2011 compiler does not seem to be relevant
since c11 mode is not being enabled via `-std=c11`.
--
Ticket URL: <https://trac.macports.org/ticket/65128#comment:19>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list