Skip to content

Conversation

@MarcelRaad
Copy link
Member

@MarcelRaad MarcelRaad commented Nov 17, 2025

Starting with clang 18, stable clang releases start with minor version 1.
Exclude pre-releases with minor version 0 from the compiler warning
options for that major version.

This fixes the build with Android NDK r29, which uses a prerelease
version of clang 21 that doesn't know the new options yet.

@github-actions github-actions bot added the build label Nov 17, 2025
MarcelRaad added a commit to MarcelRaad/curl that referenced this pull request Nov 17, 2025
Starting with clang 18, stable clang releases start with minor
version 1. Exclude prereleases with minor version 0 from the compiler
warning options for that major version.

This fixes the build with Android NDK r29, which uses a prerelease
version of clang 21 that doesn't know the new options yet.

Closes curl#19566
@MarcelRaad MarcelRaad force-pushed the clang_warnings_exclude_prereleases branch from 3916049 to 09a0845 Compare November 17, 2025 11:37
@vszakats
Copy link
Member

Agree, nice catch!

@vszakats
Copy link
Member

GH issues...

@vszakats
Copy link
Member

@MarcelRaad try pushing again, to trigger CI one more time?

Starting with clang 18, stable clang releases start with minor
version 1. Exclude prereleases with minor version 0 from the compiler
warning options for that major version.

This fixes the build with Android NDK r29, which uses a prerelease
version of clang 21 that doesn't know the new options yet.

Closes curl#19566
@MarcelRaad MarcelRaad force-pushed the clang_warnings_exclude_prereleases branch from 09a0845 to f2e0969 Compare November 17, 2025 12:10
@MarcelRaad
Copy link
Member Author

Looks better now. Thanks!

@vszakats vszakats closed this in e9a973c Nov 17, 2025
@vszakats
Copy link
Member

Thanks @MarcelRaad, merged!

@MarcelRaad MarcelRaad deleted the clang_warnings_exclude_prereleases branch November 17, 2025 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants