[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 Sep 7 06:55:11 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 kencu):
Fedora may be right in some respects, but this pragma issue still lives
on, and has never been fixed in gcc:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50909
the Darwin build spec happens with the host/target options, and are
correctly set, and there are no other I know of re: pragmas.
So - no bueno.
Re stdatomic.h ... as of a certain version clang turned off their
(somewhat flawed) atomic support in compiler-rt, and it was broken for
32bit build targets, but I've been turning it back on gradually.
--
Ticket URL: <https://trac.macports.org/ticket/61868#comment:44>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list