-
Notifications
You must be signed in to change notification settings - Fork 77
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
gcc-11 and "declared with mismatched bound" warnings #79
Comments
It seems like other people have been running into similar problems in other code bases: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101605 It seems like a faulty |
Lines such as
I rewrote as
and got the same warning |
How about removing the whole thing (i.e. `char* const
argv[MUNIT_ARRAY_PARAM(argc + 1)]` -> `char* const argv[]`)? Did you try
this?
|
munit hits some new warnings in gcc-11:
I do not yet understand why
argc + 1
would be different fromargc +1
. Still happens even if I removeMUNIT_ARRAY_PARAM
-- which of course it does because on my platform that macro does nothing.The text was updated successfully, but these errors were encountered: