-
Notifications
You must be signed in to change notification settings - Fork 189
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
-Wignored-attributes
error with old clang
#1947
Comments
Thanks for the report. Does setting |
Yes, it does for build of libavif itself. (The thing is though, the public header is the offender.) |
Using godbolt, I could figure out clang 3.9.0 was the first one to introduce the behavior for enums. |
vrabaud
added a commit
to vrabaud/libavif
that referenced
this issue
Jan 18, 2024
…ng >= 3.9.0 This fixes AOMediaCodec#1947
vrabaud
added a commit
to vrabaud/libavif
that referenced
this issue
Jan 18, 2024
godbolt shows that's when it was also define for enums. This fixes AOMediaCodec#1947
vrabaud
added a commit
that referenced
this issue
Jan 18, 2024
godbolt shows that's when it was also define for enums. This fixes #1947
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With clang 3.4.2, I got the following error:
Seems to be after #1655
Removing
AVIF_NODISCARD
fromavifResult
enum makes the build to succeed.The text was updated successfully, but these errors were encountered: