[Bug target/93082] macOS Authorization.h needs fixinclude

iains at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun May 15 19:44:36 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93082

--- Comment #11 from Iain Sandoe <iains at gcc dot gnu.org> ---
Created attachment 52980
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52980&action=edit
work in progress patch for this case

 * this is not finished (needs to be conditional on a compatibility flag)
 * might not be acceptable upstream (depending on whether other maintainers are
willing to accept clang extension work-arounds). 

However, AFAICS this 'extension' would affect all targets if they were
presented with such input (so that this is not actually a Darwin-specific
problem) - it's just that we see it in the headers.

The patch is against recent master, but I'd expect it to apply reasonably
easily to 12.1, 11.3 and 10.x.


More information about the Gcc-bugs mailing list