[MacPorts] #59927: bison @3.5 does not build with older gcc versions (gcc-4.2 and similar) because "#pragma GCC diagnostic not allowed inside functions"

MacPorts noreply at macports.org
Thu Jan 9 00:04:00 UTC 2020


#59927: bison @3.5 does not build with older gcc versions (gcc-4.2 and similar)
because "#pragma GCC diagnostic not allowed inside functions"
------------------------+--------------------
  Reporter:  ballapete  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.2
Resolution:             |   Keywords:
      Port:  bison      |
------------------------+--------------------

Comment (by kencu):

 OK, so Leopard does work, Tiger fails for odd reasons. Probably have to
 throw in the __WORDSIZE definition on Tiger, unless we sort out why it is
 needed there in the first place and fix that.

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


More information about the macports-tickets mailing list