[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 17:44:33 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 Schamschula):
As I researched the original issue, I saw similar posts regarding variable
sized arrays.
However, as the code is from Apple, and it cleanly compiled under Big Sur
and Monterey, I guessed that new compilers accepted this code. Hence, I
tried setting {{{compiler.c_standard 2011}}}, which worked for all Intel
and Apple SoC machines.
--
Ticket URL: <https://trac.macports.org/ticket/65128#comment:14>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list