-
Notifications
You must be signed in to change notification settings - Fork 76
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
First time compilation error #77
Comments
outsider comment; feel free to ignore This kind of makes sense:
However, something concerning is this error message (the one you mention):
This is actually coming from a macOS header, i.e. one not provided by or modified by
P.S. @nagyj2 May I confirm what you seem to state, that you're using macOS 11.4 (not 10.4)? |
It looks like VLAs (variable-length arrays) are not supported in this particular GCC version for macOS. It also looks like the macOS headers assume that the compiler supports VLAs as |
I downloaded munit and included the .c file in my sources and the header in my includes but when I went to compile, I got an error message saying "error: variably modified 'bytes' at file scope" and a few warnings. Here is a paste of the error message. I am on Intel MacOS 11.4 using C11 with GCC.
The text was updated successfully, but these errors were encountered: