Skip to content

Build release_18.x with AOSP16 #28

@ao2

Description

@ao2

Hi,

when building the release_18.x branch with AOSP16 I noticed this error:

external/llvm-project/llvm/lib/Support/regcomp.c:281:9: error: 'INFINITY' macro redefined [-Werror,-Wmacro-redefined]
  281 | #define INFINITY        (DUPMAX + 1)
      |         ^
prebuilts/clang/host/linux-x86/clang-r547379/lib/clang/20/include/float.h:173:11: note: previous definition is here
  173 | #  define INFINITY (__builtin_inff())
      |           ^
1 error generated.

I see that this has been resolved in release_19.x by commit 32e2000

Would it be possible to cherry-pick that in the release_18.x branch?

Thanks, Antonio

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions