[MacPorts] #59927: bison @3.5 does not build on PPC Tiger, Mac OS X 10.4.11, because "#pragma GCC diagnostic not allowed inside functions"

MacPorts noreply at macports.org
Wed Jan 8 17:55:03 UTC 2020


#59927: bison @3.5 does not build on PPC Tiger, Mac OS X 10.4.11, because "#pragma
GCC diagnostic not allowed inside functions"
------------------------+--------------------
  Reporter:  ballapete  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.2
Resolution:             |   Keywords:  tiger
      Port:  bison      |
------------------------+--------------------

Comment (by kencu):

 Changing the test to disable the macro indeed fixes it.

 BTW, you don't need Tiger to test this. Just force a build with any
 gcc-4.2 version, eg on Lion:
 {{{
 sudo port -v destroot bison configure.compiler=llvm-gcc-4.2
 }}}

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


More information about the macports-tickets mailing list