Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/Authorization.h:193:14: error: variably modified 'bytes' at file scope #8

Open
cooljeanius opened this issue May 14, 2022 · 3 comments

Comments

@cooljeanius
Copy link
Owner

cross-referencing from here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93082

In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/AuthSession.h:32,
                 from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/Security.h:42,
                 from ./macosx/macosx-nat-inferior.c:2649:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/Authorization.h: At top level:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/Authorization.h:193:14: error: variably modified 'bytes' at file scope
  193 |         char bytes[kAuthorizationExternalFormLength];
      |              ^~~~~
make[1]: *** [macosx-nat-inferior.o] Error 1
make: *** [all-gdb] Error 2
@apinski-cavium
Copy link

Cross referenced to the open radar #:
https://openradar.appspot.com/radar?id=4952611266494464

@cooljeanius
Copy link
Owner Author

(to be clear, this is just an issue when building with gcc; clang compiles the file successfully, but often runs into other issues. I'm adding the "help wanted" tag not because I think there's anything further to be done here, but just to draw greater attention to it in the hopes that Apple hurries up on their end)

@cooljeanius
Copy link
Owner Author

This error now gets drowned out by other warnings, because I haven't fixed gcc bug 108310 yet: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108310

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants