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

Update Bison to fix Clang error #337

Merged
merged 2 commits into from
Aug 1, 2024
Merged

Conversation

CyanoKobalamyne
Copy link
Collaborator

@CyanoKobalamyne CyanoKobalamyne commented Aug 1, 2024

Clang 16 made implicit function pointer conversions in C an error (they previously emitted a warning). Bison bundles gnulib, which has a file (lib/objstack.c) that violates this in earlier versions. This got fixed with 0cc3971. Bison pulled this fix in in 98c35e0, which is first included in version 3.7.4.

We currently download Bison 3.7 in the contrib script, but the latest macOS image on GitHub has Clang, so this causes errors is CI. Therefore, this PR updates Bison to 3.7.4.

Also see https://code.videolan.org/videolan/vlc/-/merge_requests/2399 for a similar change.

@CyanoKobalamyne CyanoKobalamyne force-pushed the bison-update-clang-error branch from fc2b4e9 to dc41d9a Compare August 1, 2024 19:22
@CyanoKobalamyne CyanoKobalamyne merged commit 3b3435e into main Aug 1, 2024
0 of 4 checks passed
@CyanoKobalamyne CyanoKobalamyne deleted the bison-update-clang-error branch August 1, 2024 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant