[haiku-commits] Re: r40349 - haiku/trunk/src/tests/kits/net/preflet/InterfacesAddOn

Alexander von Gluck<kallisti5@xxxxxxxxxxx> wrote:
> I also noticed __builtin_popcount won't work on gcc2 as it was
> introduced in gcc4.0.2.. I'll correct it. 

You might simply want to use BNetworkAddress::PrefixLength() instead - and 
since it isn't so smart to use __builtin_popcount() when it's available, you 
could even fix that, too :-)


Other related posts: