tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Exporting ffs32/ffs64



Joerg Sonnenberger <joerg%britannica.bec.de@localhost> wrote:
> > Why do you want to export ffsl and ffsll?
> 
> GNU compatibility. They are also provided as (optional?) builtins by
> GCC. As with popcount, I consider the interface idiotic, but the cost of
> supporting them is very low (two aliases).

Is there a way to #ifdef both ffsl/ll and popcountl/ll under _GNU_SOURCE
or something similar? Also, do not recommend to use them in manual page.
Cost is low, but it would be good to avoid putting it in libc namespace.

And when we will be able to move to other compiler... *sigh* :)

-- 
Mindaugas


Home | Main Index | Thread Index | Old Index