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

Cgo: Add -Wno-unknown-warning-option to avoid warnings for Clang < 15 #84

Merged
merged 1 commit into from
May 25, 2023

Conversation

lfittl
Copy link
Member

@lfittl lfittl commented May 20, 2023

In passing, add an explanatory note on why the warnings are being ignored, and that we can remove this once upgrading the parser to PG 16.

This avoids the following warning on Clang < 15:

# github.com/pganalyze/pg_query_go/v4/parser
warning: unknown warning option '-Wno-deprecated-non-prototype' [-Wunknown-warning-option]

In passing, add an explanatory note on why the warnings are being
ignored, and that we can remove this once upgrading the parser to PG 16.
@lfittl lfittl requested a review from msepga May 20, 2023 01:32
@lfittl lfittl merged commit ced0b6f into main May 25, 2023
1 check passed
@lfittl lfittl deleted the avoid-unknown-warning-option-warning branch May 25, 2023 17:00
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.

None yet

3 participants