Skip to content

v8.23 RC: 32-bit Android warning-as-error build break regression #23157

Closed

Description

@MarcelRaad

#22843 brings back a warning-as-error for 32-bit Android for the third time 😆

Originally fixed here:
06dc599#diff-bea1453c9c07e95cca43ea80411b7027fef8d453f4848a34eb211d1c176ca0d6
Then regressed here:
03cb1ff#diff-bea1453c9c07e95cca43ea80411b7027fef8d453f4848a34eb211d1c176ca0d6
Then fixed here again:
f0eacd9#diff-bea1453c9c07e95cca43ea80411b7027fef8d453f4848a34eb211d1c176ca0d6

Maybe we need to fix it more sustainably somehow?

Sorry for being late, I've just returned from vacation and am now testing the v8.23 RCs.

Originally posted by @MarcelRaad in #22843 (comment)

Activity

  1. vszakats commented on Sep 29, 2026

    @vszakats
    Member

    Can you post the error/warning?

    edit: also, which Android versions is this happening with?

  2. MarcelRaad commented on Sep 29, 2026

    @MarcelRaad
    MemberAuthor

    With v8.23.0 RC2 for Android ARMv7 and Android NDK 29, I get:

    lib/curl_fopen.c:146:24: error: implicit conversion loses integer precision: 'unsigned int' to 'mode_t' (aka 'unsigned short') [-Werror,-Wimplicit-int-conversion]
      146 |       if(fchmod(fd, sb.st_mode) == -1)
          |          ~~~~~~     ~~~^~~~~~~
    1 error generated.
    

    Also see #11313 and #12998.

  3. added a commit that references this issue on Sep 29, 2026
    be9e603
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions