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

Set more config options when building c89 #296

Merged
merged 2 commits into from
May 1, 2024
Merged

Conversation

mkj
Copy link
Owner

@mkj mkj commented May 1, 2024

Otherwise off-by-default features mightn't get checked properly

mkj added 2 commits May 1, 2024 20:50
This also fixes a warning in newer compilers about
unhandled switch statements.

../src/cli-readconf.c: In function ‘read_config_file’:
../src/cli-readconf.c:120:25: error: enumeration value ‘opInvalid’ not handled in switch [-Werror=switch]
  120 |                         switch (cfg_opt) {
      |                         ^~~~~~
../src/cli-readconf.c:120:25: error: enumeration value ‘opHost’ not handled in switch [-Werror=switch]
Otherwise off-by-default features mightn't get checked properly
@mkj mkj force-pushed the test/nondefaultbuild branch from 362ddc8 to 5d1e7ed Compare May 1, 2024 12:51
@mkj mkj merged commit f0616a9 into master May 1, 2024
17 checks passed
@mkj mkj deleted the test/nondefaultbuild branch May 1, 2024 13:23
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.

1 participant