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

Also suppress no-gnu-zero-variadic-macro-arguments warnings for MacOs. #4023

Merged
merged 3 commits into from
Jun 7, 2023

Conversation

fruffy
Copy link
Collaborator

@fruffy fruffy commented Jun 6, 2023

Get rid of the excessive printing of warnings for MacOS. Also add notes for some other spurious warnings. Unfortunately, we can not get rid of the Bison .ypp warning until we deprecate Ubuntu 18.04.

This PR also coincidentally fixes a breaking change introduced by Protobuf in version 22.x. Protobuf now also pulls in Abseil, which we currently do not require and thus we run into undefined symbol errors. So far, this issue only occurs with MacOS builds, but may become a problem for all other builds in the future.

Protobuf is a really problematic, huge dependency, I wish we could get rid of it.

@fruffy fruffy force-pushed the fruffy/macos_warning branch 8 times, most recently from 4c91863 to 0eaf799 Compare June 6, 2023 23:28
@fruffy fruffy force-pushed the fruffy/macos_warning branch from 0eaf799 to 8c341d7 Compare June 7, 2023 00:36
@fruffy fruffy requested a review from jafingerhut June 7, 2023 00:38
Copy link
Contributor

@jafingerhut jafingerhut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caveat: I have never built p4c on macOS, nor looked at these scripts before. However, I trust Fabian and the macOS CI tests are passing :-)

@fruffy fruffy merged commit 28978af into main Jun 7, 2023
@fruffy fruffy deleted the fruffy/macos_warning branch June 7, 2023 17:19
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.

2 participants