[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
Sun Apr 5 06:39:03 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:  kencu
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.2
Resolution:  fixed      |   Keywords:
      Port:  bison      |
------------------------+--------------------

Comment (by akimd):

 Sorry about the `yyscan_t` failure, I was really stupid.  This tarball
 should really fix it this time.

 https://www.lrde.epita.fr/~akim/private/bison/bison-3.5.3.14-6788.tar.gz
 https://www.lrde.epita.fr/~akim/private/bison/bison-3.5.3.14-6788.tar.xz

 For the other one, this involves gnulib, it would take more time to
 address it.  But it was my understanding that it's not urgent if the stock
 compiler can be used, right?

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


More information about the macports-tickets mailing list