[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
Mon Jun 28 14:07:43 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 mascguy):
This ticket piqued my interest, as I was updating one of my old Macs
running 10.4 this weekend.
The problem is, while port `apple-gcc42` is installed (and up-to-date),
`gcc7` is not. So it's frustrating to have a foundational port like
`bison` dependent on a newer GCC, when it sounds (?) like it should be
buildable on gcc 4.2...?
From the various discussion, it sounds like most of the issues were fixed.
How much work would be required to tackle the remaining items?
--
Ticket URL: <https://trac.macports.org/ticket/59927#comment:36>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list