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

Use -Wformat in addition to -Wformat-security in add_project_arguments #41

Merged
merged 1 commit into from
Jan 20, 2020

Conversation

diabonas
Copy link
Contributor

When using meson --buildtype=plain (e.g. for packaging), compilation fails with

cc1: error: ‘-Wformat-security’ ignored without ‘-Wformat’ [-Werror=format-security]
cc1: all warnings being treated as errors

Add -Wformat to make -Wformat-security work even when not using the default meson warning configuration.

When using "meson --buildtype=plain" (e.g. for packaging), compilation
fails with

cc1: error: ‘-Wformat-security’ ignored without ‘-Wformat’ [-Werror=format-security]
cc1: all warnings being treated as errors

Add -Wformat to make -Wformat-security work even when not using the
default meson warning configuration.
@sergio-correia sergio-correia merged commit 590de27 into latchset:master Jan 20, 2020
@sergio-correia
Copy link
Collaborator

Thanks, merged.

@diabonas diabonas deleted the fix-buildtype-plain branch January 20, 2020 15:25
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