[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
Sat Jul 31 17:18:27 UTC 2021


#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:  kencu
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.2
Resolution:  fixed      |   Keywords:
      Port:  bison      |
------------------------+--------------------

Comment (by mascguy):

 Akim, I'll rebuild on my old Mac, and provide a log based on the latest
 Bison release.

 In the interim, take a look at comment:29. I believe that's the same
 failure I encountered a few weeks ago, but I'll still provide an up-to-
 date log regardless. More to follow.

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


More information about the macports-tickets mailing list