[libc-commits] [libc] [libc] Fix definition of `UINT_MAX` in limits.h (PR #95279)

Fangrui Song via libc-commits libc-commits at lists.llvm.org
Wed Jun 12 11:03:51 PDT 2024


MaskRay wrote:

What's the issue?

```
#define UINT_MAX (~0U)
_Static_assert(UINT_MAX == 0xFFFFFFFF, "");
```

compiles.

https://github.com/llvm/llvm-project/pull/95279


More information about the libc-commits mailing list