Skip to content

configure: silence useless clang warnings in C89 builds - #21263

Closed
vszakats wants to merge 3 commits into
curl:masterfrom
vszakats:amc89
Closed

vszakats wants to merge 3 commits into
curl:masterfrom
vszakats:amc89

Conversation

@vszakats

@vszakats vszakats commented Apr 8, 2026 •

Copy link
Copy Markdown
Member

@github-actions github-actions Bot added the CI Continuous Integration label Apr 8, 2026
@vszakats vszakats changed the title [TEST] am: c89 clang configure: silence useless clang warnings in C89 mode Apr 8, 2026
@vszakats
vszakats marked this pull request as draft April 8, 2026 01:21
@vszakats vszakats changed the title configure: silence useless clang warnings in C89 mode configure: silence useless clang warnings in C89 builds Apr 8, 2026
@vszakats
vszakats marked this pull request as ready for review April 8, 2026 01:37
@vszakats
vszakats requested a review from Copilot April 8, 2026 01:37

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Aligns the Autotools configure warning flags with existing CMake behavior by suppressing clang warnings that are noisy/pointless when building in C89/C90 mode, and adds CI coverage for an Intel clang C89 build.

Changes:

  • Autotools: when clang is used with -std=gnu89/gnu90/c89/c90, add suppressions for -Wc99-extensions and -Wcomma.
  • CI (Linux): add an “openssl intel C89 clang” job to exercise the C89+clang configuration.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
m4/curl-compilers.m4 Adds clang C89/C90-specific warning suppressions to match CMake’s behavior.
.github/workflows/linux.yml Adds a new Linux CI matrix entry to run an Intel clang C89 build.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/linux.yml
@vszakats vszakats closed this in 4c9af8b Apr 8, 2026
@vszakats
vszakats deleted the amc89 branch April 8, 2026 01:52
outcast36 pushed a commit to greearb/curl that referenced this pull request Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Continuous Integration

Development

Successfully merging this pull request may close these issues.

2 participants