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

Drop unused constants to make newer versions of clang happy #37970

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

krinkinmu
Copy link
Contributor

Commit Message:

On newer version of Clang those generate a warning and with the settings we use ultimately result in a compilation failure.

We probably should either disable the warning or just adjust the test. Looking at the history of the test, it seems that these constants have never been used, so I prefer to just drop them.

Additional Description:

It's related to #37911, it appears that the compiler warning that causes this test fail to compile on clang 18 didn't exist in clang 14 that we are currently using.

Risk Level: Low
Testing: by running changed test
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

On newer version of Clang those generate a warning and with the settings
we use ultimately result in a compilation failure.

We probably should either disable the warning or just adjust the test.
Looking at the history of the test, it seems that these constants have
never been used, so I prefer to just drop them.

Signed-off-by: Mikhail Krinkin <[email protected]>
@jmarantz jmarantz self-assigned this Jan 13, 2025
@jmarantz jmarantz merged commit 77bc35a into envoyproxy:main Jan 13, 2025
24 checks passed
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