The codebase claims to conform to standard C11. However, bitset_log2 is calling __builtin_ctz that is not part of C11 standard. It's necessary to provide an implementation that conforms to the standard, and only use __builtin_ctz inside feature test macros.
The codebase claims to conform to standard C11. However,
bitset_log2
is calling__builtin_ctz
that is not part of C11 standard. It's necessary to provide an implementation that conforms to the standard, and only use__builtin_ctz
inside feature test macros.