[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
Wed Jun 30 12:58:50 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):

 One final thought:

 While it's true that many ports need `gcc7`, most of the key foundational
 ports don't. And by fixing this, users can now build/install `bash` and
 all dependencies, without `gcc7`. That's a win in my book!

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


More information about the macports-tickets mailing list