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

Disable -Wregister on gperf output #1866

Merged
merged 2 commits into from
Apr 28, 2024
Merged

Conversation

brndnmtthws
Copy link
Owner

Older versions of gperf use the register keyword which is deprecated in C++17, and warnings are treated as errors.

This disables the warning on gperf's output (colour-names.hh). I also renamed colour-names.cc -> colour-names.hh because we're including it as a header, not compiling it separately.

This resolves #1865.

Older versions of gperf use the `register` keyword which is deprecated
in C++17, and warnings are treated as errors.

This disables the warning on gperf's output (colour-names.hh). I also
renamed `colour-names.cc` -> `colour-names.hh` because we're including
it as a header, not compiling it separately.

This resolves #1865.
@github-actions github-actions bot added sources PR modifies project sources build system Issues and PRs related to build system (CMake) and process labels Apr 28, 2024
Copy link

netlify bot commented Apr 28, 2024

Deploy Preview for conkyweb canceled.

Name Link
🔨 Latest commit 6c4aea0
🔍 Latest deploy log https://app.netlify.com/sites/conkyweb/deploys/662e69517d157b00081c37ea

@brndnmtthws brndnmtthws added the bug Bug report or bug fix PR label Apr 28, 2024
@brndnmtthws brndnmtthws merged commit ef3ed8c into main Apr 28, 2024
62 checks passed
@brndnmtthws brndnmtthws deleted the disable-register-warning branch April 28, 2024 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug report or bug fix PR build system Issues and PRs related to build system (CMake) and process sources PR modifies project sources
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant