[libc-commits] [libc] [libc] Add LIBC_FULL_BUILD guard to stdint_proxy.h (PR #191234)
Kewen Meng via libc-commits
libc-commits at lists.llvm.org
Thu Apr 9 11:03:12 PDT 2026
Kewen12 wrote:
Hello this PR breaks our bot. Reverting locally resolved it. Could you please fix it? Thanks!
bot: https://lab.llvm.org/buildbot/#/builders/10/builds/26209
```
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/libc/include/llvm-libc-macros/stdint-macros.h:233:9: error: '__stdint_join3' macro redefined [-Werror,-Wmacro-redefined]
233 | #define __stdint_join3(a, b, c) a##b##c
| ^
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/lib/clang/23/include/stdint.h:291:9: note: previous definition is here
291 | #define __stdint_join3(a,b,c) a ## b ## c
| ^
In file included from /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/libc/src/__support/RPC/rpc_client.cpp:9:
In file included from /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/libc/src/__support/RPC/rpc_client.h:15:
In file included from /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/libc/src/__support/CPP/type_traits.h:25:
In file included from /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/libc/src/__support/CPP/type_traits/is_arithmetic.h:12:
In file included from /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/libc/src/__support/CPP/type_traits/is_floating_point.h:15:
In file included from /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/libc/src/__support/macros/properties/types.h:14:
In file included from /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/libc/hdr/stdint_proxy.h:17:
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/libc/include/llvm-libc-macros/stdint-macros.h:289:9: error: 'INT64_C' macro redefined [-Werror,-Wmacro-redefined]
289 | #define INT64_C(v) __int_c(v, __int64_c_suffix)
```
https://github.com/llvm/llvm-project/pull/191234
More information about the libc-commits
mailing list