Skip to content

fix C compiler warnings#401

Merged
vszakats merged 16 commits intocurl:masterfrom
vszakats:warn2
Oct 20, 2025
Merged

fix C compiler warnings#401
vszakats merged 16 commits intocurl:masterfrom
vszakats:warn2

Conversation

@vszakats
Copy link
Copy Markdown
Member

@vszakats vszakats commented Oct 20, 2025

Fix C compiler warnings:

  • -Wcast-qual
  • -Wdeclaration-after-statement
  • -Wmissing-noreturn
  • -Wmissing-variable-declarations
  • -Wsign-conversion (some)
  • -Wunused-macros (most)

Also:

  • cmake: enable warnings fixed in full.
  • cmake: prefer -Wextra in clang. (sync with curl.)
  • Makefile: also enable warnings fixed in full.
    (only those shared between clang/gcc)

@vszakats vszakats merged commit b85b25b into curl:master Oct 20, 2025
11 checks passed
@vszakats vszakats deleted the warn2 branch October 20, 2025 11:41
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