[Bug target/93082] macOS Authorization.h needs fixinclude
mcccs at gmx dot com
gcc-bugzilla@gcc.gnu.org
Mon Dec 30 06:32:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93082
--- Comment #2 from mcccs at gmx dot com ---
Reported on the "other side" https://bugs.llvm.org/show_bug.cgi?id=44406
Changing it to enum works too, my only doubt is that it has a different width
and sign (but better than not compiling)
Updated patch, thank you Andrew:
fix = {
hackname = darwin_authorization;
mach = "*-*-darwin*";
files = Frameworks/Security.framework/Headers/Authorization.h;
select =
"static const size_t kAuthorizationExternalFormLength = 32;\n";
c_fix = format;
c_fix_arg =
"enum { kAuthorizationExternalFormLength = 32 };\n";
test_text =
"static const size_t kAuthorizationExternalFormLength = 32;\n";
};
More information about the Gcc-bugs
mailing list