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

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 2 Feb 2011 09:45:04 +0100 (MET)

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: