[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 Apr 1 06:02:11 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):

 Hi,

 I'm the Bison upstream maintainer.

 Why on Earth this was never reported to bug-bison at gnu.org?  I was told
 about this issue *today*, three all months afterwards.  As you may have
 noticed, we make quite frequent bug fix releases, the last one being
 3.5.3.  We should have known about this earlier, the bugs/issues would
 have been fixed long ago.

 Bison does not require C11 to build.

 None of these errors are visible on our CI.  We need your input to improve
 Bison.  Please, work with us.

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


More information about the macports-tickets mailing list