Bug#1100781: Why use builtins?

Scott Ashcroft scott.ashcroft at hotmail.com
Wed Mar 19 11:50:38 GMT 2025


On Wed, 19 Mar 2025 09:48:47 +0100 Philipp Klaus Krause <pkk at spth.de>
wrote:
> What is the reason to use implementation-specific builtins?
> 
> The type-generic macro stdc_leading_zeros from stdbit.h (section
7.18.3
> of the ISO C23 standard) looks like it would be fine here.

Hi,

The upstream docs for building from source say:

"You need a C++ compiler with C++17"

but offer no further guidance.
I went for the minimum change rather than risk breaking things on
systems I can't test.
If it was just for Debian then I totally agree your solution is the
cleanest.

Cheers,
Scott



More information about the debian-science-maintainers mailing list