[MacPorts] #61868: libusb @1.0.24: cannot parse USB.h with mainline gcc versions due to variant pragma handling not accepted by gcc
MacPorts
noreply at macports.org
Tue Oct 26 01:22:49 UTC 2021
#61868: libusb @1.0.24: cannot parse USB.h with mainline gcc versions due to
variant pragma handling not accepted by gcc
-----------------------------------+-----------------------
Reporter: dgonyier | Owner: michaelld
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: | Keywords:
Port: libusb, libusb-devel |
-----------------------------------+-----------------------
Comment (by evanmiller):
Threw together a quick PR against LegacySupport:
https://github.com/macports/macports-legacy-support/pull/42
If we can get this merged and rolled into {{{legacy-support-devel}}} then
people can start playing with it.
Inspecting the GCC source, it looks like the relevant pragma-handling code
is basically unchanged from GCC 4.5 through 11 so hopefully the fix will
work everywhere.
--
Ticket URL: <https://trac.macports.org/ticket/61868#comment:55>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list