[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 21:42:09 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 kencu):

 It turns out this code is very very touchy to the exact compiler and
 compiler version used, and for clang, in some cases the standard set.

 You can explore them all here:

 https://godbolt.org/z/5Kv8dehKf


 This has nothing to do with PPC machines, other than the PPC machines
 compile with gcc.

-- 
Ticket URL: <https://trac.macports.org/ticket/65128#comment:23>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list