8000 Fix ordering of CFLAGS for sqlite by hanefi · Pull Request #680 · dimitri/pgcopydb · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix ordering of CFLAGS for sqlite #680

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

Merged
merged 1 commit into from
Feb 21, 2024
Merged

Conversation

hanefi
Copy link
Contributor
@hanefi hanefi commented Feb 21, 2024

The CFLAGS for sqlite were being overridden by the default CFLAGS, which caused a portion of the sqlite CFLAGS to be ignored. This commit fixes the ordering of the CFLAGS so that the sqlite CFLAGS are applied after the default CFLAGS.

Particularly, we need to apply the -Wno-implicit-fallthrough flag to sqlite, as it generates a lot of warnings with the default CFLAGS on many systems that use -Wimplicit-fallthrough=3.

The CFLAGS for sqlite were being overridden by the default CFLAGS, which
caused a portion of the sqlite CFLAGS to be ignored. This commit fixes
the ordering of the CFLAGS so that the sqlite CFLAGS are applied after
the default CFLAGS.

Particularly, we need to apply the -Wno-implicit-fallthrough flag to
sqlite, as it generates a lot of warnings with the default CFLAGS on
many systems that use -Wimplicit-fallthrough=3.
@hanefi hanefi requested a review from dimitri February 21, 2024 12:05
@dimitri dimitri merged commit 298d9a4 into dimitri:main Feb 21, 2024
@hanefi hanefi deleted the fix-sqlite-warnings branch February 27, 2024 19:36
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
0