Repository navigation
include/cephfs/libcephfs.h: pop ignored warning back - #69029
Merged
Merged
Conversation
4 of 14 tasks
tchaikov
reviewed
May 22, 2026
MaxKellermann
force-pushed
the
cephfs__pop_warnings
branch
from
May 28, 2026 06:05
c6cf31a to
23d8b6c
Compare
chrisphoffman
approved these changes
Jun 24, 2026
chrisphoffman
left a comment
Contributor
There was a problem hiding this comment.
The depreciated warning now shows up for function calls such as ceph_stat.
Nice find.
Contributor
|
This PR has been added to main integration testing by choffman started 2026-07-15-15:47. |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
Commit 9f44ca3 ("libcephfs: mark ceph_stat() family functions deprecated") added a `#pragma` to ignore `-Wdeprecated-declarations`, but forgot to `pop` it back at the end of the header. That led to this warning being disabled globally - the opposite effect of what this commit was supposed to do (enable more deprecation warnings). Since this re-enables the warnings in places where they happened to be ignored, a new `#pragma` needs to be added to `src/test/libcephfs/test.cc` in order to avoid (expected) deprecation warnings there. Signed-off-by: Max Kellermann <[email protected]>
MaxKellermann
force-pushed
the
cephfs__pop_warnings
branch
from
August 20, 2026 14:41
23d8b6c to
3af34e5
Compare
Member
Author
|
jenkins test make check arm64 |
Contributor
|
This PR has been added to main integration testing by vshankar started 2026-09-02-13:52. |
vshankar
approved these changes
Sep 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Commit 9f44ca3 ("libcephfs: mark ceph_stat() family functions deprecated") added a
#pragmato ignore-Wdeprecated-declarations, but forgot topopit back at the end of the header.That led to this warning being disabled globally - the opposite effect of what this commit was supposed to do (enable more deprecation warnings).
Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windowsjenkins test rook e2e