[MacPorts] #61613: xorg-libX11 @1.7.0 does not build on PPC Leopard, Mac OS X 10.5.8, because "error: #pragma GCC diagnostic not allowed inside functions"

MacPorts noreply at macports.org
Tue Nov 24 05:42:54 UTC 2020


#61613: xorg-libX11 @1.7.0 does not build on PPC Leopard, Mac OS X 10.5.8, because
"error: #pragma GCC diagnostic not allowed inside functions"
--------------------------+---------------------
  Reporter:  ballapete    |      Owner:  kencu
      Type:  defect       |     Status:  closed
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.6.4
Resolution:  fixed        |   Keywords:  leopard
      Port:  xorg-libX11  |
--------------------------+---------------------

Comment (by kencu):

 gcc7 would have been fine, Peter -- and we can see that coming -- but it
 turned out that (for now) there was just the one pragma to move so I
 elected to do that instead and keep this software building with the older
 compilers for now.

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


More information about the macports-tickets mailing list