[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 00:03:04 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: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Resolution: | Keywords:
Port: bison |
------------------------+--------------------
Comment (by kencu):
but throwing in the definition to {{{lib/libc-config.h}}}, works:
{{{
#define __WORDSIZE 32
}}}
bison does some trickery in `libc-config.h` that I don't fully understand
to not include some standard headers...
--
Ticket URL: <https://trac.macports.org/ticket/59927#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list