[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 Aug 7 11:13:36 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 akimd):

 I expect to release Bison 3.8 within a few weeks.  I'm ready to roll the
 first betas.  But I'd like to get feedback about my fix proposal and on
 the possible additional changes the test suite might need.

 Here are more recent snapshots:
 -
 https://www.lrde.epita.fr/~akim/private/bison/bison-3.7.6.356-e01a.tar.gz
 -
 https://www.lrde.epita.fr/~akim/private/bison/bison-3.7.6.356-e01a.tar.lz
 -
 https://www.lrde.epita.fr/~akim/private/bison/bison-3.7.6.356-e01a.tar.xz

 Cheers!

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


More information about the macports-tickets mailing list