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

Recognize the dbm_open signature without const for a parameter on OpenSUSE #299

Open
Julien-Elie opened this issue Feb 27, 2024 · 0 comments
Labels
bug Something isn't working C: build Related to the build system P: low Low priority
Milestone

Comments

@Julien-Elie
Copy link
Contributor

On OpenSUSE, dbm_open() expects a char * as the file name, instead of a const char *.
A warning is emitted during the build:

ckpasswd.c:171:25: warning: passing argument 1 of 'dbm_open' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
@Julien-Elie Julien-Elie added bug Something isn't working C: build Related to the build system P: low Low priority labels Feb 27, 2024
@Julien-Elie Julien-Elie added this to the 2.7.3 milestone Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working C: build Related to the build system P: low Low priority
Development

No branches or pull requests

1 participant