[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 Jul 28 14:23:11 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):
Akim, circling back on this, as we'd ideally like to have the tests
compile and run using gcc-4.2 as well. And while not absolutely necessary
- we worked around it by disabling tests by default, and requiring a newer
GCC when those are enabled - that's not great either.
Any thoughts?
--
Ticket URL: <https://trac.macports.org/ticket/59927#comment:44>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list