[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
Thu Jan 9 06:38:36 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      |
------------------------+--------------------
Changes (by kencu):

 * owner:  (none) => kencu
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"421e073d982bbc8461a419183e65a6504dbd6e19/macports-ports"
 421e073d982bbc8461a419183e65a6504dbd6e19/macports-ports] (master):
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="421e073d982bbc8461a419183e65a6504dbd6e19"
 bison: require C11

 the build uses C11 features in the test builds
 and requires newer gcc versions to support the
 pragmas inside functions

 closes: https://trac.macports.org/ticket/59927
 }}}

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


More information about the macports-tickets mailing list