[MacPorts] #67729: lzma is broken now with Apple GCC: error: #pragma GCC diagnostic not allowed inside functions

MacPorts noreply at macports.org
Tue Jul 11 01:26:13 UTC 2023


#67729: lzma is broken now with Apple GCC: error: #pragma GCC diagnostic not
allowed inside functions
---------------------------+-----------------------------------------
  Reporter:  barracuda156  |      Owner:  ryandesign
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.1
Resolution:                |   Keywords:  tiger, leopard, snowleopard
      Port:  lzma          |
---------------------------+-----------------------------------------

Comment (by kencu):

 or just blacklist gcc versions prior to gcc 4.5, and you won't run into
 the problem.

 but given upstream seems to want to do it right, perhaps they will be
 interested improving their test.

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


More information about the macports-tickets mailing list